KT-688: Show kotlin keywords as auto completion in IDEA

This commit is contained in:
Nikolay Krasko
2011-11-30 18:33:37 +04:00
parent ce1718e518
commit 1e3c45e65c
10 changed files with 256 additions and 1 deletions
@@ -0,0 +1,5 @@
fun foo() {
<caret>
}
// EXIST: val, var
@@ -0,0 +1,6 @@
fun foo() {
val test : <caret>
}
// TODO: Move all keywords to absent
// EXPECT: fun, val, var, namespace
@@ -0,0 +1,8 @@
<caret>
// EXPECT: namespace, as, type, class, this, super, val, var, fun, for, null, true
// EXPECT: false, is, in, throw, return, break, continue, object, if, try, else, while
// EXPECT: do, when, trait, This
// EXPECT: import, where, by, get, set, abstract, enum, open, annotation, override, private
// EXPECT: public, internal, protected, catch, out, vararg, inline, finally, final, ref
// ABSENT: ?in, new, extends, implements