Sublime Forum

Plugin example for reading & writing JSON?

#1

Does anyone know a plugin that reads & writes to JSON?

I’m looking to replicate SublimeText’s ignored_packages functionality for one of my plugins & could use an implementation reference with working code.

Basically, my plugin loads all existing custom-completions files and adds the contents to on_query_completions.  I’d like to provide an easy way for users to enable or disable individual custom-completions files.

Edit:

Maybe nevermind… I just realized that PackageControl manages the ignored_packages list, not SublimeText.

Looking into Package Control\package_control\package_disabler.py now.

0 Likes