$ character in EntityManager.createQuery parameter

Intellij IDEA considers qlString parameter of the EntityManager.createQuery method as JPQL query and underlines the $ character in entity name as error.
persistence.getEntityManager().createQuery("select e from project$SomeEntity e", SomeEntity.class);
Is there any setting that prevents such misleading effect?

Hi,

Unfortunately, it is a known issue of IntelliJ Ultimate: https://youtrack.jetbrains.com/issue/IDEA-163803

You can upvote it if you need auto completion for entities with $ symbol in names.