Sublime Forum

Add 'Project' to API docs

#1

JPS,

Could you add the API for the ‘Project’ class to the online docs? I dug into one of Subliminator’s plugins to track it down, but it would be nice to at least have a list of the methods are for a reference.

Looks like I might be taking over support for his SearchInFiles and Ctags plugins btw.

Greg

0 Likes

#2

Project API support is still a bit up in the air. As an interim measure, you can list what’s currently available by doing a dir(window.project()) in the console. In short, there are 3 methods available on the project object, fileName(), mountPoints() and options(). mountPoints() especially is liable to change in the future.

0 Likes

#3

Cool, thanks for the info. Let me know if mountPoints() changes, since the SearchInFiles plugin uses that.

0 Likes