1 // *** Autogenerated file - created by configure.ac ***
2 // you should save the auto-generated vs-code-templates.code-workspace to a separate file
3 // to prevent your changes from being overwritten
22 "/compile_commands.json": true,
23 "/dictionaries/": true,
24 "/helpcontent2/": true,
25 "/icon-themes/": true,
26 "/translations/": true
28 "files.watcherExclude": {
29 "/dictionaries/": true,
30 "/helpcontent2/": true,
31 "/icon-themes/": true,
32 "/translations/": true
34 "files.associations": {
35 "*.patch.[0-9]": "diff"
37 // FIXME: arguably the generator should place it in the builddir, not srcdir
38 "C_Cpp.default.compileCommands": "${workspaceFolder:srcdir}/compile_commands.json",
39 // only used if the file doesn't match anything in the compile_commands.json - aka externals
40 // libxml includes just added as example/for reference
41 "C_Cpp.default.includePath": [
42 "@WORKDIR@/UnpackedTarball/**",
43 "/usr/include/libxml2/"
45 "C_Cpp.default.browse.limitSymbolsToIncludedHeaders": true,
46 "C_Cpp.default.cppStandard": "c++17",
47 // point this to LibreOffice's version of clang-format 5.0.0,
48 // otherwise clang-format from the plugin is used, and that
49 // gives slightly different results
50 "C_Cpp.clang_format_path": "/opt/lo/bin/clang-format",
54 "gitlens.autolinks": [
57 "url": "https://bugs.documentfoundation.org/show_bug.cgi?id=<num>"
66 "detail": "runs make in builddir to update everything",
78 "label": "create compile-commands.json",
79 "detail": "runs make vim-ide-integration to create the compile-commands.json file",
86 // doesn't really depend on full make, but doesn't hurt
87 // updating the compile-commands is not needed all the time and also demonstrate
88 // how to use dependencies in tasks…
95 "problemMatcher": [] // don't ask when manually running the task
98 "label": "remove profile-dir",
99 "detail": "removes the temporary user-profile directory",
104 "@WORKDIR@/vs-code-temporary-user-profile"
120 "name": "run in debugger after make",
123 "program": "@INSTROOT@/program/soffice.bin",
125 "stopAtEntry": false,
129 // added in disabled form for convenience/as an example
130 // (proper name is just SAL_LOG),
131 // see https://docs.libreoffice.org/sal/html/sal_log.html
132 "name": "SAL_LOG_DISABLED",
133 "value": "+INFO.ucb+WARN"
136 "externalConsole": false,
140 "description": "Enable prett-printing for gdb",
141 "text": "-enable-pretty-printing",
142 "ignoreFailures": true
146 "miDebuggerPath": "/usr/libexec/gdb"
149 "program": "@INSTROOT@/MacOS/soffice",
153 "description": "load helpers for for lldb",
154 "text": "command script import ${workspaceFolder:srcdir}/solenv/lldb/libreoffice/LO.py",
155 "ignoreFailures": false
159 "preLaunchTask": "full make"
162 // FIXME: not happy here when creating the profile while running in debugger
163 // no problem passing the profile dir once it was launched outside debugger once,
164 // but clearing out the user-profile dir needs to be triggered manually
165 "name": "run in gdb with clear userprofile",
166 // "preLaunchTask": "remove profile-dir",
169 "program": "@INSTROOT@/program/soffice.bin",
171 "-env:UserInstallation=file:///@WORKDIR@/vs-code-temporary-user-profile"
173 "stopAtEntry": false,
177 "name": "SAL_LOG_DISABLED",
178 "value": "+INFO.ucb+WARN"
181 "externalConsole": false,
185 "description": "Enable pretty-printing for gdb",
186 "text": "-enable-pretty-printing",
187 "ignoreFailures": true
191 "miDebuggerPath": "/usr/libexec/gdb"
194 "program": "@INSTROOT@/MacOS/soffice",
198 "description": "load helpers for for lldb",
199 "text": "command script import ${workspaceFolder:srcdir}/solenv/lldb/libreoffice/LO.py",
200 "ignoreFailures": false