1
0

Update default config

This commit is contained in:
MatMoul 2024-03-09 00:16:20 +01:00
parent 12faa87435
commit 5b70ecb8fe
3 changed files with 87 additions and 1 deletions

24
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,24 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "C/C++ Runner: Debug Session",
"type": "cppdbg",
"request": "launch",
"args": [],
"stopAtEntry": false,
"externalConsole": false,
"cwd": "/home/matmoul/Local/git/plasma-containmentactions-customdesktopmenu/src",
"program": "/home/matmoul/Local/git/plasma-containmentactions-customdesktopmenu/src/build/Debug/outDebug",
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

59
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,59 @@
{
"C_Cpp_Runner.cCompilerPath": "gcc",
"C_Cpp_Runner.cppCompilerPath": "g++",
"C_Cpp_Runner.debuggerPath": "gdb",
"C_Cpp_Runner.cStandard": "",
"C_Cpp_Runner.cppStandard": "",
"C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/VR_NR/Community/VC/Auxiliary/Build/vcvarsall.bat",
"C_Cpp_Runner.useMsvc": false,
"C_Cpp_Runner.warnings": [
"-Wall",
"-Wextra",
"-Wpedantic",
"-Wshadow",
"-Wformat=2",
"-Wcast-align",
"-Wconversion",
"-Wsign-conversion",
"-Wnull-dereference"
],
"C_Cpp_Runner.msvcWarnings": [
"/W4",
"/permissive-",
"/w14242",
"/w14287",
"/w14296",
"/w14311",
"/w14826",
"/w44062",
"/w44242",
"/w14905",
"/w14906",
"/w14263",
"/w44265",
"/w14928"
],
"C_Cpp_Runner.enableWarnings": true,
"C_Cpp_Runner.warningsAsError": false,
"C_Cpp_Runner.compilerArgs": [],
"C_Cpp_Runner.linkerArgs": [],
"C_Cpp_Runner.includePaths": [],
"C_Cpp_Runner.includeSearch": [
"*",
"**/*"
],
"C_Cpp_Runner.excludeSearch": [
"**/build",
"**/build/**",
"**/.*",
"**/.*/**",
"**/.vscode",
"**/.vscode/**"
],
"C_Cpp_Runner.useAddressSanitizer": false,
"C_Cpp_Runner.useUndefinedSanitizer": false,
"C_Cpp_Runner.useLeakSanitizer": false,
"C_Cpp_Runner.showCompilationTime": false,
"C_Cpp_Runner.useLinkTimeOptimization": false,
"C_Cpp_Runner.msvcSecureNoWarnings": false
}

View File

@ -65,10 +65,13 @@ QString CustomDesktopMenu::getDefaultConfig()
defMenuConfig += "{programs}\n";
defMenuConfig += "[end]\n";
defMenuConfig += "-\n";
defMenuConfig += "#/usr/share/applications/org.kde.dolphin.desktop\n";
defMenuConfig += "/usr/share/applications/org.kde.dolphin.desktop\n";
defMenuConfig += "/usr/share/applications/org.kde.kate.desktop\n";
defMenuConfig += "#/usr/share/applications/org.kde.kcalc.desktop\n";
defMenuConfig += "-\n";
defMenuConfig += "[menu]\tSystem\tconfigure-shortcuts\n";
defMenuConfig += "{programs}\tSettingsmenu/\n";
defMenuConfig += "-\n";
defMenuConfig += "{programs}\tSystem/\n";
defMenuConfig += "[end]\n";
defMenuConfig += "[menu]\tExit\tsystem-shutdown\n";