mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
IDEA-261098 GotoVarTypeHandler: don't target var variable identifier to the variable
This was needed to show the doc as if the variable was referenced. In the new implementation we show the same doc info regardless whether the target under caret is referenced or declared, but this handler made GTDU believe that the variable was referenced, and GTDU was choosing navigation to the referenced target instead of showing usages. GitOrigin-RevId: 78e3554df87d564aeea04f707a0fa1309031912f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1d2e787f53
commit
1ba096bbc2
@@ -0,0 +1 @@
|
||||
<a href="psi_element://java.lang.String">String</a> a = "aaa"
|
||||
@@ -0,0 +1,6 @@
|
||||
class UsageSample {
|
||||
|
||||
public void foo() {
|
||||
var <caret>a = "aaa";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user