Debian Codegraph @

code.code-workspace.template

raw
1 {
2 "folders": [
3 {
4 "name": "kddockwidgets",
5 "path": "."
6 }
7 ],
8 "extensions": {
9 "recommendations": [
10 "vadimcn.vscode-lldb",
11 "llvm-vs-code-extensions.vscode-clangd",
12 "Dart-Code.dart-code",
13 "Dart-Code.flutter",
14 "mhutchie.git-graph",
15 "Gruntfuggly.todo-tree",
16 "bbenoist.QML",
17 "ms-vscode.cmake-tools"
18 ]
19 },
20 "settings": {
21 "files.trimTrailingWhitespace": true,
22 "editor.formatOnSave": true,
23 "C_Cpp.autocompleteAddParentheses": true,
24 "clangd.arguments": [
25 "-header-insertion=never",
26 "--clang-tidy=false"
27 ],
28 "todo-tree.tree.scanMode": "workspace only",
29 "todo-tree.tree.disableCompactFolders": false,
30 "todo-tree.tree.showBadges": true,
31 "todo-tree.general.tags": [
32 "TODO"
33 ],
34 "testMate.cpp.test.executables": "{build-dev}/**/*{tst}*",
35 "todo-tree.filtering.excludeGlobs": [
36 "**/ECM",
37 "**/3rdparty"
38 ],
39 "cmake.copyCompileCommands": "${workspaceFolder:kddockwidgets}/compile_commands.json",
40 "cmake.automaticReconfigure": false,
41 "files.insertFinalNewline": true,
42 "files.associations": {
43 "*.code-workspace.template": "json"
44 }
45 },
46 "launch": {
47 "version": "0.2.0",
48 "configurations": [
49 {
50 "name": "Current Target (LLDB Linux)",
51 "type": "lldb",
52 "request": "launch",
53 "program": "${command:cmake.launchTargetPath}",
54 "args": [],
55 "cwd": "${command:cmake.buildDirectory}",
56 "env": {},
57 "gen.os": "linux",
58 "@@{linux_lldb_printers}": ""
59 },
60 {
61 "name": "Current Target (LLDB macOS)",
62 "type": "lldb",
63 "request": "launch",
64 "program": "${command:cmake.launchTargetPath}",
65 "args": [],
66 "cwd": "${command:cmake.buildDirectory}",
67 "env": {
68 "KDDW_TEST_FRONTEND": "1"
69 },
70 "gen.os": "macos",
71 "sourceMap": {
72 "/Users/qt/work/qt": "${QT_INSTALL}/../Src"
73 },
74 "initCommands": [
75 "command script import \"${QT_SDK_INSTALL}/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py\""
76 ]
77 },
78 {
79 "name": "Example via Wayland",
80 "type": "lldb",
81 "request": "launch",
82 "program": "kwin_wayland",
83 "args": [
84 "--width",
85 "1600",
86 "--height",
87 "1600",
88 "${command:cmake.launchTargetPath} -platform wayland"
89 ],
90 "cwd": "${command:cmake.buildDirectory}",
91 "gen.os": "linux",
92 "@@{linux_lldb_printers}": ""
93 },
94 {
95 "name": "Current Target (VS)",
96 "type": "cppvsdbg",
97 "request": "launch",
98 "program": "${command:cmake.launchTargetPath}",
99 "args": [],
100 "cwd": "${command:cmake.buildDirectory}",
101 "gen.os": "windows",
102 "visualizerFile": "${workspaceFolder}/qt6.natvis",
103 "sourceFileMap": {
104 "C:/work/build/qt5_workdir/w/s": "${QT_INSTALL}/../Src",
105 "Q:/qt5_workdir/w/s": "${QT_INSTALL}/../Src",
106 "C:/Users/qt/work/install": "${QT_INSTALL}/../Src",
107 "C:/Users/qt/work/qt": "${QT_INSTALL}/../Src"
108 }
109 },
110 {
111 "name": "Flutter attach",
112 "request": "attach",
113 "type": "dart",
114 "packages": "tests/flutter_tests_embedder/.dart_tool/package_config.json",
115 "vmServiceUri": "${command:dart.promptForVmService}",
116 "gen.os": "linux"
117 },
118 {
119 "name": "Flutter test (dart)",
120 "request": "launch",
121 "type": "dart",
122 "flutterMode": "debug",
123 "cwd": "${workspaceFolder:kddockwidgets}/tests/flutter_tests_embedder/",
124 "deviceId": "kddw_test_gltf_embedder",
125 "args": [
126 "-v"
127 ],
128 "gen.os": "linux"
129 },
130 {
131 "name": "Flutter example (dart)",
132 "request": "launch",
133 "type": "dart",
134 "flutterMode": "debug",
135 "cwd": "${workspaceFolder:kddockwidgets}/examples/flutter",
136 "deviceId": "linux",
137 "gen.os": "linux"
138 },
139 {
140 "name": "Flutter example (native)",
141 "request": "launch",
142 "type": "lldb",
143 "program": "${workspaceFolder:kddockwidgets}/examples/flutter/build/linux/x64/debug/bundle/kddockwidgets_flutter_example",
144 "cwd": "${workspaceFolder:kddockwidgets}",
145 "gen.os": "linux"
146 },
147 {
148 "name": "Flutter example (native,wait)",
149 "request": "launch",
150 "type": "lldb",
151 "program": "${workspaceFolder:kddockwidgets}/examples/flutter/build/linux/x64/debug/bundle/kddockwidgets_flutter_example",
152 "cwd": "${workspaceFolder:kddockwidgets}",
153 "args": [
154 "--wait"
155 ],
156 "gen.os": "linux"
157 }
158 ]
159 },
160 "tasks": {
161 "version": "2.0.0",
162 "tasks": [
163 {
164 "gen.os": "linux",
165 "label": "Run current target under valgrind",
166 "command": "/usr/bin/valgrind",
167 "type": "shell",
168 "args": [
169 "${command:cmake.launchTargetPath}"
170 ],
171 "presentation": {
172 "reveal": "always"
173 },
174 "options": {
175 "cwd": "${command:cmake.buildDirectory}"
176 },
177 "problemMatcher": []
178 },
179 {
180 "label": "Run Qt Assistant",
181 "type": "shell",
182 "command": "assistant",
183 "problemMatcher": []
184 },
185 {
186 "label": "Run Qt Designer",
187 "type": "shell",
188 "command": "designer",
189 "problemMatcher": []
190 }
191 ]
192 },
193 "gen.globals": {
194 "linux_lldb_printers": {
195 "sourceMap": {
196 "/home/qt/work/qt": "${QT_INSTALL}/../Src"
197 },
198 "initCommands": [
199 "command script import ${QT_SDK_INSTALL}/Tools/QtCreator/share/qtcreator/debugger/lldbbridge.py"
200 ]
201 }
202 }
203 }