Skip to content

Commit

Permalink
Add .vscode properties
Browse files Browse the repository at this point in the history
  • Loading branch information
cathery committed Dec 8, 2019
1 parent 677f5cd commit 1985319
Show file tree
Hide file tree
Showing 4 changed files with 175 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ buildSysmodule/*
*.nsp
*.npdm
*.nso
.vscode
*.code-workspace
*.flag
*.rar
Expand Down
26 changes: 26 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"configurations": [
{
"name": "AArch64 libnx",
"includePath": [
"${workspaceFolder}/build",
"${DEVKITPRO}/devkitA64/lib/gcc/aarch64-none-elf/*/include/",
"${DEVKITPRO}/devkitA64/aarch64-none-elf/include/",
"${DEVKITPRO}/portlibs/switch/include/",
"${DEVKITPRO}/libnx/include/",
"ControllerUSB/include",
"SwitchUSB/include",
"inih/"
],
"defines": [
"SWITCH",
"__SWITCH__"
],
"compilerPath": "${DEVKITPRO}/devkitA64/bin/aarch64-none-elf-g++",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}
52 changes: 52 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"files.associations": {
"array": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"cstdarg": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"unordered_map": "cpp",
"vector": "cpp",
"exception": "cpp",
"fstream": "cpp",
"initializer_list": "cpp",
"iosfwd": "cpp",
"istream": "cpp",
"limits": "cpp",
"new": "cpp",
"optional": "cpp",
"ostream": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"type_traits": "cpp",
"tuple": "cpp",
"typeinfo": "cpp",
"utility": "cpp",
"atomic": "cpp",
"chrono": "cpp",
"cstddef": "cpp",
"ctime": "cpp",
"deque": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"memory": "cpp",
"memory_resource": "cpp",
"numeric": "cpp",
"random": "cpp",
"ratio": "cpp",
"string": "cpp",
"thread": "cpp"
},
"C_Cpp.dimInactiveRegions": true
}
97 changes: 97 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build Sysmodule",
"type": "shell",
"promptOnClose": true,
"command": "make sysmodule -j8",
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": {
"owner": "cpp",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build Applet",
"type": "shell",
"promptOnClose": true,
"command": "make applet -j8",
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": {
"owner": "cpp",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Clean Applet",
"type": "shell",
"promptOnClose": true,
"command": "make cleanApplet -j8",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": {
"owner": "cpp",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
},
{
"label": "Clean Sysmodule",
"type": "shell",
"promptOnClose": true,
"command": "make cleanSysmodule -j8",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": {
"owner": "cpp",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
}
]
}

0 comments on commit 1985319

Please sign in to comment.