The extension works exactly as advertised. Great! The only reason for not giving the fifth star is that I would have preferred an interface that did not clutter the right click menu any futher.
This extension can make formatting code for the following simpler: a) online publishing b) walkthrough/inspection c) side by side file comparison with many GUI based Diff Tools
I have seen a few blogs where the code either got cut off or forced the visitor to perform unnecessary scrolling because a single code line went way beyond any reasonable constraint. I understand that not everyone feels the same way I do, but I think this extension should be included automatically in VS2012 and turned on by default.
Now that I have found this extension, I need to go and clean up some of my own code...
Hi Paul,
I'm using Visual Studio 2012 in 64-bit Windows 7. When I installed this Editor Guidelines, I got the following error message:
----------------------------------------------
Installation Failed
The installation was unable to install the extension to all the selected products. For more information, click on the install log link at the bottom of the dialog.
This extension is not installable on any currently installed products.
----------------------------------------------
Could you please help me about it?
Thanks a lot!
Kevin
Hi, Kevin. I'm sorry you're having problems. I can confirm that 64-bit Windows 7 is supported. I haven't encountered this problem before. Is there any more information in the "install log" link?
- Paul
Hi Paul. Thanks for your quick response. I post "Install Log" as below.
BTW, I'm using VS 2012 "Express".
I also found the following link, which mentioned your Editor Guidelines, said "Open the registry at HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\Text Editor". However, I didn't find this item in my registry. In "11.0", I have only "(Default)", "UpgradeCheckScheduledTimestamp", and three folders called "DataProject", SQLDB", and "TeamFoundation".
I'll have a try for "Productivity Power Tools" to see if it can work.
Thanks!
http://stackoverflow.com/questions/84209/adding-a-guideline-to-the-editor-in-visual-studio
Install Log (Continue):
----------------------------------------------------------------------------
2/15/2013 6:50:10 PM -
2/15/2013 6:50:10 PM -
2/15/2013 6:50:10 PM - Searching for applicable products...
2/15/2013 6:50:11 PM - Found installed product - Microsoft Visual Studio Express 2012 for Windows Desktop
2/15/2013 6:50:11 PM - Found installed product - Global Location
2/15/2013 6:50:11 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Hi, Kevin. Thanks for providing the extra information. Unfortunately, gallery extensions don't (generally) work on Visual Studio Express. Extensions are supported in Visual Studio Professional and above. Please see my answer to "whirlwin" below.
Sorry about that. I should have realized that was the most likely explanation.
- Paul
Hi.
I recently downloaded Visual Studio 2012 (more precisely Visual Studio Express 2012 for Web).
But it says that this is incompatable, and I can't find it via the extension manager.
The Express editions of Visual Studio do not support non-Microsoft extensions. While I work for Microsoft, this extension was released as a personal project, so I can't make it work for Express. Sorry.
oops, reopening a code window after closing all and then I could get 'remove'.
reproducing...
yep, that's it. had to close editor window and reopen to get 'remove'
Hi Paul,
I'm trying to use this extension in the VS 2011 preview, but I get an exception on launch of VS. This is from the activity log:
346 ERROR Could not load file or assembly 'Microsoft.VisualStudio.JavaScript.LanguageService.dll' or one of its dependencies. The system cannot find the file specified.
C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\WEBCLIENT\LANGUAGE SERVICE\Microsoft.VisualStudio.JavaScript.LanguageService.dll Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2012/03/01 21:29:28.558
Please could you confirm which version of Visual Studio 11 you are using? The developer preview edition (from September 2011) or the Beta edition from February 2012?
If it's the developer preview, then I'm sorry to say that this version is not compatible.
Can you see if uninstalling the extension makes that error go away?
Obviously, I haven't seen that error myself and none of my colleagues who've been testing it has seen that either. Editor guidelines also does not use the JavaScript language service, so it's hard to imagine how this extension has caused that exception.
Let me know if you figure out what is wrong.