Add collection building methods to default blacklist
#KT-18030 Fixed
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ class KotlinInlayParameterHintsProvider : InlayParameterHintsProvider {
|
||||
|
||||
override fun getSupportedOptions(): List<Option> = HintType.values().map { it.option }
|
||||
|
||||
override fun getDefaultBlackList(): Set<String> = emptySet()
|
||||
override fun getDefaultBlackList(): Set<String> = setOf("*listOf", "*setOf", "*arrayOf", "*ListOf", "*SetOf", "*ArrayOf")
|
||||
|
||||
override fun getHintInfo(element: PsiElement): HintInfo? {
|
||||
val hintType = HintType.resolve(element) ?: return null
|
||||
|
||||
Reference in New Issue
Block a user