Sublime Forum

For ST2 API to provide project path for use in plugins

#1

Hi, I have created a script (which I’ll post in another thread) which scans through a given directory and creates a custom sublime-completions file from all the PHP functions and parameters it finds. This is a nice quick way of providing auto complete for PHP frameworks or CMS, Drupal 6 in my case.

I’d really like to turn this into a plugin so that the script can be run from within the UI and a project based sublime-completions file created. From my understanding there is no way of telling the current project path using the API. Is this correct? If so, would you consider putting this into the API?

0 Likes