Well, this extension not only broke watches and the quickwatch dialog (you'd end up with the goddamned path to the current file in the expression box), but it also caused the first attempt to debug a website to always fail.
Great extension. Simple, effective and does what it claims to do. Its the little things like this that go a long ways to increasing productivity! Like someone else mentioned, the only thing its missing is themes support.
I'm using the following settings: Environment Font: Segoe UI, Size 11.
The line with the full path is cropped at the bottom.
Is the extension taking in account a custom environment font settings?
After updating to 1.3 I am getting "Object reference not set to an instance of an object" error. I fond below message in my ActivityLog.xml file.
System.NullReferenceException: Object reference not set to an instance of an object. at FilePathOnFooter.FilePathOnFooter..ctor(IWpfTextView textView, String version) at FilePathOnFooter.MarginFactory.CreateMargin(IWpfTextViewHost textViewHost, IWpfTextViewMargin containerMargin) at Microsoft.VisualStudio.Text.Utilities.ContainerMargin.<AddMargins>b__2(IWpfTextViewMarginProvider mp) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy`2 provider, Func`2 getter)
Sorry, I should have provided that info with stack trace. Anyway here you go.
OS: Window 8.1
Microsoft Visual Studio Professional 2013
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
I am not sure how to consistently reproduce this as it happens sporadically. What I have noticed is that I have dual monitors and I keep multiple files from the project open in both the monitors and this error occurs when I close and restart the project.
Thanks for putting your effort in making this plugin. This will help me a lot :)
Ok, I think I may have zero down the issue. My file name contains "_" (underscore)(actual name is style_site.less) and this exception only occurs when I open this file on the second monitor. Also I noticed that in bar where file path with name is displayed it doesn't show "_" (underscore) in the name and instead shows "C:\Projects\Demo\stylesite.less"
After updating I can now see "_" in file name :) and this time I received message box with error message.
All the test criteria's are same. A solution with multiple files open, few on monitor one and other on two and I got this error message when file name consisted "_". I am pasting error message for more details.
File Path On Footer
System.NullReferenceException: Object reference not set to an instance of an object.
at FilePathOnFooter.FilePathOnFooter..ctor(IWpfTextView textView, String version)
Steps to reproduce above error.
1) Install Web Essentials (http://vswebessentials.com/download). Now make sure Show Preview Pane is true (Tools -> Options -> Web Essentials -> Less -> Editor -> Show Preview Pane)
2) Create a new Web Project (I am using VS 2013)
3) Create one "LESS" file.
4) Keep it open and close the solution.
5) Now re-open the solution. As soon as the "LESS" file is loaded you will get above error.
I like the idea of the Extension and installed it in VS2012. But now I can't set any condition for breakpoints and I can't rename values from the Watch Window. Now I only see the name of the file at those places.