Skip to content

Commit a45a002

Browse files
committed
Add VSCode IDE Settings
1 parent 5fe2db8 commit a45a002

File tree

4 files changed

+126
-1
lines changed

4 files changed

+126
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ Session.vim
3434
tags
3535
# Persistent undo
3636
[._]*.un~
37-
.vscode/

.vscode/launch.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "(gdb) Launch",
9+
"type": "cppdbg",
10+
"request": "launch",
11+
"stopAtEntry": false,
12+
"launchCompleteCommand": "exec-run",
13+
"preLaunchTask": "${defaultBuildTask}",
14+
"MIMode": "gdb",
15+
"program": "${workspaceFolder}/build/debug/monero-wallet-gui",
16+
"linux": {
17+
"miDebuggerPath": "/usr/bin/gdb"
18+
},
19+
"osx": {
20+
"MIMode": "lldb"
21+
},
22+
"windows": {
23+
"miDebuggerPath": "C:\\msys64\\mingw64\\bin\\gdb.exe",
24+
"program": "${workspaceFolder}/build/release/bin/monero-wallet-gui.exe",
25+
"cwd": "${fileDirname}",
26+
"args": [],
27+
"environment": [],
28+
"targetArchitecture": "x64",
29+
"externalConsole": true,
30+
},
31+
"setupCommands": [{
32+
"description": "Enable pretty-printing for gdb",
33+
"text": "-enable-pretty-printing",
34+
"ignoreFailures": false
35+
}],
36+
}
37+
]
38+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"terminal.integrated.defaultProfile.windows": "MSYS2"
3+
}

.vscode/tasks.json

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"tasks": [
3+
{
4+
"type": "shell",
5+
"label": "Monero GUI Debug",
6+
"detail": "Build monero-wallet-gui for development purposes",
7+
"command": "make",
8+
"args": [
9+
"debug",
10+
"-j",
11+
{
12+
"value": "$((`nproc` > 1 ? $((`nproc` - 1)) : 1 ))",
13+
"quoting": "weak"
14+
}
15+
],
16+
"osx": {
17+
"args": [
18+
"debug-static-mac64",
19+
"-j",
20+
{
21+
"value": "$((`nproc` > 1 ? $((`nproc` - 1)) : 1 ))",
22+
"quoting": "weak"
23+
}
24+
]
25+
},
26+
"windows": {
27+
"args": [
28+
"release-win64",
29+
"-j",
30+
{
31+
"value": "$((`nproc` > 1 ? $((`nproc` - 1)) : 1 ))",
32+
"quoting": "weak"
33+
}
34+
],
35+
"options": {
36+
"env": {
37+
"MSYSTEM": "MINGW64",
38+
"CHERE_INVOKING": "1"
39+
},
40+
"shell": {
41+
"executable": "C:\\msys64\\usr\\bin\\bash.exe",
42+
"args": [
43+
"--login",
44+
"-i",
45+
"-x",
46+
"-c"
47+
]
48+
}
49+
}
50+
},
51+
"runOptions": {
52+
"instanceLimit": 1
53+
},
54+
"presentation": {
55+
"echo": true,
56+
"reveal": "always",
57+
"focus": false,
58+
"panel": "shared",
59+
"showReuseMessage": true,
60+
"clear": true
61+
},
62+
"options": {
63+
"cwd": "${workspaceFolder}"
64+
},
65+
"problemMatcher": [
66+
"$gcc"
67+
],
68+
"group": {
69+
"kind": "build",
70+
"isDefault": true
71+
}
72+
},
73+
{
74+
"type": "shell",
75+
"command": "make",
76+
"args": [
77+
"clean"
78+
],
79+
"label": "Monero GUI Clean",
80+
"detail": "Cleanup builds",
81+
"problemMatcher": [],
82+
}
83+
],
84+
"version": "2.0.0",
85+
}

0 commit comments

Comments
 (0)