-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Space after line break #62
Comments
Thanks for the issue. Definitely not desired behavior. I think one possible solution is to always trim whitespace to the right of the cursor before going into any of the additional logic, I'm just trying to think if there are legitimate use cases where we'd want to preserve that whitespace... |
To add to this, can it trim the whitespace if done this way?
The desired result as in the initial post:
The current behavior results in:
|
In the above case, I think It should be left as it is intended. |
@MatthewFlamm I prefer to defer tasks like that to VSCode's
|
@doyou89 This should now be fixed. Make sure you upgrade to version 1.12.0 (or later) of the package. If you have any issues with the behavior, please comment here or open a new issue. Thank you for your patience! |
Minimal code example:
What the code looks like before pressing
enter
:What I want the code to look like after pressing
enter
:(no space between cursor and
third_keyword
)What the code actually looks like after pressing
enter
:(but space left between cursor and
third_keyword
)The text was updated successfully, but these errors were encountered: