You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a Warning to Generated .json Files: DO NOT EDIT MANUALLY #7
To prevent confusion and incorrect manual edits to auto-generated .json files, prepend a prominent warning to the generated .json files. The warning should explain that the files should not be edited manually and provide a link to the documentation. Optionally it could also link to the file containing the corresponding JavaDoc annotation.
A possible message would be:
// WARNING: This file is auto-generated. DO NOT EDIT MANUALLY.
// Changes to this documentation should be made in the corresponding JavaDoc annotations.
// For more information, refer to the Doclet script documentation: https://github.com/processing/processing-doclet/blob/main/README.md
// The source for this file is located at [link to corresponding file]
Edit: I realize the JSON standard doesn't allow comments but we could strip the comments before feeding the files to the parser if it causes issues.
changed the title [-]Add a Detailed Warning to Generated JSON Files: `DO NOT EDIT MANUALLY`[/-][+]Add a Detailed Warning to Generated `.json` Files: `DO NOT EDIT MANUALLY`[/+]on Jul 12, 2024
changed the title [-]Add a Detailed Warning to Generated `.json` Files: `DO NOT EDIT MANUALLY`[/-][+]Add a Warning to Generated `.json` Files: `DO NOT EDIT MANUALLY`[/+]on Jul 12, 2024
Activity
[-]Add a Detailed Warning to Generated JSON Files: `DO NOT EDIT MANUALLY`[/-][+]Add a Detailed Warning to Generated `.json` Files: `DO NOT EDIT MANUALLY`[/+][-]Add a Detailed Warning to Generated `.json` Files: `DO NOT EDIT MANUALLY`[/-][+]Add a Warning to Generated `.json` Files: `DO NOT EDIT MANUALLY`[/+]