+1

API for checking resource files in current or other plugin.

Xpol Wan 11 år siden opdateret af Examples 6 år siden 2

I suggest that we should have API for checking resource files in current or other plugin is exist.

It is easy easy with os.path.isfile() when in ST2. But in ST3 the plugin may packed in a .sublime-package. Currently we only have find_resources() which is very limited (can only match file name part).

Maybe some API like:

sublime.resource_exists("Packages/<Plugin Name>/resources/name.ext")


json-technology and websites and information examples mobile apps mobile websites mobile banking mobile websites mobile 

Suwanpos-the position-webappa

Kundesupport af UserEcho