Add VSCode IDE Settings

This commit is contained in:
Elijah Lopez 2023-01-06 15:08:49 -05:00
parent 48393db2c7
commit 35a6c238f4
3 changed files with 128 additions and 0 deletions

40
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,40 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"stopAtEntry": false,
"launchCompleteCommand": "exec-run",
"preLaunchTask": "${defaultBuildTask}",
"MIMode": "gdb",
"program": "${workspaceFolder}/build/debug/bin/monero-wallet-gui",
"cwd": "${workspaceFolder}",
"linux": {
"miDebuggerPath": "/usr/bin/gdb"
},
"osx": {
"MIMode": "lldb"
},
"windows": {
"miDebuggerPath": "C:\\msys64\\mingw64\\bin\\gdb.exe",
"program": "${workspaceFolder}/build/release/bin/monero-wallet-gui.exe",
"args": [],
"environment": [],
"targetArchitecture": "x64",
"externalConsole": true,
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": false
}
],
}
]
}

3
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,3 @@
{
"terminal.integrated.defaultProfile.windows": "MSYS2"
}

85
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,85 @@
{
"tasks": [
{
"type": "shell",
"label": "Monero GUI Debug",
"detail": "Build monero-wallet-gui for development purposes",
"command": "make",
"args": [
"debug",
"-j",
{
"value": "$((`nproc` > 1 ? $((`nproc` - 1)) : 1 ))",
"quoting": "weak"
}
],
"osx": {
"args": [
"debug-static-mac64",
"-j",
{
"value": "$((`nproc` > 1 ? $((`nproc` - 1)) : 1 ))",
"quoting": "weak"
}
]
},
"windows": {
"args": [
"release-win64",
"-j",
{
"value": "$((`nproc` > 1 ? $((`nproc` - 1)) : 1 ))",
"quoting": "weak"
}
],
"options": {
"env": {
"MSYSTEM": "MINGW64",
"CHERE_INVOKING": "1"
},
"shell": {
"executable": "C:\\msys64\\usr\\bin\\bash.exe",
"args": [
"--login",
"-i",
"-x",
"-c"
]
}
}
},
"runOptions": {
"instanceLimit": 1
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
},
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "shell",
"command": "make",
"args": [
"clean"
],
"label": "Monero GUI Clean",
"detail": "Cleanup builds",
"problemMatcher": [],
}
],
"version": "2.0.0",
}