KT-32368 Rework Inline hints settings // special case for lambda hints
Lambda hints are placed at the end of a line in such a way that user can't move the caret behind it. Unfortunately, hint provision infrastructure doesn't take this detail into account. As a workaround, KotlinLambdasHintsProvider now returns an empty result (sink) to the outer infrastructure and accesses editor's inlay model itself.
This commit is contained in:
@@ -882,10 +882,6 @@ fun main(args: Array<String>) {
|
||||
model("codeInsight/codeVision")
|
||||
}
|
||||
|
||||
testClass<AbstractKotlinLambdasHintsProvider> {
|
||||
model("codeInsight/hints/lambda")
|
||||
}
|
||||
|
||||
testClass<AbstractKotlinSuspendingCallHintsProviderTest> {
|
||||
model("codeInsight/hints/suspending")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user