Sublime Text 2 Keyboard shortcut to open file in Chrome/firefox in windows

后端 未结 4 1768
余生分开走
余生分开走 2021-01-16 17:15

I followed the instruction for windows 7 to setup chrome. No luck!

{
 \"cmd\":[\"C:\\Program Files (x86)\\Google\\Chrome\\Application\", \"$C:\\Users\\gmu\\D         


        
4条回答
  •  孤城傲影
    2021-01-16 17:59

    I was having the same problem and found this post ! My problem was fixed by just typing this:

    {
        "cmd": ["C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", "$file"]
    }
    

    Notice that double \\ solved my problem ..

    And then I saved it as Chrome.sublime-build on:

    C:\Users\YourUsername\AppData\Roaming\Sublime Text 2\Packages\User
    

提交回复
热议问题