Skip to content

Highlighting strings #4

@ghost

Description

Hi thanks for this, it worked straight away for me.
My suggestions:

change line 2 to:
<UserLang name="G Code" ext="nc g gcode TAP" udlVersion="2.1">
so that files with the ".gcode" extension get the syntax highlighting too.
I'll see if I can make a pull request for this.

Also, is there a way to colour comments and strings with a single colour? Anything with a proceeding semicolon should be highlighted perhaps grey.

Also, after commands like M117 the argument is a string, so these strings should be formatted with another single colour, perhaps green.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions