KT-9365 Code completion does not suggest annotation names at type usage
#KT-9365 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class AnnType
|
||||
|
||||
class AnnFalse
|
||||
|
||||
val v: @Ann<caret> Int = 1
|
||||
|
||||
// EXIST: AnnType
|
||||
// ABSENT: AnnFalse
|
||||
+6
@@ -753,6 +753,12 @@ public class JSBasicCompletionTestGenerated extends AbstractJSBasicCompletionTes
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("ForType.kt")
|
||||
public void testForType() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/annotations/ForType.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionAnnotation1.kt")
|
||||
public void testFunctionAnnotation1() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/annotations/FunctionAnnotation1.kt");
|
||||
|
||||
+6
@@ -753,6 +753,12 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("ForType.kt")
|
||||
public void testForType() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/annotations/ForType.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionAnnotation1.kt")
|
||||
public void testFunctionAnnotation1() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/annotations/FunctionAnnotation1.kt");
|
||||
|
||||
Reference in New Issue
Block a user