Skip to content

Wrong auto-indentation in typescript when pasting #223308

Open

Description

@rzvc

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.91.1
  • OS Version:

Steps to Reproduce:

  1. Start with this code.
if (true)
{
	// Do something.
}
  1. Select and cut the the block.
  2. Paste it back:
if (true)
	{
		// Do something.
	}

Related to issue #209802.

Activity

  1. changed the title [-]Wrong auto-indentation in typescript when pasting.[/-] [+]Wrong auto-indentation in typescript when pasting[/+] on Jul 23, 2024
  2. added
    editor-autoindent
    bug
    on Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugeditor-autoindenttree-sitter-autoindent-candidate

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions