Decide on convention for generated code #4379
lpil
started this conversation in
Ideas & suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Codegen is often useful! We don't currently have any recommendations for how it should be done, but we could start with a convention where generated code should be written to and how to make it clear that it is generated.
To avoid accidental editing we could copy rust-analyzer's handling of cfg'd out code and use the
unnecessary
tag to fade out generated code.https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnosticTag
Beta Was this translation helpful? Give feedback.
All reactions