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

(馃悶) caret moves on format, and inconsistently based on action taken #388

Open
KotlinIsland opened this issue Feb 29, 2024 · 1 comment

Comments

@KotlinIsland
Copy link
Contributor

KotlinIsland commented Feb 29, 2024

Before

[
    <CARET>
]
print()

After 'reformat code'

[]
<CARET>print()

After 'save file'

[]<CARET>
print()

Expected (both)

[<CARET>]
print()
@koxudaxi
Copy link
Owner

I will change the status once it seems appropriate to add functionality in the ruff.

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

No branches or pull requests

2 participants