Wednesday, 11 September 2013

Sublime Text 3 plugin development: access own files

Sublime Text 3 plugin development: access own files

The porting guide states that:
Packages in Sublime Text 3 are able to be run from .sublime-package (i.e.,
renamed .zip files) files directly, in contrast to Sublime Text 2, which
unzipped them prior to running.
While in most changes this should lead to no differences, it is important
to keep this in mind if you are accessing files in your package.
So how do I access files in my own package? My plugin comes with some
static files that it must use.

No comments:

Post a Comment