KT-9389 Code completion inserts annotation FQN into annotation list
#KT-9389 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package some
|
||||
|
||||
annotation class AnnComplete
|
||||
|
||||
class Multiplier {
|
||||
@get:[A<caret>]
|
||||
var property = 0
|
||||
}
|
||||
|
||||
// ELEMENT: AnnComplete
|
||||
@@ -0,0 +1,10 @@
|
||||
package some
|
||||
|
||||
annotation class AnnComplete
|
||||
|
||||
class Multiplier {
|
||||
@get:[AnnComplete<caret>]
|
||||
var property = 0
|
||||
}
|
||||
|
||||
// ELEMENT: AnnComplete
|
||||
+6
@@ -35,6 +35,12 @@ public class BasicCompletionHandlerTestGenerated extends AbstractBasicCompletion
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/handlers/basic"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("AnnotationInBrackets.kt")
|
||||
public void testAnnotationInBrackets() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/handlers/basic/AnnotationInBrackets.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("AnnotationInClassAddImport.kt")
|
||||
public void testAnnotationInClassAddImport() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/handlers/basic/AnnotationInClassAddImport.kt");
|
||||
|
||||
Reference in New Issue
Block a user