The plugin is also watching the tmTheme file that was opened
I can't edit the tmTheme file because the plugin is watching it. Whenever I click on something to edit, it will go looking for its scope.
Same here. Did you ever figure it out?
@lozeone Kind of. You have to enable & disable the plugin with keeping another copy of your scheme file open. It's a hassle to work with.
Do this: Tools > Developer > New Plugin:
import sublime, sublime_plugin
class ScopeToClipboardCommand(sublime_plugin.TextCommand):
def run(self, edit):
sublime.set_clipboard(self.view.scope_name(self.view.sel()[0].b))
Preferences > Key Bindings:
[{ "keys": ["shift+alt+command+p"], "command": "scope_to_clipboard" }]
Now, when you select something, just click shift+alt+command+p and you'll get the scope in your clipboard. Open your theme file and look for it.
@lozeone @cdes @biomechanique @LeonardoGentile @Kristinita @hellolake This plugin became finally usable. I fixed the bug described in this issue. The tmTheme is no longer watched. No annoying jumping around inside that file anymore.
I also did a major clean up of the code.
@bobef Now needs to merge and release. At best together with the other still open pull request by @TheOnlyRew
Sublime's community would rejoice! :+1:
No reaction from the author as of this day. I have even contacted him via the email address stated under his profile. Also offered to maintain the project if he no longer wants to do it himself. The repository does not even include a license, so it is not clear whether we are free to just provide an independent fork to PackageControl without the author's agreement.
Still no response? This plugin would greatly help me customize ST 3.
@justnealpatel The author is entirely unresponsive. :-1: Yet, you can find my fork here: https://github.com/bfelder/ColorSchemeEditor
I not only fixed the file jump, but the color scheme now gets automatically reloaded, which saves you from doing it manually after each modification.
You may also try SchemeEditor by @facelessuser