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

reduce weight of "boring" code lines such as import statements #10

Open
kantord opened this issue Jul 11, 2023 · 0 comments
Open

reduce weight of "boring" code lines such as import statements #10

kantord opened this issue Jul 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kantord
Copy link
Owner

kantord commented Jul 11, 2023

things like an import statement can seem semantically highly relevant however they are unlikely to be what the user is looking for

these lines should probably not be completely hidden, especially if they are results of exact matches. however they could be given lower weight and conditionally hidden if there are more relevant results from the same file

also if they are the only result from a file, that file should have a very low weight compared to files that have it in 'real' code

@kantord kantord added the enhancement New feature or request label Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant