yzhang-gh / vscode-markdown

Markdown All in One
https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one
MIT License
2.91k stars 322 forks source link

Deleting a bullet still remains indented #244

Open garyking opened 6 years ago

garyking commented 6 years ago

What is the problem?

In the release of July 22, 2018, an indent still remains after deleting a bullet.

How can I reproduce it?

Type - (a dash and a space, for an empty bullet point) then delete it. The cursor will be indented two spaces, rather than indented zero spaces, like it was before.

Is there any error message in the console?

No


Please restore behavior to before, or add an option to do so. Thanks!

yzhang-gh commented 6 years ago

Yes, this is an intentional change. I will introduce a new option for it.

yzhang-gh commented 6 years ago

One more question, are you trying to delete the list marker and then press enter to start a new line? You can directly press enter, empty list item will be removed automatically.

garyking commented 6 years ago

Okay I'll keep that in mind