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

Fix overaggressive formatting when adding lines after if statement #385

Merged

Conversation

ZachIsAGardner
Copy link
Contributor

This fixes #337

With this change the behavior should be the same as Godot's built in script editor. Godot's behavior from what I understand leaves you alone, unless you are pressing "Enter" at the end of a line containing ":".

This article helped a lot https://code.visualstudio.com/api/language-extensions/language-configuration-guide

@Calinou Calinou added the bug label Jun 16, 2022
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Calinou Calinou changed the title fix overaggressive formatting Fix overaggressive formatting when adding lines after if statement Jun 16, 2022
@Calinou Calinou merged commit 4562bf1 into godotengine:master Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overaggressive formatting when adding new lines after an if statement
2 participants