chore: enhance clangd and CI configurations for improved development experience
- Updated `.clangd` configuration to include additional include paths and feature flags tailored for ROM hacking workflows, optimizing IntelliSense support. - Introduced `.pre-commit-config.yaml` for managing code quality checks and formatting, ensuring consistent code style across the project. - Added `cmake-format.yaml` for CMake formatting configuration, promoting adherence to style guidelines. - Enhanced CI workflows to include new actions for testing and building, improving overall reliability and efficiency in the development process. Benefits: - Streamlines development setup and improves code quality through automated checks. - Facilitates better collaboration by ensuring consistent coding standards and configurations.
This commit is contained in:
11
cmake-format.yaml
Normal file
11
cmake-format.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# CMake format configuration
|
||||
line_width: 80
|
||||
tab_size: 2
|
||||
max_subargs_per_line: 3
|
||||
separate_ctrl_name_with_space: true
|
||||
separate_fn_name_with_space: true
|
||||
dangle_parens: true
|
||||
command_case: lower
|
||||
keyword_case: upper
|
||||
enable_sort: true
|
||||
autosort: true
|
||||
Reference in New Issue
Block a user