How to customize or hide the run buttons in editor #479
-
I'd like to either
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
To do that, you need to create an IJ plugin and define the LSP command, see https://github.com/redhat-developer/lsp4ij/blob/main/docs/DeveloperGuide.md#lsp-commands
Indeed for Run and Debug CodeLens it makes totally sense. Badly LSP specification doesn't support that. To support that:
I think any language server should never report CodeLens mapped with a command if LSP client doesn't support the command. You could fill an issue to rust-analyzer project. An another idea is to provide an API to hide the Codelens with an IJ plugin. Please create an issue for that. |
Beta Was this translation helpful? Give feedback.
-
Indeed you will need to wait for a release of rust-analyzer.
Why you don't want to implement action? |
Beta Was this translation helpful? Give feedback.
-
@harry-xm please try the LSP API PR #543 which should give the capability to ignore some CodeLens for a given language server. |
Beta Was this translation helpful? Give feedback.
To do that, you need to create an IJ plugin and define the LSP command, see https://github.com/redhat-developer/lsp4ij/blob/main/docs/DeveloperGuide.md#lsp-commands
Indeed for Run and Debug CodeLens it makes totally sense. Badly LSP specification doesn't support that. To support that: