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

Auto-indent indents unexpectedly in "in between comments" scenario #5100

Closed
debonte opened this issue Nov 9, 2023 · 1 comment
Closed

Auto-indent indents unexpectedly in "in between comments" scenario #5100

debonte opened this issue Nov 9, 2023 · 1 comment
Assignees
Labels
bug Something isn't working fixed in next version (main) A fix has been implemented and will appear in an upcoming version

Comments

@debonte
Copy link
Contributor

debonte commented Nov 9, 2023

Environment data

  • Language Server version: 2023.11.12

Code Snippet

def case4():
    # function comment

# another comment

Repro Steps

  1. Put cursor at end of # function comment
  2. Press Enter
  3. Delete automatic indentation chars (i.e. manually dedent)
  4. Press Enter

Expected behavior

After Enter cursor remains at margin.

Actual behavior

Cursor gets indented to same level as # in # function comment

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Nov 9, 2023
@debonte debonte assigned KacieKK and unassigned bschnurr Nov 9, 2023
@debonte debonte added bug Something isn't working and removed needs repro Issue has not been reproduced yet labels Nov 9, 2023
@KacieKK KacieKK added the fixed in next version (main) A fix has been implemented and will appear in an upcoming version label Nov 27, 2023
@debonte
Copy link
Contributor Author

debonte commented Dec 2, 2023

This issue has been fixed in prerelease version 2023.11.102, which we've just released. You can find the changelog here: CHANGELOG.md

@debonte debonte closed this as completed Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in next version (main) A fix has been implemented and will appear in an upcoming version
Projects
None yet
Development

No branches or pull requests

3 participants