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

Format document: comment block shift right every time #86

Open
palansher opened this issue Jul 8, 2022 · 6 comments
Open

Format document: comment block shift right every time #86

palansher opened this issue Jul 8, 2022 · 6 comments

Comments

@palansher
Copy link

issue:
during format document: Shift-Alt-F
if you have any commented block (html or twig), this block will shift right every time you format document.
The result is quite ugly
image

image

@BDZK
Copy link

BDZK commented Jul 21, 2022

Hi i have the same isssue with vscode 1.69.2. Is there a way to disable comment formatting?

@alexandregaliay
Copy link

Same problem here (vscode 1.70.2). Really annoying when using "format on save"... 😕

@blackbart420
Copy link

Same here! Really annoying indeed

@ImKubass
Copy link

ImKubass commented Nov 7, 2023

same here

@garryshield
Copy link

use <!-- parse-ignore-start --> to disable block formate is work for me

<!-- parse-ignore-start -->
<div v-show="showUser" class="
absolute
top-16
right-0
w-full sm:w-[320px]
px-4 py-4 pb-0">
<!-- parse-ignore-end -->
...
</div>

@jeanrinvil
Copy link

Any updates on this issue ? The issue still remains

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants