Exclude keywords from completion if the corresponding feature is unsupported by the language level selected for the module
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
class A {
|
||||
fun foo() {
|
||||
bar()
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
fun bar() {
|
||||
foo()
|
||||
}
|
||||
}
|
||||
|
||||
<caret>
|
||||
|
||||
// EXIST: abstract
|
||||
// EXIST: class
|
||||
// EXIST: enum class
|
||||
// EXIST: final
|
||||
// EXIST: fun
|
||||
// EXIST: internal
|
||||
// EXIST: object
|
||||
// EXIST: open
|
||||
// EXIST: private
|
||||
// EXIST: public
|
||||
// EXIST: interface
|
||||
// EXIST: val
|
||||
// EXIST: var
|
||||
// EXIST: operator
|
||||
// EXIST: infix
|
||||
// EXIST: sealed
|
||||
// EXIST: data
|
||||
// EXIST: inline
|
||||
// EXIST: tailrec
|
||||
// EXIST: external
|
||||
// EXIST: annotation class
|
||||
// EXIST: const
|
||||
// NOTHING_ELSE
|
||||
Reference in New Issue
Block a user