Home Download Buy Blog Forum Support

Saving a project from the API

Saving a project from the API

Postby Kor on Tue May 29, 2012 1:51 pm

Hi. I'm developing a plugin for Android project management, which includes (at this moment, at least) just a few commands to open the SDK and the Devices GUIs, compiling a project and a rudimentary create project command. It works great, but it would also be cool to open a new window with the desired project folder on the sidebar, plus saving it as a sublime-project. I'm fairly sure the first one is possible, but looking at the API I can't see anything about saving a project. Is there a way?

Thanks in advance =)
Hey! I made Andrew, the Android plugin development!
Kor
 
Posts: 6
Joined: Tue May 29, 2012 9:09 am

Re: Saving a project from the API

Postby quarnster on Tue May 29, 2012 4:12 pm

Project files are just json files, so shouldn't be too hard to create something manual if there's no API for it :)
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: Saving a project from the API

Postby Kor on Tue May 29, 2012 5:14 pm

Hi quarnster, thanks for answering.

However, don't you need to add that project file to sublime text preferences or so, so it can add the project to recent projects or switch project menu? I'm just wondering, I didn't try this (yet).
Hey! I made Andrew, the Android plugin development!
Kor
 
Posts: 6
Joined: Tue May 29, 2012 9:09 am


Return to Plugin Development

Who is online

Users browsing this forum: Exabot [Bot], Majestic-12 [Bot] and 1 guest