+2

Reify the project file

Filipe Cabecinhas 6 years ago • updated 6 years ago 0
Please reify the project file and allow us to access it using the API.

That way, it would be easy to store per-project plugin settings (which, as far as I can tell, only seems to be possible if we try to access the view's settings), and it would allow a plugin to search for stuff only inside the project.

Even if it's just a window.active_project_dictionary() that returns the dictionary representing the JSON in the project-settings file.

To support relative directories in the project, it would also be useful to know in which directory the project file is located, otherwise relative paths would be useless.

Currently the API has no mention of project stuff and using projects and project-related stuff is something close to voodoo (yes, there is some user documentation, but no developer documentation).