MacOS: How to turn off Option key printing special characters in VS Code, IntelliJ etc

keyboardmacosvisual-studio-code

Most code editors like IntelliJ, VSCode etc have many shortcuts using the 'option' key in mac. For me, using the option key would cause a special character to be printed instead of performing the shortcut. I wanted to turn this feature off.

I managed to do it after some googling. To serve as a documentation, I am answering my own question below.

Best Answer

Most code editors like IntelliJ, VSCode etc have many shortcuts using the 'option' key in mac. For me, using the option key would cause a special character to be printed instead of performing the shortcut.

How to fix this:

Go to system preferences > keyboard.

My Keyboard was set to 'ABC - extended'. Which had special characters turning up on pressing the 'option' key. I Changed the keyboard to 'ABC' , ie, one without the extension part.

Problem solved.

Why? Coz the 'ABC' keyboard doesnt have the special characters in them :)