I have on project that is outside of htdocs
Now when I tried to open in browser from Sublime text 3 with **Alt+ F12 or F12 then it opens in chrome with b] file:///physical/location/projectpath URI instead of ** http://localhost:3000
Below packages installed on sublime text 3, checked Key settings, Edit project URL settings to open in browser done but no luck
taken help from this link :http://www.hongkiat.com/blog/preview-in-localhost/
SidebarEnhancement
Project-Manager
FileKeyConflicts
set Project URl settings from ** Project > Edit Project**
/home/keshav/.config/sublime-text-3/Packages/User/Projects/justJuice.sublime-project
[code]{
“folders”:
{
"follow_symlinks": true,
"path": "/home/keshav/justJuice"
}
],
"/home/keshav/justJuice": {
"url_testing": "http://localhost:3000/",
"url_production":"http://127.0.0.1:3000/"
},
"":{
"url_testing":"http://localhost:3000/",
"url_production":"http://127.0.0.1:3000/"
}
}[/code]
here is Key binding files Preferences > Package Setting > Side Bar > Key Bindings – Users
/home/keshav/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap
{ "keys": "f12"],
"command": "side_bar_open_in_browser" ,
"args":{"paths":], "type":"testing", "browser":"chrome"}
},
{ "keys": "alt+f12"],
"command": "side_bar_open_in_browser",
"args":{"paths":], "type":"production", "browser":"chrome"}
},
.....
Note : I have many other projects ( saved as different project in ST3) which opens quite OK in chrome with http://localhost/project using F12 , But only this project is not running.