0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-24 01:28:49 +00:00
OI-codes/.vscode/settings.json

21 lines
983 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 -Wno-unused-result && ./$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/*"
],
}