Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Unnecessary warning when editing generated files #1499

Closed
tilinna opened this issue Feb 6, 2018 · 3 comments
Closed

Unnecessary warning when editing generated files #1499

tilinna opened this issue Feb 6, 2018 · 3 comments

Comments

@tilinna
Copy link

tilinna commented Feb 6, 2018

Steps to Reproduce:

  1. Use a Protobuf's protoc to generate a .go -file
  2. Try to edit the generated file

Got:
A warning popup "This file seems to be generated. DO NOT EDIT."

Expected:
No constant warnings about the dangers of editing a generated file -- I can see the fact on the file myself, thank you. At least I would've expected a configuration option to turn the warning off (if there is one I couldn't find it).

@dolmen
Copy link

dolmen commented Feb 6, 2018

See #1295 for the original design of this feature.

@ramya-rao-a
Copy link
Contributor

It's easy enough to add a "Don't show again" option to the prompt which should help your case.
PRs are welcome. I can help if anyone wants to take this up

@tilinna
Copy link
Author

tilinna commented Feb 8, 2018

I think the whole feature should be made compatible with the No Code.

@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants