tito wrote:https://github.com/titoBouzout/SideBarEnhancements#f12-key
F12 key allows you to open the current file in browser. If you want to add a url to that feature:
Open the Settings folder: .../Sublime Text 2/Packages/../Settings/
Create a file called "SideBarEnhancements.json"
Add your paths and URLs with the following structure:
{
"S:\\www\\domain.tld":{
"url_testing":"http://testing",
"url_production":"http://domain.tld"
},
"C:\\Users\\luna\\some\\domain2.tld":{
"url_testing":"http://testing1",
"url_production":"http://productiontld2"
}
}{
"folders":
[
{
"path": "/E/Work/www"
}
],
"url":"http://localhost/"
}tito wrote:The Settings folder is located in the Packages parent folder:
.../Sublime Text 2/Packages/../Settings/
The Packages parent folder is simply Roaming/Sublime Text 2, so to direct people to the Settings folder in that folder why not just say Sublime Text 2/Settings ?
{
"E:\\work\\www":{
"url_testing":"http://localhost",
"url_production":"http://domain.tld"
}
}
I simply want to open the file using localhost and I already have the settings you mentioned in this post setup in my project and they worked just fine until the other day...
Return to Plugin Announcements
Users browsing this forum: No registered users and 9 guests