var keyword and "find usages"
已回答
With Java 10 out I tested out writing some simple code to find usages of a class. When some code uses var then Find Usages does not find that usage. Will that be fixed at some point?
To see this. Write a class SomeClass then in Main say var x = getSomething() where getSomething returns an instance of that class. Find Usages will not find this. If I do SomeClass x = getSomething() then it does work fine.
请先登录再写评论。
Please follow https://youtrack.jetbrains.com/issue/IDEA-188689 for updates.