Intellij is removing or not displaying the space I typed.

已回答

Is there a setting to stop intellij from removing the spaces I type 

for example 

in javascript if I intend to have my object like this { prop: 1 } intellij is formatting it to be {prop: 1} it seems to be removing the spaces. Also when I hit enter for a new line the indentation is all the way to the left. 

0
Avatar
Margarita Tyumenkova

Hello Fgarcia,
 
Please check your Code Style settings (Settings | Editor | Code Style | JavaScript):

  • Indents you can configure on "Tabs and Indents" tab.
  • Spaces are on "Spaces" tab 

 
Kind Regards,
Margarita
JetBrains Support

0

请先登录再写评论。