This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Closed
Description
opened on Oct 20, 2017
The Go community has a standard for files marked as machine-generated: https://golang.org/s/generatedcode
It is expected that the generator may ran again and that any changes made by a human would be overwritten. So those files should not be modified by humans. It would be helpful if VSCode could help to enforce this.
So I propose that when a .go file is opened and it contains the ^// Code generated .* DO NOT EDIT\.$
pattern the readonly mode would be enabled.
Activity