2020-08-01 14:18:49 +08:00
|
|
|
{
|
2022-06-08 11:09:22 +08:00
|
|
|
"go.formatTool": "goformat",
|
2022-06-08 14:15:04 +08:00
|
|
|
"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",
|
2022-10-01 13:38:02 +08:00
|
|
|
"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",
|
2022-06-08 14:15:04 +08:00
|
|
|
"python": "python -u $fileName",
|
|
|
|
"go": "go run $fileName",
|
|
|
|
"javascript": "node $fileName",
|
|
|
|
"typescript": "ts-node $fileName",
|
|
|
|
"rust": "rustc $fileName -o $fileNameWithoutExt.exe && ./$fileNameWithoutExt.exe"
|
|
|
|
},
|
2022-07-23 22:18:45 +08:00
|
|
|
"git.ignoredRepositories": [
|
|
|
|
"./includes/testlib",
|
2022-07-23 22:27:19 +08:00
|
|
|
"./includes/ac-library",
|
|
|
|
"./includes/ac-library/*"
|
2022-07-23 22:18:45 +08:00
|
|
|
],
|
2022-06-08 11:09:22 +08:00
|
|
|
}
|