Sublime Forum

Saving a project from the API

#1

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 =)

0 Likes

#2

Project files are just json files, so shouldn’t be too hard to create something manual if there’s no API for it :smile:

0 Likes

#3

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).

0 Likes