redhat-developer / vscode-quarkus

Quarkus Tools for Visual Studio Code, by Red Hat
https://quarkus.io
Apache License 2.0
72 stars 28 forks source link

Bind `qute.inlayHint.enabled` (true / false) with `editor.inlayHints.enabled` (on / off) #509

Open angelozerr opened 2 years ago

angelozerr commented 2 years ago

According to https://code.visualstudio.com/updates/v1_67#_toggle-inlay-hints it exists a vsocde settings editor.inlayHints.enabled.

I wonder if it should be nice to bind this setting with our qute.inlayHint.enabled ?

rgrunber commented 2 years ago

Makes sense qute.inlayHint.enabled & qute.inlayHint.showSectionParameterType should be disabled if editor.inlayHints.enabled is off. Otherwise, the value of those 2 should take over. Note that by default both of the qute settings are true.