I’m constantly receiving the following error in a very simple WebProject with 1 html file, 1 js and ext lib included.
Microsoft Visual Studio
Document contains one or more extremely long lines of text. These lines will cause the editor to respond slowly when you open the file. Do you still want to open the file?
Yes No
My VS version is 2008. I don’t have long lines in my html. I don’t have DB connections. Anyone knows the reason?
When you say “ext lib” I assume you mean the ExtJs javascript framework. The minified version of the ExtJs framework puts the whole framework on a single line. You can test this by double clicking on the ext-all.css or ext-all.js (not ext-all-debug.js) file in Visual Studio to open it in the editor and you should see the message again. The real annoying part is that the message also shows when the ExtJs library is included in the page head as a script tag (or link tag in the case of the css file). My guess is that Visual Studio is silently opening these files in the background.