SublimeコンパイルIntel Visual Fortranプログラムの実行
SublimeはデフォルトでFortranの内容をサポートしていません.MinimalFortranプラグインがあります.インストール後に文法がハイライトされ、Buildソースプログラムができません.そこで、自分でBuild構成JsoNを書いて、記録しました.
{
"cmd": ["cmd", "/e:on", "/v:on", "/c", "ipsxe-comp-vars intel64 vs2010 && ifort ${file}"],
"file_regex": "^.*\\\\([0-9A-Za-z_]+\\.[A-Za-z0-9]+)\\(([0-9]+)\\):[ ]+error[ ]+#([0-9]+):[ ]+(.*)$",
"working_dir":"${file_path}",
"selector":"source.f ,source.for ,source.ftn ,source.f90 ,source.fpp ,source.i ,source.i90",
"encoding":"cp936",
"path":"D:\\Intel\\Composer XE 2011 SP1\\bin;${path}",
"variants":
[
{
"name": "Run",
"cmd": ["cmd", "/e:on", "/v:on", "/c", "ipsxe-comp-vars intel64 vs2010 && ifort ${file} && ${file_base_name}"]
}
]
}