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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃敤 Formatter: Auto add hard line breaks #1426

Open
mlaidouni opened this issue May 9, 2024 · 0 comments
Open

馃敤 Formatter: Auto add hard line breaks #1426

mlaidouni opened this issue May 9, 2024 · 0 comments

Comments

@mlaidouni
Copy link

Proposal

Is it possible to have the formatter automatically add two spaces at the end of lines when there is a break?

I mean, if you activate this option :

image

Each line break is considered as a line break in the preview. But this change is not taken into account on Github. To have a real line break, you need two spaces at the end of the line. Is it possible that, when you make a line break in the editor, the formatter automatically adds two spaces to the previous line? This could be an option in the parameters.

So, actually, the result of a line break is the first image, and it would come the second.
image image

I don't know if I'm making myself clear. I'm not talking about the render in the preview, I'm talking about the behaviour of the editor.

This option would really help me, I always forget the two spaces at the end, even though the "Hard Line Break" icon is already a great help 馃槄

Other information

Thanks for all the work you've done, your extension is the best I've tried on VSCode, I use it every day 馃檹馃徏 馃檹馃徏 馃檹馃徏

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

1 participant