Skip to content

Coloring issues when things are inside other things #2

@jakeajames

Description

@jakeajames

I don't know how to really explain it so giving an example, making such a comment will result in two colors: // green color here # yellow here

If the code parser sees a comment in this case, it should not parse more until the comment ends, comments should have one color regardless of there being strings, hash symbols etc. Same with multiline comments (and if you see the other issue, you can add those by using another editor), the things in between should all be the same color (green).

In the case of strings, adding a hash sign will not affect the color of the string itself, but what comes after it, like this:

"red here # still red here" yellow here

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