This PR is closely related to #20, and partially reverts some of the behavior.
Rather than adding backticks to every identifier, the change only adds them to:
reserved keywords (type, val, etc), and
invalid identifiers (things with symbols, spaces, etc - may not be needed because of .proto restrictions).
All other identifiers are left alone.
The main motivation behind this is that some IDEs (cough IntelliJ) do not do well with backticks and code completion. This makes it a real pain to write code that uses classes generated by ScalaBuff.
This PR is closely related to #20, and partially reverts some of the behavior. Rather than adding backticks to every identifier, the change only adds them to:
type
,val
, etc), andAll other identifiers are left alone.
The main motivation behind this is that some IDEs (cough IntelliJ) do not do well with backticks and code completion. This makes it a real pain to write code that uses classes generated by ScalaBuff.