oowekyala / intellij-javacc

JavaCC and JJTree grammar support for the IntelliJ Platform

Home Page:https://plugins.jetbrains.com/plugin/11431-javacc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warnings from IDEA about duplicate display names

grv87 opened this issue · comments

WARN - Types.impl.FileTypeManagerImpl -
com.github.oowekyala.ijcc.JavaccFileType@2c240b0d from 'PluginDescriptor(name=JavaCC, id=com.github.oowekyala.javacc, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IdeaIC2021.2\plugins\intellij-javacc, version=1.9, package=null)' (class com.github.oowekyala.ijcc.JavaccFileType) and
com.github.oowekyala.ijcc.JjtreeFileType@61a2e2f from 'PluginDescriptor(name=JavaCC, id=com.github.oowekyala.javacc, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IdeaIC2021.2\plugins\intellij-javacc, version=1.9, package=null)' (class com.github.oowekyala.ijcc.JjtreeFileType)
 both have the same .getDisplayName(): 'JavaCC'. Please override either one's getDisplayName() to something unique.

WARN - Types.impl.FileTypeManagerImpl -
com.github.oowekyala.ijcc.JjtreeFileType@61a2e2f from 'PluginDescriptor(name=JavaCC, id=com.github.oowekyala.javacc, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IdeaIC2021.2\plugins\intellij-javacc, version=1.9, package=null)' (class com.github.oowekyala.ijcc.JjtreeFileType) and
com.github.oowekyala.ijcc.Javacc21FileType@18f2bc5c from 'PluginDescriptor(name=JavaCC, id=com.github.oowekyala.javacc, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IdeaIC2021.2\plugins\intellij-javacc, version=1.9, package=null)' (class com.github.oowekyala.ijcc.Javacc21FileType)
 both have the same .getDisplayName(): 'JavaCC'. Please override either one's getDisplayName() to something unique.

I'm not sure whether this is serious.
But it's annoying when IDEA is run from command line.

We are also having the same issue but now there is an IDE error shown. Is there any update? IntelliJ made the change that the displayname must be unique in this commit.

I'll release a fix this weekend