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

Improve code quality by standardising the code style #58

Open
wejrox opened this issue Jul 17, 2024 · 0 comments
Open

Improve code quality by standardising the code style #58

wejrox opened this issue Jul 17, 2024 · 0 comments

Comments

@wejrox
Copy link

wejrox commented Jul 17, 2024

The code style is quite difficult to read at a glance right now, because there's so much on one line at a time and lots of redundant qualifiers.

I'd recommend running a code formatter over it.

You can do this easily by:

  1. Sign up for the JetBrains Rider EAP program to access Rider for free
  2. Access the code style settings and generate the code style from the current project (button)
    image
  3. Apply the suggested code style
  4. Search for Actions on Save in settings
  5. Enable auto formatting on save
    image
  6. Run formatting over the entire solution
    image
  7. Press Run
    image
  8. Build and fix compilation problems
    1. Some return types are replaced with auto which breaks them.
    2. There's a code style option you can change to fix this.
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

No branches or pull requests

1 participant