Closed minimusubi closed 1 year ago
You are right. That is a bug.
Hi @yzhang-gh , it looks like with the latest release (3.5.0) the bug is partially fixed. While the second-level numbered list renumbering works fine by now, the more deeply nested ones still break.
Thanks. Please try out the latest dev build.
Problem
An issue occurs with the automatic renumbering feature of ordered lists. When removing an entire line containing a top level list item, the automatic renumbering does not restart numbering between second level lists, and incorrectly "continues" the numbering instead.
At first glance, #668 appears as a related issue; however, I believe this is a separate issue.
How to reproduce
Start with this markdown:
Then, delete the entire line containing
Item to be deleted
. Observe that the items withinFirst level 2
andFirst level 3
are incorrectly numbered. Expected output:Actual output:
GIF Demonstration
Configuration
Default. (Tested on fresh install of VS Code with only this extension installed)
Environment
Diagnostic data
No relevant messages in the developer console log.