Friday, October 23, 2009

How to identify menus and commands with Visual Studio?

Sometimes when we extend the Visual Studio it's very important to know what IDs the menu or command has. Ed Dore published great post Using EnableVSIPLogging to identify menus and commands with VS 2005 + SP1, which describes how to enable VSIP (the old abbreviation of VSX) logging.

To do that all you need is to add(or change) the setting in Windows Registry that informs IDE to enable logging. That is the registry file content for Visual Studio 2005 SP1 or above:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\General]
"EnableVSIPLogging"=dword:00000001

Similar registry file will work for Visual Studio 2008 as well:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\General]
"EnableVSIPLogging"=dword:00000001

Once "EnableVSIPLogging" setting is set to 1, you can click on menu or command with CTRL+SHIFT pressed to see the information about clicked item in message box like this:

VSDebug Message box for Format Document toolbar button

Look to Ed Dore's post for more details.

Keep in touch and happy extending!

Read more...

Tuesday, October 20, 2009

Beta Visual Studio 2010 and .NET Framework 4 released!

On 21 October developers can try new possibilities provided by Visual Studio 2010 Beta 1 and .NET Framework 4.0!

The most important things:

  • Top testing possibilities
  • IDE improvements
  • New drag-and-drop data binding mechanism for Silverlight and WPF
  • Development tools for Windows 7, SharePoint and other technologies
  • New integration possibilities with such technologies as: ASP.NET MVC, UML, Expression, multi-core and database

Read more about and download new Visual Studio 2010 Beta 1 here: http://www.microsoft.com/visualstudio/en-us/products/2010/default.mspx

Keep in touch and happy extending!

Read more...

Tuesday, August 4, 2009

Visual Studio 2010 SDK Beta 1 released

Visual Studio 2010 SDK Beta 1 is now available for download here. Read more...

Tuesday, July 7, 2009

I have received the 2009 Microsoft MVP Award!

I have received the 2009 Microsoft MVP Award for this year as well. I've been awarded in 2008 and now I'm still Microsoft MVP. Cool! :) Read more...

Sunday, May 24, 2009

Create innovative extensions for Visual Studio 2010!

I have received the cool information about the Visual Studio 2010 Beta 1 extensibility. So I have just decided to quote it in my blog as is: “Are you building new tools to simplify your life or change the way people work? Check out the opportunities to create innovative extensions for Visual Studio 2010…





Examples of cool things you can do:



  • Overlay rich metadata on top of the editor to bring new information to your fingertips

  • Develop new project templates to accelerate your work (examples: New Project Dialog)

  • Create innovative user interface elements using the WPF Shell

  • Upload your extension to the Visual Studio Gallery to find it in the Extension Manager



Other things you should know:




  • With v2 of the Visual Studio Gallery that went live on 5/14, you can use the Extension Manager to find products from the ecosystem from within Visual Studio
    (with Beta1, the Extension Manager will only surface extensions posted to the Gallery in the VSIX file format; Beta2 will include the MSI format)

  • We just released the new SDK along with the new Shell redistributables, look for them at the dev center: http://msdn.com/vsx
  • If you’re developing extensions for VS 2010, you’ll want to stay tuned to the dev center for more information



Fun things to help you get started – these can be found in the Extension Manager (Tools>Extension Manager): search for Editor Extensions



DemoDashboard Sample:



The DemoDashboard sample is a WPF “dashboard” designed for folks presenting demos in VS2010 to get real-time audience feedback via Twitter. Use this sample to give presentations, build your own widgets, etc. The wiki on the CodePlex site will give you all the info you need to get started. You can share the feedback you get with your followers on Twitter.



get it: Tools>Extension Manager


or from the Gallery: here


source: http://demodashboard.codeplex.com


screenshot:





RegEx Editor Sample:


This sample was built to ease the your pain when working with regular expressions. It shows re-hosting of the editor in a window and provides a nice starting point for similar projects.


get it: Tools>Extension Manager


or from the Gallery: here


source: http://editorsamples.codeplex.com


screenshot:




Custom Intellisense Sample:


This sample provides a custom WPF-based UI for Intellisense -- with databinding and other cool features. You might want to use it as-is, you might want to personalize it, you might want to build new features for it – the choice is yours.


get it: Tools>Extension Manager


or from the Gallery: here


source: http://editorsamples.codeplex.com



screenshot:




Image Insertion Sample:


This sample is all about visualizing resources inline, it provides some nice transparency effects when you’re dragging an image from the solution explorer, and will automatically resize text to fit the image.


get it: Tools>Extension Manager


or from the Gallery: here


source: http://editorsamples.codeplex.com


screenshot:




FAQ:



1. What is the Extension Manager and how do I find it?



