I was wondering if anyone could tell me how to make it so that sublime text 3 automatically updates the sidebar when i add a new folder/file to the current project in finder
I'm using Windows, so not sure if my solution is relevant to the exact question, but since I found this on Google, I figured it might just help somebody. My problem was specifically with the SideBarEnhancements plugin.
%HOMEDRIVE%%HOMEPATH%\AppData\Roaming\Sublime Text 3
(Win+R, paste that path, enter);SideBarEnhancements
to something else and then back to its original name;IF the dumb solution has not worked, there is no point in following on.
However, if it worked, you can automate the process.
Open %HOMEDRIVE%%HOMEPATH%\.bashrc
, or in other words: User\.bashrc
(create the file if you don't have it);
Paste the following at the end of the file (preferably on a new line):
touchme() {
echo 'Killing Sublime Text process..';
taskkill -IM "sublime_text.exe";
cd ~/AppData/Roaming/Sublime\ Text\ 3/Packages;
touch SideBarEnhancements;
echo 'SideBarEnhancements folder touched;';
echo 'Returning to original directory..';
cd -;
echo 'Reopening Sublime Text..';
"/L/Program Files/Sublime Text 3/sublime_text.exe"&
}
sublime_text.exe
(last line of the function);source ~/.bashrc
and go to 6;touchme
without any brackets;touchme
command for something else, or simply don't like it, feel completely free to rename the function (I just found it the easiest to write and remember :P).I guess the code above can be adapted for Unix systems, too, with some small tweaks.