0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-30 15:56:27 +00:00
OI-codes/.vscode/settings.json
2022-07-23 22:27:19 +08:00

21 lines
964 B
JSON

{
"go.formatTool": "goformat",
"go.formatFlags": ["-style", "indent=4"],
"code-runner.fileDirectoryAsCwd": true,
"code-runner.runInTerminal": true,
"code-runner.executorMap": {
"c": "gcc $fileName -o $fileNameWithoutExt.exe -O2 -lm && ./$fileNameWithoutExt.exe",
"cpp": "g++ --std=c++14 $fileName -o $fileNameWithoutExt.exe -O2 -lm -I \"$(git rev-parse --show-toplevel)/includes/testlib\" -I \"$(git rev-parse --show-toplevel)/includes/ac-library\" -fsanitize=address,undefined -fno-ms-extensions -Wall && ./$fileNameWithoutExt.exe",
"python": "python -u $fileName",
"go": "go run $fileName",
"javascript": "node $fileName",
"typescript": "ts-node $fileName",
"rust": "rustc $fileName -o $fileNameWithoutExt.exe && ./$fileNameWithoutExt.exe"
},
"git.ignoredRepositories": [
"./includes/testlib",
"./includes/ac-library",
"./includes/ac-library/*"
],
}