Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with identation after copy-pasting #62900

Closed
DMoreira97 opened this issue Nov 10, 2018 · 3 comments
Closed

Error with identation after copy-pasting #62900

DMoreira97 opened this issue Nov 10, 2018 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-autoindent Editor auto indentation issues

Comments

@DMoreira97
Copy link

Hello,

While working in html I found an error with the indentation. After doing the process described in 'Steps to Reproduce' the indentation of the text pasted is all wrong. Usually vscode adds an extra tab to the first line, and adds two more tabs to all the other lines.

Steps to Reproduce:

  1. Open an html document (with code on it)
  2. Select an entire tag
  3. Copy it.
  4. Paste it inside any other tag.

imagem
imagem
imagem

I would like to solve this bug myself. I am posting it here to see if it really is a bug, and to see if you can help me and tell me where to start.

This issue is similar to this one. But this one is written in Portuguese (Br), so it hasn't had any activity. And the indentation of the text pasted is also different.

  • VSCode Version: 1.28.2
  • OS Version: Windows 10 Home 64 bits
@vscodebot
Copy link

vscodebot bot commented Nov 10, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the editor-autoindent Editor auto indentation issues label Nov 10, 2018
@glen-84
Copy link

glen-84 commented Mar 23, 2019

Duplicate of #32320. (?)

@rebornix rebornix added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 2, 2019
@vscodebot
Copy link

vscodebot bot commented Aug 2, 2019

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Aug 2, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-autoindent Editor auto indentation issues
Projects
None yet
Development

No branches or pull requests

3 participants