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 "mhutchie.git-graph",
13 "Gruntfuggly.todo-tree",
14 "bbenoist.QML",
15 "ms-vscode.cmake-tools"
16 ]
17 },
18 "settings": {
19 "files.trimTrailingWhitespace": true,
20 "editor.formatOnSave": true,
21 "C_Cpp.autocompleteAddParentheses": true,
22 "clangd.arguments": [
23 "-header-insertion=never",
24 "--clang-tidy=false"
25 ],
26 "todo-tree.tree.scanMode": "workspace only",
27 "todo-tree.tree.disableCompactFolders": false,
28 "todo-tree.tree.showBadges": true,
29 "todo-tree.general.tags": [
30 "TODO"
31 ],
32 "testMate.cpp.test.executables": "{build-dev}/**/*{tst}*",
33 "todo-tree.filtering.excludeGlobs": [
34 "**/ECM",
35 "**/3rdparty"
36 ],
37 "cmake.copyCompileCommands": "${workspaceFolder:kddockwidgets}/compile_commands.json",
38 "cmake.automaticReconfigure": false,
39 "files.insertFinalNewline": true,
40 "files.associations": {
41 "*.code-workspace.template": "json"
42 }
43 },
44 "launch": {
45 "version": "0.2.0",
46 "configurations": [
47 {
48 "name": "Current Target (LLDB Linux)",
49 "type": "lldb",
50 "request": "launch",
51 "program": "${command:cmake.launchTargetPath}",
52 "args": [],
53 "cwd": "${command:cmake.buildDirectory}",
54 "env": {},
55 "gen.os": "linux",
56 "@@{linux_lldb_printers}": ""
57 },
58 {
59 "name": "Current Target (LLDB macOS)",
60 "type": "lldb",
61 "request": "launch",
62 "program": "${command:cmake.launchTargetPath}",
63 "args": [],
64 "cwd": "${command:cmake.buildDirectory}",
65 "env": {
66 "KDDW_TEST_FRONTEND": "1"
67 },
68 "gen.os": "macos",
69 "sourceMap": {
70 "/Users/qt/work/qt": "${QT_INSTALL}/../Src"
71 },
72 "initCommands": [
73 "command script import \"${QT_SDK_INSTALL}/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py\""
74 ]
75 },
76 {
77 "name": "Example via Wayland",
78 "type": "lldb",
79 "request": "launch",
80 "program": "kwin_wayland",
81 "args": [
82 "--width",
83 "1600",
84 "--height",
85 "1600",
86 "${command:cmake.launchTargetPath} -platform wayland"
87 ],
88 "cwd": "${command:cmake.buildDirectory}",
89 "gen.os": "linux",
90 "@@{linux_lldb_printers}": ""
91 },
92 {
93 "name": "Current Target (VS)",
94 "type": "cppvsdbg",
95 "request": "launch",
96 "program": "${command:cmake.launchTargetPath}",
97 "args": [],
98 "cwd": "${command:cmake.buildDirectory}",
99 "gen.os": "windows",
100 "visualizerFile": "${workspaceFolder}/qt6.natvis",
101 "sourceFileMap": {
102 "C:/work/build/qt5_workdir/w/s": "${QT_INSTALL}/../Src",
103 "Q:/qt5_workdir/w/s": "${QT_INSTALL}/../Src",
104 "C:/Users/qt/work/install": "${QT_INSTALL}/../Src",
105 "C:/Users/qt/work/qt": "${QT_INSTALL}/../Src"
106 }
107 }
108 ]
109 },
110 "tasks": {
111 "version": "2.0.0",
112 "tasks": [
113 {
114 "gen.os": "linux",
115 "label": "Run current target under valgrind",
116 "command": "/usr/bin/valgrind",
117 "type": "shell",
118 "args": [
119 "${command:cmake.launchTargetPath}"
120 ],
121 "presentation": {
122 "reveal": "always"
123 },
124 "options": {
125 "cwd": "${command:cmake.buildDirectory}"
126 },
127 "problemMatcher": []
128 },
129 {
130 "label": "Run Qt Assistant",
131 "type": "shell",
132 "command": "assistant",
133 "problemMatcher": []
134 },
135 {
136 "label": "Run Qt Designer",
137 "type": "shell",
138 "command": "designer",
139 "problemMatcher": []
140 }
141 ]
142 },
143 "gen.globals": {
144 "linux_lldb_printers": {
145 "sourceMap": {
146 "/home/qt/work/qt": "${QT_INSTALL}/../Src"
147 },
148 "initCommands": [
149 "command script import ${QT_SDK_INSTALL}/Tools/QtCreator/share/qtcreator/debugger/lldbbridge.py"
150 ]
151 }
152 }
153 }