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

[Bug]: list editing on indentation levels #417

Open
tierriminator opened this issue Dec 20, 2022 · 0 comments
Open

[Bug]: list editing on indentation levels #417

tierriminator opened this issue Dec 20, 2022 · 0 comments
Labels

Comments

@tierriminator
Copy link

Expected behavior

When working with lists on some indentation levels, (e.g. inside a directive), I would expect the following:

  1. Pressing Enter twice should put me back to the current indentation level.
  2. Pressing Backspace (on the first level for nested lists) should remove the list item but stay at the current level

Actual behavior

  1. I drop back to the base indentation level (no indentation) and am required to tab back to the original level
  2. The extension thinks it's still in a nested list and unindents the list item by one level.

Detailed steps

Write

.. directive::

    - list

Then put the cursor after "list" and press Enter twice for the first issue.
Put the cursor after "list" and press Enter and Backspace for the second issue.

Extension information

189.3.0

Visual Studio Code information

1.73.1

Operating system information

Linux

Python information

3.11.0

Sphinx information

5.3.0

Contents of conf.py

No response

Relevant log output

No response

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

No branches or pull requests

1 participant