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
{{ message }}
Repository navigation
[0.10.8] Indentation adds a tab on the beginning #2845
alexandrudima I'm on OSX, vscode version 0.10.8. I just tried to make a gif screen grab of the behavior, and couldn't reproduce it every time though. It seems almost random, and during my attempts I also ran into some weird indentation bug where after I saved the file, and then indented, it indented in the middle of the string randomly.
Indeed after investigating #2829 I can confirm this is a dup. We detect an extra tab was typed after pressing Tab in the case that the files dirty count increases from 0 to 1 in one VS Code window.
Activity
SamVerschueren commentedon Feb 9, 2016
//cc Benjamin Pasero (@bpasero) alexandrudima
nchammas commentedon Feb 9, 2016
I'm seeing a potentially related 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.
philipgiuliani commentedon Feb 9, 2016
Nicholas Chammas (@nchammas) Thats the following issue i think #2829
nchammas commentedon Feb 9, 2016
Oh, good catch!
mbroadst commentedon Feb 10, 2016
+1, seeing this as well
alexdima commentedon Feb 10, 2016
Matt Broadstone (@mbroadst) What OS are you on? I am trying to reproduce in #2829, so far unsuccessfully. Do you have other steps?
SamVerschueren commentedon Feb 10, 2016
alexandrudima This bug seems only related in a file with
insertSpacesset totrue. In a file with tabs, this isn't an issue. Just so you know :).mbroadst commentedon Feb 10, 2016
alexandrudima I'm on OSX, vscode version 0.10.8. I just tried to make a gif screen grab of the behavior, and couldn't reproduce it every time though. It seems almost random, and during my attempts I also ran into some weird indentation bug where after I saved the file, and then indented, it indented in the middle of the string randomly.
my user settings are:
SamVerschueren commentedon Feb 10, 2016
Matt Broadstone (@mbroadst) probably related to #2829
alexdima commentedon Feb 10, 2016
Indeed after investigating #2829 I can confirm this is a dup. We detect an extra tab was typed after pressing Tab in the case that the files dirty count increases from 0 to 1 in one VS Code window.