You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that this feature is not already implemented
This feature does not exist
Use case
(I think this is relevant to ruby-lsp, but if not let me know where I can post an issue to. Also wanted to say thanks for the awesome project—I switched to it several months ago and have been very happy with the experience!)
When the cursor is on a method invocation, it highlights that entire method call (and block), as well as every other invocation of the same method. Often times, I'm working in files that repeatedly call the same method. For example, test files where each test is in a method call block. The result is that my entire file is essentially highlighted when the cursor is on the method name. It makes the contrast worse, so the code is harder to read, and it's really distracting to have the entire file flip back and forth from unhighlighted to highlighted, etc.
Video in vscode:
Screen.Recording.2024-07-18.at.11.45.12.AM.mov
The same problem exists in Zed:
Description
I'm not sure what makes the most sense. I don't find this type of method highlighting useful, but I imagine there are others who do. Could it be an option to disable it?
For vscode, you can prevent this by setting "editor.occurrencesHighlight": "off", but that disables all occurrences highlighting, like variables, which I do find useful.
I haven't found a way to disable method highlighting in Zed.
Implementation
No response
The text was updated successfully, but these errors were encountered:
I have checked that this feature is not already implemented
Use case
(I think this is relevant to ruby-lsp, but if not let me know where I can post an issue to. Also wanted to say thanks for the awesome project—I switched to it several months ago and have been very happy with the experience!)
When the cursor is on a method invocation, it highlights that entire method call (and block), as well as every other invocation of the same method. Often times, I'm working in files that repeatedly call the same method. For example, test files where each test is in a method call block. The result is that my entire file is essentially highlighted when the cursor is on the method name. It makes the contrast worse, so the code is harder to read, and it's really distracting to have the entire file flip back and forth from unhighlighted to highlighted, etc.
Video in vscode:
Screen.Recording.2024-07-18.at.11.45.12.AM.mov
The same problem exists in Zed:
Description
I'm not sure what makes the most sense. I don't find this type of method highlighting useful, but I imagine there are others who do. Could it be an option to disable it?
For vscode, you can prevent this by setting
"editor.occurrencesHighlight": "off"
, but that disables all occurrences highlighting, like variables, which I do find useful.I haven't found a way to disable method highlighting in Zed.
Implementation
No response
The text was updated successfully, but these errors were encountered: