vscode-nim
vscode-nim copied to clipboard
Disable formatting of code
Is there any chance the current automatic behaviour of reformatting the code could be disabled?
It's really annoying pasting code and having it indented to the last line of code above it (which is badly wrong).
You can try set option "editor.detectIndentation": false in workspace settings
That doesn't help. I disabled autoIndent as well.
I reproduced one problem in particular which is incredibly freaking annoying. Can I disable this crap?
while result[0] >= 0:
if cmpIgnoreStyle($entries[result[0]].procName & "iter",
$entries[i].filename) == 0:
break
Put that into a .nim file, put your cursor at the bottom of the file and press <Tab>. Your cursor will be moved by 30 spaces!