Skip to content

VSCode extension that provides verification for files including auto-generated code

License

Notifications You must be signed in to change notification settings

jotadrilo/vscode-autogen-code-checker

Repository files navigation

Autogen Code Checker

Release

This extensions provides verification for files including auto-generated code.

save-file

Features

This extension shows an error message if a file containing auto-generated code is saved.

The verification mechanism is based on patterns applied to the name and the header of the file.

The default settings include common patterns to figure out if a file is auto-generated or not, but they can be easily extended using the extension settings.

Extension Settings

autogencc.patterns.filename

Patterns to apply to the name of the file in order to identify if the file is auto-generated or not.

Default:

  • generated\\..*

autogencc.patterns.header

Patterns to apply to the header of the file in order to identify if the file is auto-generated or not.

Default:

  • ^(\\/\\/|#+) Code generated( .*)? DO NOT EDIT\\.?$