Replies: 1 comment 1 reply
-
Objeck has a source code formatter. It is part of the LSP codebase, however, it could be migrated to be a general-purpose library. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussed in #164
Originally posted by ghost February 27, 2023
Something like AStyle for C/C++? @objeck
The original thread is only about code formatter. What I'm suggesting is a code linter. Objeck supports many alternative syntaxes. For example, with or without the semicolon at the end of each statement. The official Objeck code written by you, @objeck, seems to default to the original syntax, which is to always have a semicolon at the end of each statement. Code written by other people isn't necessary to follow this convention. If they want to upstream their code to you, the problem of inconsistency in syntax will arise. There should be a tool to convert back and forth between the syntaxes.
Beta Was this translation helpful? Give feedback.
All reactions