c# - Can't format code in VS Code -


i've added following keybindings.json file.

[   { "key": "ctrl+k ctrl+d",   "command": "editor.action.format",   "when": "editorhasformattingprovider && editortextfocus && !editorreadonly" } ] 

my understanding allow me format code pressing ctrlkctrld nothing happens in file when do. i've set indent 2 (default in settings , in status bar) code stays @ 4 spaces anyway.

how can troubleshoot it?


Comments

Popular posts from this blog

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -

php - Autoloader issue not returning Class -