mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[typescript] WEB-71944 Add support for fully matched signatures; fix current parameter selection; fix support for spread tuple type arguments
(cherry picked from commit 461676ffea8f9bb3ea7e36df4d4e41b581565807) IJ-CR-157620 GitOrigin-RevId: 45a8a985123b875608e003cbb192258e6bda869b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6606864398
commit
f9115fae95
@@ -515,9 +515,12 @@ fun CodeInsightTestFixture.getParameterInfoAtCaret(): String? {
|
||||
NonBlockingReadActionImpl.waitForAsyncTaskCompletion()
|
||||
}
|
||||
return hintFixture.currentHintText
|
||||
?.removePrefix("<html>")
|
||||
?.removeSuffix("</html>")
|
||||
?.replace(Regex("</?span[^>]*>"), "")
|
||||
?.replace(Regex("</?span[^>]*>|</?html>"), "")
|
||||
?.replace(Regex(" | "), " ")
|
||||
?.split('\n')
|
||||
?.filter { it != "-" }
|
||||
?.sorted()
|
||||
?.joinToString("\n-\n")
|
||||
} finally {
|
||||
Disposer.dispose(disposable)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user