netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Adding inlay hints in the VS Code extension.

Open lahodaj opened this issue 1 year ago • 2 comments

Adding ability to show the inline hints (using "inlayHints" of the LSP), showing the same hints as for NetBeans. Enabled by default, but can be adjusted either in global settings (Editor/Inlay Hints), or individual Java-specific capabilities can be enabled/disabled in the extension settings.

It looks like this: inlay-hints


^Add meaningful description above

By opening a pull request you confirm that, unless explicitly stated otherwise, the changes -

  • are all your own work, and you have the right to contribute them.
  • are contributed solely under the terms and conditions of the Apache License 2.0 (see section 5 of the license for more information).

Please make sure (eg. git log) that all commits have a valid name and email address for you in the Author field.

If you're a first time contributor, see the Contributing guidelines for more information.

If you're a committer, please label the PR before pressing "Create pull request" so that the right test jobs can run.

lahodaj avatar Jun 07 '23 19:06 lahodaj

From end user perspective, the solution is really great:

TreeToIr.java

it will make it way easier for me to work with Enso code base.

jtulach avatar Jun 13 '23 12:06 jtulach

Btw. Metals - the VSCode support for Scala is using Italics to render the additional inline hints:

image

jtulach avatar Jun 16 '23 06:06 jtulach