var keyword and "find usages"
Answered
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 sign in to leave a comment.
Please follow https://youtrack.jetbrains.com/issue/IDEA-188689 for updates.