Jan 18, 2024

IntelliJ Editor NNBSP problem

 






Recently I start to use IntelliJ to coding, but I met a strange problem as shown above that there are special characters, which in my mind are garbage codes. How to remove them?

There a lots of posts. But let's first try OpenAI, let's see whether they know the answer well. 

Below are the interesting dialogs between me and ChatGPT. Have fun!






But actually it's not correct, for example in my editor settings, "Show whitespaces" are already unchecked. 


【Solutions】

Go to IntelliJ Settings -> Editor -> Advanced Settings,

Uncheck "Render special characters, such as control codes, using their Unicode name abbreviations.



We can see the contents are good now. 



PS: It has been quite a long time since my last post. How time flies! But better late than never, and let's go back to the beautiful engineer world!