Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 constantly complaining that a file has been modified outside of the source editor

I am working on a parser, using the parser generator ANTLR in Visual Studio. Naturally, ANTLR is continually regenerating certain files. Every single time it does this, VS has a popup saying:

The file has been modified outside of the source editor.
Do you want to reload it?

The answer I want is always Yes to All.

Is there any way to tell Visual Studioto always assume I want to reload auto-generated files, without prompting?

like image 566
William Jockusch Avatar asked Nov 28 '13 00:11

William Jockusch


1 Answers

Click Tools then options then under the environment node on the left choose documents then check the box that says Auto-load changes, if saved:

enter image description here

like image 152
Avitus Avatar answered Nov 02 '22 16:11

Avitus