0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-05 08:18:47 +00:00
OI-codes/.vscode/settings.json
2022-07-23 22:18:45 +08:00

20 lines
929 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"
],
}