-
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
Comments can start with semicolons #4
Comments
+1 on this needing to be added to the syntax highlighter plugin |
See this alternate version, and my installation instructions, here: #2 (comment) |
@sketch4x4 I'm thinking you could simply use the expression [;.*] which translates to a list expression matching a semi-colon followed by zero or more occurrences (*) of any character (.) I've reinstalled git and all that mess today. I will look at merging this change into the main branch on monday. |
Hi @themachinist , I've started a new stand-alone project here: https://github.com/ElectricRCAircraftGuy/sublime_gcode. I plan on keeping it maintained. If it would help you so you don't have to maintain yours anymore, feel free to update your readme to redirect people to my repo. I'll see if I can get it into the Package Control system too. My version isn't complete, but I have it handling comments and a lot of the syntax already. |
Done! See: #2 (comment) |
.gcode
files generated by Cura use;
to denote a comment. For example:Because these comments are not recognised, the output renders as:
Not only are they harder to differentiate by colour, but the content within the comments is subject to highlighting.
The text was updated successfully, but these errors were encountered: