Created
January 30, 2016 12:15
-
-
Save nekko1119/4fb9da4d65ddc5bf021e to your computer and use it in GitHub Desktop.
VSCodeの設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if "%~dpnx1" equ "" goto :eof | |
setlocal | |
set tempfile=%date:~4%%time::=% | |
set tempfile=%tempfile:/=% | |
set tempfile=%tempfile:.=% | |
set tempfile=%tempfile: =% | |
clang++ -o %tempfile%.exe "%~dpnx1" -std=c++1z | |
%tempfile%.exe | |
del %tempfile%.exe | |
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if "%~dpnx1" equ "" goto :eof | |
setlocal | |
set tempfile=%date:~4%%time::=% | |
set tempfile=%tempfile:/=% | |
set tempfile=%tempfile:.=% | |
set tempfile=%tempfile: =% | |
clang -o %tempfile%.exe "%~dpnx1" | |
%tempfile%.exe | |
del %tempfile%.exe | |
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if "%~dpnx1" equ "" goto :eof | |
setlocal | |
set tempfile=%date:~4%%time::=% | |
set tempfile=%tempfile:/=% | |
set tempfile=%tempfile:.=% | |
set tempfile=%tempfile: =% | |
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /out:%tempfile%.exe "%~dpnx1" | |
%tempfile%.exe | |
del %tempfile%.exe | |
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
if "%~dpnx1" equ "" goto :eof | |
javac %~dpnx1 | |
if %ERRORLEVEL% neq 0 goto :eof | |
java -cp %~dp1; %~n1 | |
endlocal | |
del "%~dpn1.class" | |
:eof | |
exit /b %ERRORLEVEL% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if "%~dpnx1" equ "" goto :eof | |
ruby "%~dpnx1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if "%~dpnx1" equ "" goto :eof | |
scala "%~dpnx1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.renderWhitespace": true, | |
"editor.insertSpaces": "space", | |
"editor.fontSize": 15, | |
"editor.fontFamily": "Consolas,Meiryo", | |
"editor.wrappingColumn": 0, | |
"runner.languageMap": { | |
"c": "C:/VisualCodeRunner/crun.bat", | |
"cpp": "C:/VisualCodeRunner/cpprun.bat", | |
"java": "C:/VisualCodeRunner/javarun.bat", | |
"csharp": "C:/VisualCodeRunner/csrun.bat", | |
"scala": "C:/VisualCodeRunner/scalarun.bat", | |
"ruby": "C:/VisualCodeRunner/rubyrun.bat" | |
}, | |
"runner.extensionMap": { | |
"scala": "scala" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment