sublime-to-done
sublime-to-done copied to clipboard
Syntax highlighting not working
Hi,
Somehow syntax highlighting is not working for me anymore. I am using a file called .todo and it is set to the ToDone syntax. I have tried uninstalling and reinstalling (and restarting sublime in between). Same problem.
Thanks in advance for any help you have. John
Hi,
Not working for me either on 2.0.2 build 2221, Windows 8.1 x64. Tried reinstalling but... nope. Even the readme isn't getting properly highlighted:
Best regards!
Have the same issue. =( How info do you need, for diagnosis?
Thanks for filing the bug.
Build info is useful. @tecma, @jcamachott can you provide platform and build info?
Can you also confirm ToDone is not listed in the "ignored_packages" section of your user settings?
Also, does the ToDone readme end up looking pretty much like @biohzrdmx screenshot?
@biohzrdmx, can you place a cursor in front of one of the green characters (for instance, line 3, to the left the leading #
character) and press ctrl
+ shift
+ p
(on a Mac, hopefully it's the same on Windows). This should update the status bar at the bottom of sublime to show the syntax highlighting information. What does it show? It will likely be a space separated list of items. It should say something like: text.todone entity.name.class.todone
I'm kind of wondering if maybe ToDone is working but the color scheme is being clobbered.
Thanks.
Hi @tiffon I did what you suggested, here's the screenshot:
And, about the color scheme, I think you're right: if I change the scheme all other files refresh and show the new one, but the ones with ToDone syntax remain with the old, broken one.
Hope you sort it out soon!
I am having exact same issue with build # 3126
Me too :)
@wojciechmorawski, @dvdnhm — ~~I'm not able to reproduce the issue. I tried uninstalling and reinstalling, but no dice. Any suggestions?~~
Edit: please see the comment below.
Actually, I was just able to reproduce the issue, oddly enough.
Restarting did not fix it. But, when I created a new file, set the syntax to ToDone and then copied the incorrectly highlighted content into the new doc it was fine.
I went back to the original, incorrectly highlighted file, and set the syntax to plain text, then back to ToDone, still wasn't right.
Finally, I saved the file to disk and reopened it and it was fine.
I'm just guessing here, but the issue might be with files that are open at the time of installation.
@wojciechmorawski, @dvdnhm — can either of you confirm reopening files resolved the issue? Thanks