Disable keyword completion in comments, strings and chars
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class TestClass {
|
||||
/* <caret> */
|
||||
fun test() {
|
||||
'<caret>'
|
||||
}
|
||||
}
|
||||
|
||||
// ABSENT: abstract, annotation, as, break, by, catch, class, continue, default, do
|
||||
// ABSENT: else, enum, false, final, finally, for, fun, get, if, import, in, inline
|
||||
// ABSENT: internal, is, null, object, open, out, override, package, private, protected, public
|
||||
// ABSENT: ref, return, set, super, This, this, throw, trait, true, try, type, val, var
|
||||
// ABSENT: vararg, when, where, while
|
||||
@@ -0,0 +1,11 @@
|
||||
class TestClass {
|
||||
fun test() {
|
||||
'<caret>'
|
||||
}
|
||||
}
|
||||
|
||||
// ABSENT: abstract, annotation, as, break, by, catch, class, continue, default, do
|
||||
// ABSENT: else, enum, false, final, finally, for, fun, get, if, import, in, inline
|
||||
// ABSENT: internal, is, null, object, open, out, override, package, private, protected, public
|
||||
// ABSENT: ref, return, set, super, This, this, throw, trait, true, try, type, val, var
|
||||
// ABSENT: vararg, when, where, while
|
||||
@@ -0,0 +1,59 @@
|
||||
public class Test {
|
||||
|
||||
<caret>
|
||||
|
||||
fun test() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: abstract
|
||||
// ?ABSENT: annotation
|
||||
// ABSENT: as
|
||||
// ABSENT: break
|
||||
// ABSENT: by
|
||||
// ABSENT: catch
|
||||
// EXIST: class
|
||||
// ABSENT: continue
|
||||
// ABSENT: default
|
||||
// ABSENT: do
|
||||
// ABSENT: else
|
||||
// EXIST: enum
|
||||
// ABSENT: false
|
||||
// EXIST: final
|
||||
// ABSENT: finally
|
||||
// ABSENT: for
|
||||
// EXIST: fun
|
||||
// EXIST: get
|
||||
// ABSENT: if
|
||||
// ABSENT: import
|
||||
// ABSENT: in
|
||||
// EXIST: inline
|
||||
// EXIST: internal
|
||||
// ABSENT: is
|
||||
// ABSENT: null
|
||||
// ABSENT: object
|
||||
// EXIST: open
|
||||
// ABSENT: out
|
||||
// EXIST: override
|
||||
// ABSENT: package
|
||||
// EXIST: private
|
||||
// EXIST: protected
|
||||
// EXIST: public
|
||||
// ABSENT: ref
|
||||
// ABSENT: return
|
||||
// EXIST: set
|
||||
// ABSENT: super
|
||||
// ABSENT: This
|
||||
// ABSENT: this
|
||||
// ABSENT: throw
|
||||
// EXIST: trait
|
||||
// ABSENT: true
|
||||
// ABSENT: try
|
||||
// EXIST: type
|
||||
// EXIST: val
|
||||
// EXIST: var
|
||||
// ABSENT: vararg
|
||||
// ABSENT: when
|
||||
// ABSENT: where
|
||||
// ABSENT: while
|
||||
@@ -0,0 +1,11 @@
|
||||
class TestClass {
|
||||
fun test() {
|
||||
"<caret>"
|
||||
}
|
||||
}
|
||||
|
||||
// ABSENT: abstract, annotation, as, break, by, catch, class, continue, default, do
|
||||
// ABSENT: else, enum, false, final, finally, for, fun, get, if, import, in, inline
|
||||
// ABSENT: internal, is, null, object, open, out, override, package, private, protected, public
|
||||
// ABSENT: ref, return, set, super, This, this, throw, trait, true, try, type, val, var
|
||||
// ABSENT: vararg, when, where, while
|
||||
@@ -0,0 +1,9 @@
|
||||
class TestClass {
|
||||
// <caret>
|
||||
}
|
||||
|
||||
// ABSENT: abstract, annotation, as, break, by, catch, class, continue, default, do
|
||||
// ABSENT: else, enum, false, final, finally, for, fun, get, if, import, in, inline
|
||||
// ABSENT: internal, is, null, object, open, out, override, package, private, protected, public
|
||||
// ABSENT: ref, return, set, super, This, this, throw, trait, true, try, type, val, var
|
||||
// ABSENT: vararg, when, where, while
|
||||
@@ -0,0 +1,7 @@
|
||||
class Some {
|
||||
val a : Int
|
||||
<caret>
|
||||
}
|
||||
|
||||
// EXIST: get
|
||||
// EXIST: set
|
||||
Reference in New Issue
Block a user