I cannot seem to make VS Code follow my prefered coding settings, which are tab for indentation (size 4) and then spaces for alignment.
If I have this code:
db.query("SELECT * FROM whatever" +
And I press ENTER, I then have to add spaces (which is OK) until I reach the quote, lke this:
db.query("SELECT * FROM whatever " +
sp sp sp |
(I'm writing sp
for spaces and tab
for tabs)
Then I open quotes and write a bit more. Then, if I close quotes, add a plus and hit ENTER, that's when VS Code does not follow previous indent + align and uses only tabs for indent + alignment.
db.query("SELECT * FROM whatever " +
sp sp sp "WHERE whatever " +
tab tab |
Anyone know how to fix this issue?