ctrl + shift + P >> Preferences: Open Current Profile Setting (JSON)
20230719
CODE RUNNER SETTING
"code-runner.executorMap": {
"python": "set PYTHONIOENCODING=utf8 && cd $dir && $pythonPath -u $fullFileName",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"csharp": "cd $dir && dotnet run $fileName",
},
For MacOS
"code-runner.executorMap": {
"python": "$pythonPath -u $fullFileName"
},
"code-runner.clearPreviousOutput": true,
"code-runner.showExecutionMessage": false,
https://youtu.be/06I63_p-2A4?t=4323
https://www.youtube.com/watch?v=-nh9rCzPJ20
"editor.minimap.maxColumn": 70,
"editor.codeLensFontSize": 12,
"editor.fontSize": 20,
"editor.fontFamily": "d2coding, Consolas, 'Courier New', monospace",
"debug.console.fontSize": 13,
"debug.console.fontFamily": "d2coding, Consolas",
"terminal.integrated.fontSize": 18,
"[Log]": {
"editor.fontSize": 12
},
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"code-runner.executorMapByGlob": {
"pom.xml": "cd $dir && mvn clean package"
},
"code-runner.runInTerminal": false,
"code-runner.showExecutionMessage": false,
"code-runner.executorMap": {
"python": "$pythonPath -u $fullFileName",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"csharp": "cd $dir && dotnet run $fileName"
},
"code-runner.fileDirectoryAsCwd": false,
_
반응형