Skip to content

feat: add hinlay hints for format parameters#4351

Open
fbricon wants to merge 1 commit intoredhat-developer:mainfrom
fbricon:inlay-hints-format-specifiers
Open

feat: add hinlay hints for format parameters#4351
fbricon wants to merge 1 commit intoredhat-developer:mainfrom
fbricon:inlay-hints-format-specifiers

Conversation

@fbricon
Copy link
Collaborator

@fbricon fbricon commented Feb 26, 2026

Adds a new java.inlayHints.formatParameters.enabled setting to enable hinlay hints for format parameters (defaults to false)

Applies to String.formatted() and select classes defining the printf() and format() methods.

Screenshot 2026-02-26 at 16 17 24

Requires eclipse-jdtls/eclipse.jdt.ls#3726
Fixes #4350

Signed-off-by: Fred Bricon <fbricon@gmail.com>
@fbricon fbricon requested a review from datho7561 February 26, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mark corresponding variable in String.formatted(..) if cursor is on %s (and vice versa)

1 participant