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

Indentação não está funcionando ao copiar e colar #56826

Closed
renankaic opened this issue Aug 20, 2018 · 1 comment
Closed

Indentação não está funcionando ao copiar e colar #56826

renankaic opened this issue Aug 20, 2018 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-autoindent Editor auto indentation issues html HTML support issues wont-fix

Comments

@renankaic
Copy link

Após a ultima atualização, quando mexo em um documento HTML tento copiar e colar, a indentação não fica correta, fica no começo da linha ao invés de estar dentro de onde eu colei.

image

@rebornix rebornix self-assigned this Aug 20, 2018
@rebornix rebornix added bug Issue identified by VS Code Team member as probable bug editor-autoindent Editor auto indentation issues labels Sep 5, 2018
@rebornix rebornix added the html HTML support issues label Sep 19, 2018
@rebornix
Copy link
Member

rebornix commented Nov 3, 2020

This is due to the limited architecture (regex based indentation rules and only support limited code styles), we may want to consider using formatters if they exist for indenation adjustment (if interested, we can discuss in #19847).

For this particular issue, if the indentation rules are leading to more trouble than having no auto indent, you can set editor.autoIndent to advanced to disable the regex based indentation adjustment or use auto formatting (editor.formatOnType, editor.formatOnPaste). As we don't have an easy good-enough fix for it, we close it for now and explore better solutions through issues like (#19847 and #34621).

@rebornix rebornix closed this as completed Nov 3, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug editor-autoindent Editor auto indentation issues html HTML support issues wont-fix
Projects
None yet
Development

No branches or pull requests

2 participants