I’m sorry but I don’t understand this.
[quote]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:[/quote]
I have to assume that …/Sublime Text 2/Packages/…/Settings/ means:
C:\Users\MyName\AppData\Roaming\Sublime Text 2\Packages\SideBarEnhancements
There isn’t a settings folder in there, so I created one and added the SideBarEnhancements.json file.
I don’t know what to put in these settings though…
{
"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"
}
}
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…
So if I have…
[code]{
“folders”:
{
"path": "/E/Work/www"
}
],
"url":"http://localhost/"
}[/code]
Do I delete these settings? What do I put in the json file now?
Thanks.