vs-extensibility Questions

2

Solved

I'm writing a Visual Studio extension, which allows editing specific type of files in the project. This file serves as a description for further automated code generation (similarly to, say, Entity...

2

Solved

In our project we use a lot of T4 code generation. We use an ORM called DataObjects.Net of X-Tensive. We have a bit a chicken-egg problem. We need to compile the classes of the ORM before we can us...
Appressed asked 15/3, 2014 at 15:12

2

Is there a way to include folder into VC++ project programmatically via VCProject or EnvDTE interface?
Pulver asked 5/11, 2012 at 13:45

4

Solved

I've read a fair amount about the improvements of the extensibility story in VS2010 being much improved (i.e. MEF based, etc.), but have yet to get my hands dirty. I've recently ran across a real w...
Longwinded asked 8/7, 2010 at 0:3

2

Solved

I am currently changing a company-internal VS extension to support Visual Studio 2012. What I am struggling with is how to make the UI adapting to the active VS theme dynamically. I found several ...
Capsular asked 27/6, 2013 at 14:15

1

Solved

I am new to Visual Studio Extensibility and am try to implement one of the Microsoft Walkthroughs from the VS 2012 SDK (Displaying Statement Complete). I am having some difficulty with one class in...
Nisus asked 26/6, 2013 at 17:6

2

I would like to add a button to the top of the list of options returned by Visual Studio's IntelliSense. When the button is clicked, my custom code will be executed (which will, among other things,...

1

Solved

I am trying to create a VS package in which, I have added a menu command to the context menu, so it appears when you right click an item in the solution explorer. Now on clicking the command, I wan...
Catfall asked 2/11, 2012 at 12:4

2

Solved

While trying to develop my first VS Addin, I am having issues in firing DTE2 events. Basically, the DocumentOpened and LineChanged events don't fire for some reason. What important part did I miss...

3

Solved

Is there a way to get the HWnd pointer to the top window of Visual Studio 2010 from a VSIX extension? (I would like to change the title of the window).
Rileyrilievo asked 14/12, 2010 at 14:47

1

I am writing an extension to Visual Studio intellisense and would like to get the type of the item just before the cursor in a C# editor. I currently have a ITextBuffer which I can use to get the ...
Branen asked 3/7, 2012 at 9:29

1

Solved

I'm trying to figure out how to get the visible lines in a IWpfTextView to place a ViewPort and/or Text Adornment based on visible lines. It seems that these 4 are involved in some way, at least t...
Routine asked 11/4, 2012 at 13:42

1

Solved

I am writing a customization package for Visual Studio 2010 (vsix). What I need to do is to add a context menu button to the Project nodes in Solution Explorer. I've managed to get the context m...
Adrien asked 15/6, 2012 at 11:23

4

Solved

I have a custom output pane set up in a VsPackage similar to the following: ///-------------------------------------------------------------------------------- /// <summary>This property g...
Armington asked 1/12, 2011 at 17:29

1

From a macro I am accessing a command that is on the toolbar: Dim name As String = "Macros.MyMacros.MyMacros.ToggleExceptions" Dim cmd As EnvDTE.Command = DTE.Commands.Item(name) How do I now ch...
Kearney asked 27/10, 2011 at 22:35

3

Solved

C# unfortunately does not allow for extra user-defined syntax. But I was wondering whether it was possible to surpass this limitation by tapping into the visual studio onbuild-event. Suppose I hav...
Darter asked 20/10, 2010 at 20:5

1

Solved

When creating a Visual Studio Add-In, how can you utilise an app.config for the add-in. If I add one to the project and deploy it then when the Add-In runs and I programmatically try to access it v...
Sensationalism asked 13/10, 2010 at 15:27

1

Solved

Given a type name, is it possible to use DTE to find the ProjectItem that the type is located in? Something similar to how the Navigate To... dialog works in Visual Studio 2010. The closest I coul...
Plastid asked 30/3, 2010 at 22:32

2

Solved

I have some tools that perform updates on .NET solutions, but they need to know the directory where the solution is located. I added these tools as External Tools, where they appear in the IDE Too...
Olio asked 13/1, 2010 at 3:29

1

Solved

I have successfully created (and manually edited) an Item Template that will add a number of files in one 'shot'. I want these files to all be created under a folder that should be created at the s...
Barbary asked 1/10, 2009 at 15:48

© 2022 - 2024 — McMap. All rights reserved.