1

I need a "Visual Code" shortcut to indent my code

I tried ton's of shortcuts in Visual Code, no effect, or the wrong effect

I think I need ton's of documentation to find a simple "indent" shortcut, sorry I have no more text to illustrate the problem

3
  • 3
    you can use: ctrl + ], [ (to add and remove indent) or tab, shift + tab (to add and remove indent) Commented Sep 13, 2023 at 10:43
  • @debug_dk Why does Format Document do what the OP wants Commented Sep 13, 2023 at 10:58
  • The shortcut now works, earlier not, tried multiple times. thanks Commented Sep 13, 2023 at 11:33

1 Answer 1

1

You can find keyboard shortcuts in VS code settings and search for indent you will find that
Indent Ctrl+]
Outdent Ctrl+[ enter image description here

you can even find keyboard shortcuts from the search bar write > keyboard shortcuts and even there is a shortcut to open it Ctrl + K then Ctrl + S

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.