mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
recognize column number in choose by name popups (IDEA-55616)
This commit is contained in:
@@ -167,6 +167,13 @@ class Intf {
|
||||
assert getPopupElements(new GotoSymbolModel2(project), 'bar.goo.zzzZzz') == [method]
|
||||
}
|
||||
|
||||
public void "test line and column suffix"() {
|
||||
def c = myFixture.addClass("package foo; class Bar {}")
|
||||
assert getPopupElements(new GotoClassModel2(project), 'Bar') == [c]
|
||||
assert getPopupElements(new GotoClassModel2(project), 'Bar:2') == [c]
|
||||
assert getPopupElements(new GotoClassModel2(project), 'Bar:2:3') == [c]
|
||||
}
|
||||
|
||||
private List<Object> getPopupElements(ChooseByNameModel model, String text) {
|
||||
return getPopupElements(createPopup(model), text)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user