Home Download Buy Blog Forum Support

How to grab the project_path/working_dir

How to grab the project_path/working_dir

Postby atomi on Mon Feb 28, 2011 9:00 pm

I'd like to use these paths for a sublime_plugin.TextCommand plugin.

Thanks.
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US

Re: How to grab the project_path/working_dir

Postby jps on Tue Mar 01, 2011 12:52 am

Project path isn't exposed yet, unfortunately. The only option for the moment is to get the path of the current file, via view view.file_name().
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: How to grab the project_path/working_dir

Postby atomi on Tue Mar 01, 2011 12:57 am

Well okay.
I wanted to make a menu item that starts an appengine dev server.

command: dev_appserver.cmd /path/to/war

Hopefully that'll be possible soon.
Thanks.
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US


Return to Plugin Development

Who is online

Users browsing this forum: Majestic-12 [Bot] and 5 guests