From @lionpants on February 10, 2016 21:6
I've followed the setup instructions found on https://code.visualstudio.com/updates#vscode to get the Salsa preview working.
Upon enabling Salsa, when pressing Enter to go to a new line; the cursor will always jump to the beginning of the line instead of keeping the indentation level of the line before it, this happens in JavaScript files.
I'm not sure if this was caused solely by Salsa or a combination of other settings. But when turning Salsa off, the indentation works properly again.
Here is my config before adding the Salsa config path.
// Place your settings in this file to overwrite the default settings
{
// Controls the rendering size of tabs in characters. Accepted values: "auto", 2, 4, 6, etc. If set to "auto", the value will be guessed when a file is opened.
"editor.tabSize": 4,
// Controls if the editor will insert spaces for tabs. Accepted values: "auto", true, false. If set to "auto", the value will be guessed when a file is opened.
"editor.insertSpaces": true,
// Controls after how many characters the editor will wrap to the next line. Setting this to 0 turns on viewport width wrapping
"editor.wrappingColumn": 0,
// Controls if the editor should automatically format the line after typing
"editor.formatOnType": true,
// Complete functions with their parameter signature.
"javascript.suggest.useCodeSnippetsOnMethodSuggest": false,
// When enabled, will trim trailing whitespace when you save a file.
"files.trimTrailingWhitespace": true
}
Copied from original issue: microsoft/vscode#2907
From @lionpants on February 10, 2016 21:6
I've followed the setup instructions found on https://code.visualstudio.com/updates#vscode to get the Salsa preview working.
Upon enabling Salsa, when pressing Enter to go to a new line; the cursor will always jump to the beginning of the line instead of keeping the indentation level of the line before it, this happens in JavaScript files.
I'm not sure if this was caused solely by Salsa or a combination of other settings. But when turning Salsa off, the indentation works properly again.
Here is my config before adding the Salsa config path.
Copied from original issue: microsoft/vscode#2907