Is there an option to easily view the current file's encoding (utf-8, utf-8 w/out BOM, ascii, western, etc)?
I am working mostly on the web applications, so this is crucial to me.
I can't find this anywhere besides the "Save as" dialog... When you are saving a file in Visual Studio, you can choose "Save MyClass.cs as", and then click on the down arrow and choose "Save with Encoding...". Then you have the option to see and change the currently selected Encoding and Line endings options. But this is 4-5 clicks, just too much work for such a simple information!?
There is a "View.ChooseEncoding" command, but no luck in running it, all I get is "Command "View.ChooseEncoding" is not available."
I have tried to display it in the status bar with my own Add-in, but no luck, can't find Encoding information anywhere in the automation API. I have used EnvDTE.Document to access the current file information when opening/saving.