mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Add example vscode files
This commit is contained in:
parent
bd296364d3
commit
3dd89ec0a7
4 changed files with 34 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -13,3 +13,6 @@ mono_crash.*
|
||||||
|
|
||||||
# Emscripten-specific ignores
|
# Emscripten-specific ignores
|
||||||
.emcache/
|
.emcache/
|
||||||
|
|
||||||
|
# IDE-specific ignores
|
||||||
|
.vscode
|
||||||
|
|
2
misc/vscode/readme.txt
Normal file
2
misc/vscode/readme.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Example vscode files.
|
||||||
|
Could be placed in a .vscode directory at the root of this repo, but paths may need to be modified.
|
5
misc/vscode/settings.json
Normal file
5
misc/vscode/settings.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"clang-format.executable": "/run/current-system/sw/bin/clang-format",
|
||||||
|
"nixEnvSelector.nixShellConfig": "NOT_MODIFIED_ENV"
|
||||||
|
}
|
24
misc/vscode/tasks.json
Normal file
24
misc/vscode/tasks.json
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
|
// for the documentation about the tasks.json format
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "build",
|
||||||
|
"type": "shell",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/addons/godot_xterm/native",
|
||||||
|
},
|
||||||
|
"command": "nix-shell",
|
||||||
|
"args": [
|
||||||
|
"-I",
|
||||||
|
"nixpkgs=~/nixpkgs",
|
||||||
|
"-p",
|
||||||
|
"scons",
|
||||||
|
"--run",
|
||||||
|
"./build.sh"
|
||||||
|
],
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue