Questions tagged [visual-studio-addins]

Add-ins extend Microsoft Visual Studio using the automation model (EnvDTE). Removed in Visual Studio 2015.

452 questions
4
votes
1 answer

VSTS2010 Addin Development - Check-in hooks

I've been tipping my toes in Visual Studio Add-In development. I've read some of the tutorials online, and studied some of the sample code provided. Now I actually want to perform custom actions before/after a TFS check-in command is called by the…
RoelF
  • 7,483
  • 5
  • 44
  • 67
4
votes
1 answer

What is the easiest way to add a Visual Studio 2008 Context Menu Item?

I would like to add a custom menu item when you right-click a certain file extension in Visual Studio. There seem to be some helper open source projects to accomplish this, but I'd like to ask if anyone has ever used them, and how easy were they -…
Adam
  • 28,537
  • 15
  • 60
  • 73
4
votes
1 answer

DebuggerEvents.OnEnterRunMode Event doesn't work in Visual Studio 2012

I have Add-in that run successfully in Visual Studio 2010, but when I run it in Visual Studio 2012 the DebuggerEvents.OnEnterRunMode Event doesn't fire. In the MSDN there is nothing about changes in DebuggerEvents events between Visual Studio 2010…
user3114639
  • 1,895
  • 16
  • 42
4
votes
0 answers

What addins provide javascript extract method refactoring with Visual Studio?

I need to perform extract method refactoring on my javascript files in visual studio 2010. In visual studio, the Refactor menu is hidden and the CTRL+R,M macro does not work. However, renaming variables CTRL+R,R works. I need extract method. Also, I…
4
votes
2 answers

Visual Studio 2012 Update 2 and Git Tools

When MS released Git Tools for Visual Studio 2012, they said that it requires Update 2 - http://www.hanselman.com/blog/GitSupportForVisualStudioGitTFSAndVSPutIntoContext.aspx. I'm developing some Visual Studio extension and it's interesting for me,…
4
votes
1 answer

What happened to Xsd2Code class generator Add-in for Visual Studio?

I am using Version 3.4 and it is no longer working and the link on codeplex indicates, "This project is not yet published." Maybe an exception is thrown in the check for updates because the Generate button is not doing anything. Anyone know what…
Bama91
  • 884
  • 2
  • 10
  • 24
4
votes
4 answers

Adding a separator to menu in Visual Studio extension

I am building my first Visual Studio extension, and now that I am nearing the end I am just trying to make it look a little better. I have my own heading in the top menu with items in it. I would like to add a separator to the menu to make it…
4
votes
1 answer

How to get the current line number at break/exception in Visual Studio add-in?

I'm messing around with the Visual Studio add-in API trying to see if something I want to do is possible. One thing I am doing right now is something like: public void Exec(string commandName, vsCommandExecOption executeOption, ref object varIn,…
4
votes
2 answers

Is there a custom language add-in for Visual Studio 2012 / VS11?

Well I want to add support for the PAWN language to Visual Studio 2012. But because of the lack of experience and lack of tutorials/add-ins which I can edit it's really a difficult task. For now I only want to add the filetypes and compiler, no need…
user1182183
4
votes
3 answers

Creating a Visual Studio Tool Window - VsAddin or VsPackage

Simple question - I found two ways to add a tool window to Visual Studio (2008): create an addin or create a package. (Addin: http://www.codeproject.com/KB/dotnet/vstoolwindow.aspx) (Package: http://msdn.microsoft.com/en-us/library/bb165051.aspx) …
Arielr
  • 447
  • 3
  • 13
4
votes
1 answer

How would I retrieve the fully qualified name of an identifier in a VS macro?

I'm trying to resolve the fully qualified name of a c# identifier at a certain point (cursor) of a code window, using a Macro (or even an Add-in) in Visual Studio 2008. For example, if the cursor is in "Rectangle", I would like…
ste
  • 818
  • 2
  • 9
  • 16
3
votes
3 answers

How to change/delete between blocks and braces using VSVIM

I am using vsvim and I think that it is a great tool. The only issue I have is regarding changing/deleting text between braces and parentheses doesn't seem to work. Here some examples I have verified in gvim, but do not seem to work in vsvim: di(…
cweston
  • 11,297
  • 19
  • 82
  • 107
3
votes
1 answer

Making tool window show automatically on VS load

In my Visual Studio extensibility project, I'm attempting to make my tool window visible upon launch after package installation. The dotneteers describe a way of doing this that involves adding the following line to the package header (i.e.…
Dan Nolan
  • 4,733
  • 2
  • 25
  • 27
3
votes
1 answer

How to distribute/deploy a Visual Studio Add-in

I created my own Add-in with Visual Studio 2010. This Add-in is loaded at the startup of Visual Studio and it adds an entry in the Tools menu. The action of the Add-in is executing by clicking on its entry in the Tools menu. The Add-in works well,…
3
votes
2 answers

How to find and delete registry entries in Wix

I am trying to write a Wix3 install for a visual studio add-in. I have it just about there, but I need reset the plugin by deleting a registry entry. Specifically any value starting with…
Adam Tegen
  • 25,378
  • 33
  • 125
  • 153