Home Download Buy Blog Forum Support

Add 'Project' to API docs

Add 'Project' to API docs

Postby willi297 on Tue Jan 12, 2010 7:17 pm

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
Greg Williams
Atomic Embedded, USA
http://atomicembedded.com
willi297
 
Posts: 121
Joined: Wed Nov 18, 2009 8:29 pm
Location: Grand Rapids, MI, USA

Re: Add 'Project' to API docs

Postby jps on Wed Jan 13, 2010 12:33 pm

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
Code: Select all
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.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Add 'Project' to API docs

Postby willi297 on Thu Jan 14, 2010 7:58 pm

Cool, thanks for the info. Let me know if mountPoints() changes, since the SearchInFiles plugin uses that.
Greg Williams
Atomic Embedded, USA
http://atomicembedded.com
willi297
 
Posts: 121
Joined: Wed Nov 18, 2009 8:29 pm
Location: Grand Rapids, MI, USA


Return to Plugin Development

Who is online

Users browsing this forum: mattst and 4 guests