Questions tagged [vsx]

Visual Studio eXtensibility (VSX) is the ability to develop extensions to the Visual Studio IDE from Microsoft. Extensions are developed using the VSSDK.

Links:

Most of the information on add-ins is in the SDK.

350 questions
46
votes
2 answers

where are custom extensions installed in visual studio?

Where are custom extensions installed in Visual Studio? I know you could get path though ExtensionManager.GetInstalledExtensions(), however it seems none of the paths found corresponds to my extension.
Yituo
  • 1,135
  • 2
  • 11
  • 19
42
votes
2 answers

Visual Studio 2010 addin writing articles/tutorials?

Does anyone know of some good articles / tutorials on writing addins/plugins for Visual Studio 2010?
Simon
  • 30,844
  • 15
  • 120
  • 187
37
votes
5 answers

How do I write to the Visual Studio Output Window in My Custom Tool?

I am writing a custom tool and I currently have it doing what I want as far as functionality. I would like to be able to write to Visual Studio if something goes wrong. (Incorrectly formatted code or whatever). Are there any standards for this?…
Jeff Martin
  • 9,895
  • 6
  • 46
  • 67
32
votes
3 answers

"Visual Studio Integration Package" vs "Visual Studio Add-in": what is the difference?

When creating a new extension for visual studio, there are two project options: "Visual Studio Integration Package" and "Visual Studio Add-in". What is the difference between the two project types and when would you use one over the other?
Nathan Voxland
  • 13,759
  • 1
  • 44
  • 60
15
votes
2 answers

How to write a Visual Studio extension for a template or markup language that supports embedded code snippets

Is it possible to write an extension for Visual Studio 2010 that provides syntax highlighting, intellisense, outlining, etc for a custom template or markup language supporting embedded code snippets, similar to the tooling for Razor in ASP .NET MVC…
15
votes
4 answers

Tool in Visual Studio 2008 for helping with Localization

Does anyone have any recommendations of tools that can be of assistance with moving literal values into resource files for localization? I've used a resharper plugin called RGreatX but was wondering if there is anything else out there. It's one heck…
Campbell
  • 2,836
  • 3
  • 26
  • 26
14
votes
6 answers

Visual Studio Extension to map Solution Folders to Real Folders

In an earlier question, I've found out that sadly Solution Folders are not real folders inside a directory. I wonder if there is an AddOn or Macro that adds this functionality? i.e. when I create a Solution Folder, it created a real folder. When I…
Michael Stum
  • 167,397
  • 108
  • 388
  • 523
14
votes
4 answers

Visual Studio plug-ins development, first steps

I would like to make a plug-in for visual studio... But I have no idea where to start. While it was quite easy to find guides for Eclipse plug-in development, I'm having troubles to find a good guide for VS plug-in development. I guess what I'm…
thedp
  • 8,178
  • 16
  • 49
  • 87
14
votes
1 answer

How do I detect a breakpoint being deleted in Visual Studio?

There doesn't seem to be any event in EnvDTE's DebuggerEvents that notifies the consumer when a breakpoint is deleted. I've also looked at Visual Studio SDK and registered an IDebugEventCallback2, but no callback seems to be triggered when I deleted…
Omer Raviv
  • 10,717
  • 4
  • 40
  • 81
13
votes
2 answers

Subscription to DTE events doesn't seem to work - Events don't get called

I've made an extension inside a package and I am calling the following code (occurs when a user presses a button in the toolbar): DocumentEvents documentEvents = (DTE2)GetService(typeof(DTE)); _dte.Events.DebuggerEvents.OnEnterBreakMode +=…
VitalyB
  • 10,803
  • 7
  • 64
  • 88
13
votes
2 answers

How to create a new project type in VS2010?

I've figured out how to create a new template, but I need a little more power than that. I need to override what happens when you click the "Run" button for example -- I want it to fire up a development server and then pop open my web browser. So,…
mpen
  • 237,624
  • 230
  • 766
  • 1,119
11
votes
12 answers

Domain Specific Language resources

I was just listening to some older .Net Rocks! episodes, and I found #329 on DSLs to be interesting. My problem is that I can't find any good online resources for people trying to learn this technology. I get the basics of the creating new…
Eric Haskins
  • 8,227
  • 11
  • 35
  • 47
10
votes
2 answers

Is it possible to refresh WCF service reference from VS2010 addin?

I want to "simulate" the Right click/Update service reference command in a VS2010 addin. I have a reference to the containing (Silverlight...) project, I know the name of the service reference and the url of the service. I've found this:…
TDaver
  • 7,024
  • 5
  • 44
  • 91
9
votes
1 answer

VSX: How can I reuse the existing XML editor to handle binary files converted to XML?

I'm trying to create an extension VSPackage for VS2017 (in C#) which would convert binary data to XML, opens that in the default VS XML editor and XML language service, and then converts it back to binary upon saving. However, I have troubles to…
Ray
  • 5,849
  • 3
  • 42
  • 75
9
votes
3 answers

Visual Studio add-in for validating string.Format method

string.Format is a very risky method. There are a lot of thing that could go wrong, without any compilation errors: string.Format("{0{", text); string.Format("{1}", text); string.Format("(0)", text); string.Format("{0}", text1, text2); I'm looking…
HuBeZa
  • 4,441
  • 2
  • 32
  • 55
1
2 3
23 24