Editor for evaluate expression: implement highlighting and completion using ResolveElementCache

This commit is contained in:
Natalia Ukhorskaya
2014-04-21 11:06:19 +04:00
parent 2eff4e2300
commit 931b628988
28 changed files with 349 additions and 22 deletions
@@ -107,6 +107,8 @@ import org.jetbrains.jet.completion.AbstractMultiFileJvmBasicCompletionTest
import org.jetbrains.jet.plugin.refactoring.introduce.introduceVariable.AbstractJetExtractionTest
import org.jetbrains.jet.plugin.debugger.evaluate.AbstractKotlinEvaluateExpressionTest
import org.jetbrains.jet.plugin.debugger.evaluate.AbstractSelectExpressionForDebuggerTest
import org.jetbrains.jet.plugin.debugger.evaluate.AbstractCodeFragmentCompletionTest
import org.jetbrains.jet.plugin.debugger.evaluate.AbstractCodeFragmentHighlightingTest
fun main(args: Array<String>) {
System.setProperty("java.awt.headless", "true")
@@ -266,6 +268,10 @@ fun main(args: Array<String>) {
model("checker/infos", testMethod = "doTestWithInfos")
}
testClass(javaClass<AbstractCodeFragmentHighlightingTest>()) {
model("checker/codeFragments", extension = "kt")
}
testClass(javaClass<AbstractJetJsCheckerTest>()) {
model("checker/js")
}
@@ -308,6 +314,10 @@ fun main(args: Array<String>) {
model("completion/handlers/smart")
}
testClass(javaClass<AbstractCodeFragmentCompletionTest>()) {
model("completion/basic/codeFragments", extension = "kt")
}
testClass(javaClass<AbstractGotoSuperTest>()) {
model("navigation/gotoSuper", extension = "test")
}