mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
fix javadoc completion for field links
This commit is contained in:
+7
@@ -616,6 +616,13 @@ class Foo {
|
||||
myFixture.checkResult "/** a. {@link #foo(int)}<caret> */ interface Foo { void foo(int a); }}"
|
||||
}
|
||||
|
||||
public void "test insert link to field"() {
|
||||
myFixture.configureByText 'a.java', "/** a. #fo<caret> */ interface Foo { int foo; }}"
|
||||
myFixture.completeBasic()
|
||||
myFixture.type('\n')
|
||||
myFixture.checkResult "/** a. {@link #foo}<caret> */ interface Foo { int foo; }}"
|
||||
}
|
||||
|
||||
public void "test wrap null into code tag"() {
|
||||
myFixture.configureByText 'a.java', "/** nul<caret> */"
|
||||
myFixture.completeBasic()
|
||||
|
||||
Reference in New Issue
Block a user