[kotlin] IJPL-29606 move KtParameterHintsProvider options to the right pane in settings

Also, update the provider preview so that changes to options are reflected there.


Merge-request: IJ-MR-165897
Merged-by: Vojtech Balik <vojtech.balik@jetbrains.com>

(cherry picked from commit 1a8fc9ef1dbf88c6787709f939648ee5e6727475)

IJ-CR-166381

GitOrigin-RevId: 333a3c2f89cfbcb074bdf273235fe367fa4f1ce7
This commit is contained in:
Vojtech Balik
2025-06-17 17:38:42 +00:00
committed by intellij-monorepo-bot
parent fc8e334258
commit f4fcb4abf0
4 changed files with 13 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
fun test() {
someFun(/*<# p0 = #>*/"foo", /*<# p1 = #>*/42)
}

View File

@@ -1,3 +0,0 @@
fun test() {
listOf(/*<# …elements = #>*/"foo", /*<# p1: #>*/42)
}

View File

@@ -1,5 +1,10 @@
fun test() {
someFun(/*<# name = #>*/"foo", /*<# value = #>*/42)
/*<# block opt:start=hints.parameters.excluded #>*/
listOf(/*<# …elements = #>*/"foo", /*<# p1: #>*/42)
/*<# block opt:end,start=hints.parameters.compiled #>*/
compiledFun(/*<# p0 = #>*/"foo", /*<# p1 = #>*/42)
/*<# block opt:end #>*/
}
fun someFun(name: String, value: Int) {}

View File

@@ -241,16 +241,18 @@
bundle="messages.KotlinBundle"
nameKey="hints.settings.parameters"
descriptionKey="inlay.kotlin.parameters.hints">
<option bundle="messages.KotlinBundle"
optionId="hints.parameters.excluded"
enabledByDefault="false"
nameKey="hints.settings.excluded.parameters"
descriptionKey="inlay.kotlin.parameters.hints.excluded"/>
<option bundle="messages.KotlinBundle"
optionId="hints.parameters.compiled"
enabledByDefault="true"
nameKey="hints.settings.compiled.parameters"
descriptionKey="inlay.kotlin.parameters.hints.compiled"/>
descriptionKey="inlay.kotlin.parameters.hints.compiled"
showInTree="false"/>
<option bundle="messages.KotlinBundle"
optionId="hints.parameters.excluded"
enabledByDefault="false"
nameKey="hints.settings.excluded.parameters"
descriptionKey="inlay.kotlin.parameters.hints.excluded"
showInTree="false"/>
</codeInsight.declarativeInlayProvider>
<codeInsight.declarativeInlayProviderCustomSettingsProvider