Editor displaying - not =
Answered
For some reason this morning the edit is not showing = when pressing the = key. A - is displayed. When using any other program (like this) the = is displayed. I am on Windows 10 using English with US keyboard and I am not aware of changing anything.
Please sign in to leave a comment.
Please provide a screenshot with your font settings:
Does it show = properly if it's typed in some other editor and then this file is open in IntelliJ IDEA?
I created a file in Notepad then opened in IJ and equals did display correctly. Also I can type an = into this .txt file. If I go back to the .java no equals. But I did just type println("===") in the .java file and = displayed correctly.
Please change the font from Monospaced to something else, like Fira Code or Source Code Pro, or Consolas.
Also make sure IntelliJ IDEA run under JetBrains Runtime, see https://intellij-support.jetbrains.com/hc/articles/206544879.
I did just experiment with changing Primary font to Source Code Pro and = is displayed correctly. Must be something in the Monospaced font.
Monospaced is not a font, it's a logical font name that maps to some system font by the JDK rules depending on the OS and locale. For some reason it maps to a broken font on your specific system.
Thanks for your help