Skip to content

Commit

Permalink
Add VSCode IDE Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
elibroftw committed Dec 6, 2022
1 parent 5fe2db8 commit a45a002
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ Session.vim
tags
# Persistent undo
[._]*.un~
.vscode/
38 changes: 38 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
// 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/monero-wallet-gui",
"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",
"cwd": "${fileDirname}",
"args": [],
"environment": [],
"targetArchitecture": "x64",
"externalConsole": true,
},
"setupCommands": [{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": false
}],
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"terminal.integrated.defaultProfile.windows": "MSYS2"
}
85 changes: 85 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -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",
}

0 comments on commit a45a002

Please sign in to comment.