Home Download Buy Blog Forum Support

SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Re: SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Postby therealkris on Tue Sep 11, 2012 11:02 pm

Can you be more specific when you refer to adding the SideBarEnhancements.json file into the Settings folder? I am not finding a Settings folder in the packages directory.
therealkris
 
Posts: 1
Joined: Tue Sep 11, 2012 10:55 pm

Re: SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Postby tito on Wed Sep 12, 2012 3:42 am

The Settings folder is located in the Packages parent folder:

.../Sublime Text 2/Packages/../Settings/
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 851
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Postby Fatbat on Sun Sep 16, 2012 6:16 pm

F12 to preview files in my browser has stopped working for me in the last couple of days. I've tried updating my packages through package control and have also manually updated SideBar, but to no avail. Hitting F12 causes a slight flicker in Sublime but the browser does not open now.

Any idea how to fix this?

Thanks.
Fatbat
 
Posts: 70
Joined: Sun Feb 19, 2012 6:54 pm

Re: SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Postby tito on Mon Sep 17, 2012 12:16 am

Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 851
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Postby tseven on Mon Sep 17, 2012 5:37 pm

In sublime text 2 version 2.0.1, Build 2217 and I assume many versions before it uses F2 for "Next bookmark".

This extension overrides it. I have to delete the shortcut every time the extension is updated.

Can you please change "side_bar_rename" shortcut to something that's not used by sublime?

Thank you.
tseven
 
Posts: 2
Joined: Fri Jun 08, 2012 3:43 pm

Re: SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Postby tito on Tue Sep 18, 2012 2:08 pm

No, F2 is rename. Sorry.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 851
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Postby Fatbat on Wed Sep 19, 2012 9:13 pm

tito wrote:https://github.com/titoBouzout/SideBarEnhancements#f12-key


I'm sorry but I don't understand this.

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:


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...

Code: Select all
{
    "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...

viewtopic.php?f=3&t=6232

So if I have...

Code: Select all
{
   "folders":
   [
      {
         "path": "/E/Work/www"
      }
   ],
   "url":"http://localhost/"
}


Do I delete these settings? What do I put in the json file now?

Thanks.
Fatbat
 
Posts: 70
Joined: Sun Feb 19, 2012 6:54 pm

Re: SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Postby Fatbat on Thu Sep 20, 2012 11:35 am

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 ?

I'm still unclear as to what to actually put in the json file.
Fatbat
 
Posts: 70
Joined: Sun Feb 19, 2012 6:54 pm

Re: SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Postby tito on Thu Sep 20, 2012 1:29 pm

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 ?

Because some people confuse the application folder with the user folder.
Is not difficult to navigate to the packages folder and then typing ".." (move one up?) and then "Settings".

Your setting should be something like this:

Code: Select all
{
    "E:\\work\\www":{
        "url_testing":"http://localhost",
        "url_production":"http://domain.tld"
    }
}
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 851
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

Postby tito on Thu Sep 20, 2012 1:33 pm

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...

No, it was not working good to everyone.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 851
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: Yahoo [Bot] and 7 guests