-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whole commented lines in green #2
Comments
Hi! Thanks for opening this issue. Could you share which color scheme you are using? |
Uploading a screenshot would also help a lot. |
@fotomas it looks like you're using the Monokai color scheme, I get the same result here. This syntax seems to work a lot better with the Cobalt color scheme. |
Hi guys. I apologize for the delay in getting out an update. Just wanted to state that I am aware of the issue and there are some updates in process that address the issue. My semester is over in May and I will have some free time then. In the mean time feel free to make a push request. Thanks for your patience. |
I adapted plugin for use with the theme Monokai extended Work best with Fanuc Oi.
|
Any update on this? I'd love to see comment syntax highlighting working too. Many thanks. |
I didn't realize anyone was still using this and I was surprised to find it in the package manager a few days ago. It's been years since I maintained this project, but I am using it again so I will take a look into this issue over the next couple of weeks. |
@themachinist , yeah, people are definitely still using it. It's the only gcode syntax highlighter available in the Package Manager for Sublime Text. You've got 8000 downloads, with 2 to 6 new downloads per day, every day. See the graph here. I'm getting into 3D printers and using it now, for instance, to look at gcode files to print objects. @digex 's zip file above works pretty well, by the way. Take a look at it for some pretty useful changes. I installed it in Sublime Text 4 in Linux Ubuntu 20.04 like this:
Comparison of the syntax highlighting:This is a Marlin g-code file generated by the Cura 3D printer slicer engine. The |
I've completed my brand new Bit thanks to @themachinist for paving the way on this syntax highlighter. Without his work I would not have know where to begin with this, as it was a very large undertaking for me to figure out this past weekend and each evening up to now. Screenshots: |
It is a bit difficult to distinguish commented lines (starting with semicolon) from live lines.
I suggest that the commented lines are in one one color that differs from all the other colors. Preferably green. The fact that M-commands are highlighted in in commented lines are bit confusing.
The text was updated successfully, but these errors were encountered: