You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to indent multiple lines at once but it failed. This is how it looks like when I select some lines and press Tab. Sometimes it works though, like when creating an untitled file in split screen.
It also intents completly wrong when i create a newline. (With a tab instead of spaces also...)
That's something else and was introduced in the previous version as well. If editor.insertSpaces is set to auto it detects the indentation used by the opened file. But if you create a new file, it can't detect the indentation type so it uses spaces instead. Some issues regarding this have been raised already and should be discussed over there. Here it is: #1747
This looks like Mac OS behavior for the select before the editor knows that the select requires different behavior. It's just not catching that first select. Once the file is in the working files section then the editor has it in memory...this is me speculating, though, and watching what is happening.
Can somebody provide a link for VSCode 0.10.6? Its impossible to work on HTML with this Version. Hope to have it fixed soon.
Sam Verschueren (@SamVerschueren)
What i mean is the following. (Extension .jsx, file is not empty, it has 70 lines)
This behaviour was definetly not present before.
Steps to reproduce:
.jsx file (maybe also other ones)
Indent somewhere in a function, move the cursor to another line and save the file (be sure to have "remove leading whitespace" option enabled)
Philip Giuliani (@philipgiuliani) Ok, that's definitely something else. Create a new issue for that one if you don't mind as it's not the same as this one and then they can separately being tracked by the team.
Sam Verschueren (@SamVerschueren) Do you have any extensions installed that might hijack the tab key? i.e. just to be sure the built-in command executes, can you please add the following to the end of your keybindings.json:
Activity
bpasero commentedon Feb 9, 2016
alexandrudima fyi
philipgiuliani commentedon Feb 9, 2016
Same here! Cant work with it currently! It also intents completly wrong when i create a newline. (With a tab instead of spaces also...)
SamVerschueren commentedon Feb 9, 2016
That's something else and was introduced in the previous version as well. If
editor.insertSpacesis set toautoit detects the indentation used by the opened file. But if you create a new file, it can't detect the indentation type so it usesspacesinstead. Some issues regarding this have been raised already and should be discussed over there. Here it is: #1747rhires commentedon Feb 9, 2016
This looks like Mac OS behavior for the select before the editor knows that the select requires different behavior. It's just not catching that first select. Once the file is in the working files section then the editor has it in memory...this is me speculating, though, and watching what is happening.
philipgiuliani commentedon Feb 9, 2016
Can somebody provide a link for VSCode 0.10.6? Its impossible to work on HTML with this Version. Hope to have it fixed soon.
Sam Verschueren (@SamVerschueren)
What i mean is the following. (Extension .jsx, file is not empty, it has 70 lines)
This behaviour was definetly not present before.
Steps to reproduce:
SamVerschueren commentedon Feb 9, 2016
Philip Giuliani (@philipgiuliani) Ok, that's definitely something else. Create a new issue for that one if you don't mind as it's not the same as this one and then they can separately being tracked by the team.
philipgiuliani commentedon Feb 9, 2016
Sam Verschueren (@SamVerschueren) Thank you! Done in the following issue #2845.
bpasero commentedon Feb 9, 2016
Previous releases are at https://github.com/Microsoft/vscode/wiki/Previous-Releases
nchammas commentedon Feb 9, 2016
Having a similar issue with SQL files if I highlight some lines and try to indent them with tab.
This one is strange because, in addition to killing all the text, Command + Z refuses to undo the action!
If I manually indent the first line with 4 spaces and highlight the rest, hitting tab works as expected.
alexdima commentedon Feb 10, 2016
Sam Verschueren (@SamVerschueren) Philip Giuliani (@philipgiuliani) Nicholas Chammas (@nchammas) I am sorry, this looks horrible.
I cannot reproduce on a vanilla (no extensions) 0.10.8 on Windows.

I will try shortly on the mac
SamVerschueren commentedon Feb 10, 2016
Indeed, might be related to Mac.
alexdima commentedon Feb 10, 2016
Sam Verschueren (@SamVerschueren) Do you have any extensions installed that might hijack the tab key? i.e. just to be sure the built-in command executes, can you please add the following to the end of your
keybindings.json:24 remaining items
brunnopleffken commentedon Feb 17, 2016
I'm also experiencing this behavior when pressing SHIFT+TAB.
All the selected block of code is deleted and CMD+Z (undo) doesn't work at all.
OS X El Capitan 10.11.3
VS Code 0.10.8-insider
philipgiuliani commentedon Feb 17, 2016
Brunno Pleffken Hosti (@brunnopleffken) haha "SHIT + TAB" 😆
Fixes #2829: Update window dirty state asynchronously
weinand commentedon Feb 17, 2016
alexandrudima I've verified fix for the insider's build.
joaomoreno commentedon Feb 17, 2016
alexandrudima looks great for stable too
brunnopleffken commentedon Feb 17, 2016
Philip Giuliani (@philipgiuliani) Oops! Mistyping an issue may cause situations like this, HAHAHAHA
[-][0.10.8] What's wrong with the indentation?[/-][+][0.10.8] Indenting multiple lines using Tab fails[/+][-][0.10.8] Indenting multiple lines using Tab fails[/-][+]Indenting multiple lines using Tab fails[/+]yo1dog commentedon Feb 18, 2016
Just want to say thanks for the workarounds and the fixed update today. :)
ElChupacabra26 commentedon Feb 18, 2016
👍 +1 to that
SamVerschueren commentedon Feb 19, 2016
Thanks alexandrudima . Appreciate the effort!
priyank2005 commentedon Feb 20, 2016
Thanks for fixing this