Skip to content

Option for Search to filter comments #225928

Closed as not planned
Closed as not planned
@hilloinen

Description

@hilloinen

Visual Studio Code is well aware when some text is inside a comment since it displays such text with a different color - at least with common programming languages.

It would be great if the the search had an option button similar to "Match Case" and "Match Whole Word" buttons that could be used to filter out matches found in comments. I suggest three modes for such button: 1) inactive/include all (it would function like search now), 2) exclude comments, and 3) include only comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    *duplicateIssue identified as a duplicate of another issue(s)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions