SublimeText / PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
MIT License
436 stars 83 forks source link

Comment-toggle for theme/color-scheme files #272

Closed michaelblyons closed 4 years ago

michaelblyons commented 4 years ago

It'd be nice to add a .tmPreferences file to toggle comments with Cmd+/ for .sublime-theme and .sublime-color-scheme files.

FichteFoll commented 4 years ago

Works for me. These should be matched by the tmPreferences file in the JavaScript package because our scopes are source.json.sublime.{theme,scheme}.

michaelblyons commented 4 years ago

https://github.com/sublimehq/Packages/commit/5ce22961f1b0386bf91edfd715d41866f39ce81a#diff-43ae7c7377aa45c8a6985cba517991ae

So maybe make a source.json.sublime one? Now I understand why I thought this was working before. 😉

michaelblyons commented 4 years ago

Oops. I'm a dummy. All I had to do was wire up the (new) JSON folder to my packages.

FichteFoll commented 4 years ago

Ah right, I forgot the package has been split recently. Either way, it will work on normal setups.