Skip to content

Skip highlighting keywords in strings and comments #21

Open
@danixeee

Description

@danixeee

When a language is installed in development mode, syntax highlighting is done by searching for keyword ranges in a given text and then setting appropriate decorations which also includes a (key)words from comments and strings.

This could be improved by searching for string and comment ranges and skip decorating language keywords which range is not overlapping with string and comment range.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions