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