-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Code standards update May 2024. #6684
Code standards update May 2024. #6684
Conversation
Now might also be a good time to put the This will speed up PRs even further, as developers no longer need to manually adjust their IDE settings for Skript. Links:
|
Tud has already agreed to do this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just some thoughts :)
Co-authored-by: Patrick Miller <[email protected]>
b25d563
to
77199b2
Compare
* Add player chat completion suggestions * Add method exists check * Syntax adjustment and remove DataFlowIssue suppression * Docs improvements * Requested changes * Update src/main/java/ch/njol/skript/expressions/ExprPlayerChatCompletions.java Co-authored-by: sovdee <[email protected]> * Remove license header (#6684) * Java 17 ready --------- Co-authored-by: sovdee <[email protected]> Co-authored-by: Moderocky <[email protected]>
Description
Our standards committee have decided upon a set of changes to code conventions and contribution standards, designed to make things a little clearer and more modern.
Some former rules have been relaxed (where we no longer felt the restrictions were helpful/necessary) and some new things have been standardised.
Overview of Changes
@NotNull
) can now go before the value, rather than the method (e.g.public @NotNull Object myMethod()
){
brackets}
around single-line blocks.if ... else {...}
)Target Minecraft Versions: any
Requirements: none
Related Issues: none