Answer the question
In order to leave comments, you need to log in
Visual Studio Code not formatting code?
I went to the docks , they say to press Ctrl+K Ctrl+F Format Selection editor.action.formatSelection pressed CTRL+K+F on the selected area, nothing. What am I doing wrong? Or is it necessary to register manually in the settings, or install a module?
Answer the question
In order to leave comments, you need to log in
I hold Cntrl, I press first K, then F. The code is automatically formatted throughout the document. 2015 update 2.
There is just a difference between Ctrl+K+F and Ctrl+K Ctrl+F.
In the second case, you just need to use two keyboard shortcuts in a row, that is, first press Ctrl+K , release all keys and press Ctrl+F .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question