Home Download Buy Blog Forum Support

Better delete and rename in side bar

Better delete and rename in side bar

Postby svenax on Wed Jan 18, 2012 10:06 pm

I know many of you are as annoyed as I am by the fact that the corresponding views are not updated if you rename or delete a file with the side bar menu.

It annoyed me enough to try to fix it. Here is my code. Enjoy. https://gist.github.com/1635914

In addition, I changed the New File side bar command to immediately save the new file. I prefer that behaviour, since you then get the correct syntax set right away.

It is not a full plugin, I just updated Default/side_bar.py for simplicity.

ETA: Removed on request
Last edited by svenax on Thu Jan 19, 2012 7:47 am, edited 1 time in total.
svenax
 
Posts: 150
Joined: Tue Dec 20, 2011 12:47 pm

Re: Better delete and rename in side bar

Postby tito on Thu Jan 19, 2012 12:05 am

Most of the code comes from SideBar Enhancements plugin which already provides the feature you are posting, and in a better way because you removed some special parts..

While I don't have problem with people using my code, you never requested permissions to use the code. This is a very bad use of my contribution and I'm very disappointed.. :evil:
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 854
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: Better delete and rename in side bar

Postby svenax on Thu Jan 19, 2012 7:45 am

tito wrote:While I don't have problem with people using my code, you never requested permissions to use the code. This is a very bad use of my contribution and I'm very disappointed.. :evil:


I'm sorry to hear that you are disappointed. However, the readme for my Gist clearly states that the RenameViews code comes from SideBar Git, which as I see now shares much of it's code with SideBar Enhancements. I never tried SideBar Enhancements before doing this, since it wasn't immediately apparent at a quick glance that it actually provided these anhancements. I have now installed it and it does indeed do all of this and more. I will therefore remove my Gist from GitHub.
svenax
 
Posts: 150
Joined: Tue Dec 20, 2011 12:47 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: Google [Bot] and 6 guests