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

Configure default code formatting rules for Holohub #492

Open
mocsharp opened this issue Sep 4, 2024 · 0 comments
Open

Configure default code formatting rules for Holohub #492

mocsharp opened this issue Sep 4, 2024 · 0 comments

Comments

@mocsharp
Copy link
Contributor

mocsharp commented Sep 4, 2024

Create rules to enforce standard code formatting for Holohub.

Background: In a recent PR, where I added a few lines of code for a small fix, my VS code settings autoformatted the entire file and sorted include statements to some C/C++ standards (C++ VS Code Extension). However, I had to revert to avoid introducing formatting changes, which wasted time because the application also needed to be tested again.

Ideally, we should:

  • Define C++ formatting rules
  • Define Python formatting rules
  • Define Bash script formatting rules
  • Update VS Code settings to suggest formatting extensions
  • Update VS Code settings to enable format on close
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