Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Add Option to Exclude Comments from Search Results #2114

Open
devvaannsh opened this issue Feb 3, 2025 · 0 comments
Open

[feat] Add Option to Exclude Comments from Search Results #2114

devvaannsh opened this issue Feb 3, 2025 · 0 comments
Labels
Feature Request Feature requests from customers

Comments

@devvaannsh
Copy link
Contributor

Describe the problem

Right now, when searching for a string in files, matches inside comments and commented-out code are also returned, which can be noisy. It would be great to have an option to ignore comments while searching, so results focus only on actual code.

Describe the solution you'd like

A toggle or filter setting that detects and excludes comments based on the file’s syntax.

This could be an optional setting users can enable when needed.

Alternatives considered

No response

Additional context

No response

@devvaannsh devvaannsh added the Feature Request Feature requests from customers label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Feature requests from customers
Projects
None yet
Development

No branches or pull requests

1 participant