-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderssnippetsverifiedVerification succeededVerification succeeded
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.61.2 (I've seen this before this version)
- OS Version: MacOS Big Sur
Steps to Reproduce:
- Enable
editor.tabCompletion - Create a typescript file like this:
if (true)
{
let c = 1;
let d = 1;
}- Select from just after c to just after d.
- Hit tab to try to indent
The result is this:
if (true)
{
let c = 1;
let do {
} while (condition); = 1;
}This seems to trigger completions. Other example are:
Select from after c to after e in let d
if (true)
{
let c = 1;
lengtht d = 1;
}Select from after c to end of next line
if (true)
{
let cc
}Note that this seems to depend on what your recent completions are. For example, that last one will become let cconsole if the last auto-complete you accepted was console.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderssnippetsverifiedVerification succeededVerification succeeded