Skip to content

need an option to ignore brackets in comments #4066

Open
@mathteacher75

Description

@mathteacher75

I often use comments to switch between two commands with the same arguments. In the following code, the syntax highlighting detects that the opening bracket is in %\secondcommand{, instead of \firstcommand{. How to make syntax highlighting ignore brackets in comments, so that it can detect pairs of brackets just like the compiler does ?

Image

Ignoring all comments for syntax highlighting could be an acceptable solution to me, even if it unactivate %TODO detection or other features. How to do that ?

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions