Блог пользователя silenttkillerr

Автор silenttkillerr, история, 11 месяцев назад, По-английски

In my vs code sometimes indentation automatically get shifted , like after while loop brackets when i click enter it should give 4 spaces but it give only 1 , and this error itself go in few hours. what is reason for this so i can fix it?

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by silenttkillerr (previous revision, new revision, compare).

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

There will be a tab-size:4 option in the bottom right. I think this tab-size:4 option is, by mistake, converted into spaces:2. Tap on it and convert it to tab-size:4.

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Open the settings screen by pressing Ctrl + , on Windows and Linux or Cmd + on macOS. Search for tab size and set your preferred number of spaces in the Editor: Tab Size field.