Can the Symbols panel ignore hits in comments? #129071
Unanswered
DavisVaughan
asked this question in
Code Search and Navigation
Replies: 1 comment 1 reply
-
I noted that bullet 8 here also mentions this, but it is mixed in with many other suggestions so I thought I'd raise this one separately https://github.com/orgs/community/discussions/8997 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Say I click on
vec_order()
in this file to see usage of this function:https://github.com/r-lib/vctrs/blob/main/src/order.c
The symbols panel includes anywhere
vec_order()
is mentioned in comments, interleaved with actual references to it. This is pretty distracting, is there any way to disable that?In particular, if a language supports tree-sitter backed searches, I feel like it is probably possible to throw these results out? If tree-sitter isn't supported for that language, I understand that a global search for
"vec_order"
would probably include comments.Screen.Recording.2024-06-19.at.9.45.03.AM.mov
Beta Was this translation helpful? Give feedback.
All reactions