The Extension Manager in Visual Studio enables developers to discover Visual Studio Extensions from within the product itself. It consumes data directly from the Visual Studio Gallery, giving developers direct access to partner and community products that extend and enhance Visual Studio. If you have a free or free trial version of your product hosted on the Visual Studio Gallery, a developer will be able to download and install that product directly from within the IDE. (In Beta1, the in-product experience will show only extensions uploaded as a VSIX. In Beta 2 we will expand the in-product experience to also include extensions uploaded as MSI and reference links to other download sites.)


The Extension Manager enables a developer to install, upgrade, uninstall, enable, and disable extensions, making it easier to manage a portfolio of extensions.


To find the Extension Manager: Tools>Extension Manager.



2. So this means the Visual Studio Gallery can now host downloads?


Yes, we’re excited to announce that the Visual Studio Gallery can now host your downloads. Keep in mind that at this time the gallery does not include a commerce framework so we recommend creating a free or free trial version of your product that can be hosted on the Visual Studio Gallery. Of course we still support reference links for users who prefer to host their own downloads.



3. What else is new @ the Visual Studio Gallery?


Thanks to some great work by the MSDN team we’ve moved the Visual Studio Gallery to be part of MSDN. Some of the benefits:




  • The new navigation model supports all types of Visual Studio Extensions and has sections for Tools, Controls, and Templates

  • The integration with MSDN now gives users a chance to take advantage of a shared profile across all MSDN properties. Contributing to the gallery can enhance your MSDN reputation giving high quality contributors the recognition they deserve.

  • Visual Studio Gallery contributions offer an optional discussion board to separate your reviews and give contributors an opportunity to post updates, respond to feedback, & discuss bugs.

  • All entries include a usage chart to give contributors a sense of which of their products are getting the most traffic on the Visual Studio Gallery.



4. What’s the deal with the VSIX file format I’ve heard about?


Both the new Visual Studio Gallery and the Extension Manager work with .VSIX files, which is a new deployment model for extensions, similar to a renamed .ZIP file. This transition provides Visual Studio users a new low-overhead, reliable way to deploy Visual Studio Extensions. There’s tooling available to help you with this, and you can find instructions and other helpful tips at the Visual Studio Extensibility Dev Center: http://msdn.com/vsx.



Read more...

Visual Studio 2010 SDK available for download

A few days ago Visual Studio 2010 Beta 1 SDK becomes available for download. The Visual Studio 2010 SDK Beta 1 provides tools and templates for building Visual Studio extensions. By using the Visual Studio SDK, you can build your own tool windows, create menu commands, and add extensions to the new Visual Studio editor and other features.

You can download the Visual Studio 2010 Beta 1 SDK here.

Also check the Visual Studio 2010 SDK Beta 1 Readme to avoid possible problems with migration.

Keep in touch and happy extending!


Read more...

Visual Studio 2010 Beta 1 released!

Visual Studio 2010 Beta 1 has been released to the web. It has the new look and feel which relies heavily on WPF. There are a few screenshots available on Jason Zander's WebLog.


Visual Studio 2010 has some new interesting features like Extension Manager, and a lot of cool improvements in Code Editor. There are a few links pointing and describing new stuff in Visual Studio 2010:



You can download Visual Studio 2010 Beta 1 here.


Keep in touch and happy extending!


Read more...

Thursday, May 14, 2009

Snip your DSL into prototypes

In case you did not see it yet, have a look at the cool white paper Snip your dsl into prototypes posted on NetFxFactory.

It provides the intersting solution based on DSL Tools.

Source: http://www.netfxfactory.org/blogs/papers/archive/2008/06/25/snip-your-dsl-into-prototypes.aspx

Keep in touch and happy extending!

Read more...

Sunday, November 9, 2008

Visual Studio now in Russian!

Being Russian myself I glad to announce that from now Russian localization of Visual Studio is here.

There are links to download Russian Visual Studio trials and related staff, which I grabbed from Quan To's weblog :)

And these two links are stolen from VSX Team Blog: the Russian edition of Visual Studio has just been released which includes a Russian Integrated Shell and Russian Isolated Shell. Read more details on Quan To's Visual Studio Extensibility blog. And...

Да здравствует Студия!!! :)

Keep in touch and happy extending!

Read more...

Tuesday, October 28, 2008

Microsoft Visual Studio Tips book by Sara Ford released

This week new Microsoft Visual Studio Tips book written by Sara Ford has been released.



You might know that Sara posted a lot of valuable tips about working in Visual Studio at her blog. Sara’s tips can be found also found here in Russian translated by Vitaly Zaiko. And here in French, and in Spanish as well.





Read more details on Amazon website about Microsoft Visual Studio Tips book.



Keep in touch and happy extending!


Read more...