sublime text3怎么运行代码

2025-03-11 04:31:50
推荐回答(2个)
回答1:

第一步。
Preferences—Key Bindings—User.
然后就跳出一个空白页面。
第二部,将以下代码键入。

[
//ie
{
"keys": ["f2"],
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe",
"extensions": ".*"
}
},
//chorme
{
"keys": ["f1"],
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
"extensions": ".*"
}
}
]

其中“keys”是指定快捷键,替换成自己想要的。
application是你浏览器在电脑上的目录地址,替换了就OK了。注意是双斜杠\\。
第三步,保存。

回答2: