Home Download Buy Blog Forum Support

project manager workaround

project manager workaround

Postby tgkeul on Tue Dec 30, 2008 1:44 pm

As I am missing a project manager I found a usable though not very comfortable workaround by doing it by hand.

Replace %APPDATA% with the full path, i.e. "C:\Dokumente und Einstellungen\Thomas\Anwendungsdaten"
Replace projectname, project_directory etc. with appropriate values

What to do
  • goto "%APPDATA%\Sublime Text\Packages\user"
  • create file "projectname.sublime-project"
  • edit file "%APPDATA%\Sublime Text\Packages\Default\Main.sublime-menu"

example project file format
Code: Select all
<project>
   <mount name= "projectname" dir="project_directory" direxclude=".svn"/>
   <mount name="sub_projectdirectory" dir="project_directory\sub_projectdirectory" exclude="*.bak,*.tmp"/>
   <mount name="database" dir="project_directory\sql" include="*.sql"/>
</project>

Possible arguments I detected:

  • expand="true"
  • flat="true"
  • include="*.sql"
  • exclude="*.bak"
  • direxclude=".svn"
  • stripExtensions="true"

supplement for Main.sublime-menu
Code: Select all
   <menu caption="Projects">
      <item caption="projectname" command="openProject Packages/User/projectname.sublime-project"/>
   </menu>


Have fun
/tk
Last edited by tgkeul on Tue Dec 30, 2008 8:47 pm, edited 1 time in total.
tgkeul
 
Posts: 140
Joined: Tue Dec 02, 2008 9:35 pm

Re: project manager workaround

Postby vim on Tue Dec 30, 2008 8:10 pm

thanks, nice!
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm


Return to Plugin Announcements

Who is online

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