Skip to content

Conversation

@versable
Copy link
Contributor

Hey @Try,

to help with code consistency, I've added a .editorconfig configuration file. This is basically a standard for keeping code (line indentations, line breaks, and more) consistent.

It's respected by most editors/IDEs without plugins (https://editorconfig.org/#pre-installed).

Check out the documentation here: https://editorconfig.org/

Define editor settings based on existing code conventions:
- 2-space indentation for C++, CMake, shaders, and scripts
- LF line endings, UTF-8 charset
- Trim trailing whitespace, ensure final newline
.editorconfig Outdated
indent_size = 2

# GLSL Shaders
[*.{glsl,vert,frag,comp}]
Copy link
Owner

Choose a reason for hiding this comment

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

Need to declare other types of shaders: tese,tesc,task,mesh.

I've attempted to edit inline, but my change was apparently overriden by another force-push commit :|

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh sorry, try again.

@versable
Copy link
Contributor Author

@Try LGTM ;-)

@Try Try merged commit df16f7d into Try:master Jan 25, 2026
7 of 8 checks passed
@Try
Copy link
Owner

Try commented Jan 25, 2026

Merged, thanks!

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