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

No space after keywords #585

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

burner
Copy link

@burner burner commented Jul 26, 2023

No more spaces after keywords like if,foreach,while,for, etc.

Copy link
Member

@WebFreak001 WebFreak001 left a comment

Choose a reason for hiding this comment

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

can you add a test case? Go into the tests folder, create a file like space_after_keywords.d with the various keyword statements described here (if, while, foreach, for, with), then run

echo '--space_after_keywords=false' > space_after_keywords.args
./gen_expected.sh space_after_keywords

confirm that the formatting is like what you expect and add it to this PR

Readme update

test files
@burner burner force-pushed the no_space_after_keyword branch from 58adc10 to edd40b8 Compare July 26, 2023 11:57
@burner
Copy link
Author

burner commented Jul 26, 2023

done

The generator is so outdated and basic that it didn't generate this.
@WebFreak001 WebFreak001 merged commit 1e765fb into dlang-community:master Jul 26, 2023
@burner
Copy link
Author

burner commented Jul 26, 2023

awesome, thank you

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

Successfully merging this pull request may close these issues.

2 participants