Extend symbol ranges by their annotation range when suggesting edits (#15677)

Release Notes:

- N/A

---------

Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2024-08-02 11:40:29 +02:00
committed by GitHub
co-authored by Nathan
parent e4608e7f12
commit b88b9dcdd1
7 changed files with 261 additions and 121 deletions
+3
View File
@@ -1,3 +1,6 @@
(attribute_item) @annotation
(line_comment) @annotation
(struct_item
(visibility_modifier)? @context
"struct" @context