Skip to content

How to customize or hide the run buttons in editor #479

Closed Answered by angelozerr
harry-xm asked this question in Q&A
Discussion options

You must be logged in to vote

add a Run with Coverage option and integrate with https://www.jetbrains.com/help/idea/code-coverage.html.

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

Optionally, also put the buttons on the sidebar and use the standard IntelliJ icons.

Indeed for Run and Debug CodeLens it makes totally sense. Badly LSP specification doesn't support that. To support that:

  • LSP specification should be improved. I created the issue at microsoft/language-server-protocol#2009
  • LSP4IJ should provide an API to customize with an IJ plugin the render of CodeLens on the sidebar. Please create a…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
5 replies
@harry-xm
Comment options

@angelozerr
Comment options

@harry-xm
Comment options

@angelozerr
Comment options

@harry-xm
Comment options

Answer selected by harry-xm
Comment options

You must be logged in to vote
3 replies
@harry-xm
Comment options

@angelozerr
Comment options

@harry-xm
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants