开发者

IntelliJ idea and duplicate class issue

开发者 https://www.devze.com 2023-02-28 14:48 出处:网络
The dev env unfortunately is such that it creates a duplicate java file in a hidden directory under the same original root for every .java file. This is just a backup mechanism and can\'t change it. G

The dev env unfortunately is such that it creates a duplicate java file in a hidden directory under the same original root for every .java file. This is just a backup mechanism and can't change it. Good thing is this hidden dir name is same. I have Excluded this dir name pattern in the Settings of Intellij IDEA community editi开发者_如何学Goon 10.x. Yet, IDE reports this class as a duplicate one. Usages/References as well.

Bonus Q: Is there an eclipse equivalent of Ctrl-O in my IDEA to quickly navigate to methods?


How exactly did you exclude it? It should be added to the list of ignored folders in Settings | File Types. If it doesn't work, file a bug.

Bonus Q: Is there an eclipse equivalent of Ctrl-O in my IDEA to quickly navigate to methods?

Already replied here and here. Use Ctrl+F12.

0

精彩评论

暂无评论...
验证码 换一张
取 消