I want to show some tips when hover every defined function name, so I had to return Diagnostic
list in Linter
.
The question is:
-
I can traverse lines, but I don’t know how to get word’s range
-
Is it right to traverse the lines? I’m worried about performance