Sublime編譯執行Intel Visual Fortran程式
阿新 • • 發佈:2019-01-25
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}"] } ] }