Questions tagged [visual-studio-addins]

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

452 questions
0
votes
2 answers

How can I get visual studio text editor background colour?

I want to be able to get the rgb colour of the back of the text editor in visual studio so I can use it in an addin so it goes with the theme the user has set.
Levi H
  • 3,426
  • 7
  • 30
  • 43
0
votes
0 answers

Creating and adding a file to a solution via add-in

Hi everyone I wanted to know if I can create an add-in where it creates a file and adds it to the solution? If it's possible how can I do it? This is the use case - When a aspx extension file is open and I click on my add-in, it will check the…
0
votes
4 answers

Failed to load platform plugin "windows". Available platforms are : Error

I've created Qt project using Visual studio 2012 32 bit and Qt5 SDK with the help of Visual studio Qt addon. I'm using Windows 7 ultimate OS. I have created QApplication GUI Project which basically uses the following…
Raveendra M Pai
  • 445
  • 2
  • 10
  • 27
0
votes
0 answers

How does a Visual Studio Add-in receive notification of user input events?

I am taking my first crack at building a Visual Studio add-in (using C#). When the add-in is enabled, I want it to execute some code in response to a a sequence of keyboard input (e.g. CTRL + ALT + P...or whatever). Unfortunately, every time I…
charunnera
  • 357
  • 4
  • 16
0
votes
1 answer

How to write a custom language plugin for VS2012

We use a custom scripting language for some of our tools. We'd like to enable some IDE features when editing scripts in VS2012 In short, I want to write an extension which supports: Basic code highlighting Basic syntax checking Intellisense would…
Basic
  • 26,321
  • 24
  • 115
  • 201
0
votes
2 answers

How to cast ComObject to ENVDTE.Project for Unmodeled projects?

My question is very similar to this one: How to cast ComObject to ENVDTE.Project? I want to process the Project items selected in Visual Studio -> Solution Explorer. If project is loaded the code works fine but I have troubles for unloaded projects…
Slappy
  • 5,250
  • 1
  • 23
  • 29
0
votes
1 answer

How do I provide multiple vsFindOptions in TextDocument.ReplacePattern?

I hope you guys might help me become smarter. I am making a simple VS2012 Addin. The Addin is a more extensive search/replace functionality specific to a task regularly performed at our company. I have a Tools menu option added in Visual Studio…
Marcus
  • 8,230
  • 11
  • 61
  • 88
0
votes
1 answer

How can you make the file get added to the recent projects MRU list when programatically opening a solution in VS?

When a solution is programmatically opened in an add-in/extension (VS2012 in my case) using Solution.Open, the solution file is not added to the projects MRU (i.e. File->Recent Projects and Solutions menu) as it would be if you opened the solution…
0
votes
1 answer

Visual Studio Extensibility point for new files

I need to replace default naming convention in Visual Studio 2012 for aspx\ascx files. Is there a way I can do it? As one of possible solution, I thought that I can make Extension that will subscribe to some Visual Studio 2010\2012 extension point…
0
votes
1 answer

What do I need to create an "Office" project in Visual Studio 2008?

I have Office 2007 installed(with .NET support checked everywhere) and VS 2008(with all updates). My problem is that there is no Office category when creating a new project. What else do I need to create an "Office" project?
0
votes
0 answers

Visual studio 2012 my custom add in won't load on startup

I have a custom add in working fine to measure compile time and do some other custom stuff. The problem is that every day I have to manually go to Tools -> Add-in Manager and enable my custom add in.
Christian Rodriguez
  • 944
  • 1
  • 9
  • 20
0
votes
0 answers

How to avoid interference by Telerik OpenAccess Addin with my Visual Studio 2010 Addin Commandbar?

Please tell me how to avoid Telerik OpenAccess ORMs Visual Studio menus' Interferenece with my Addin's menu on under Tools menu option of Visual Studio 2010 SP1. I am developing a simple Visual Studio Addin for Visual Studio 2010 in C#. I have…
0
votes
1 answer

How can I prepare a Visual Studio add-in for multiple Visual Studio versions?

I have Visual Studio 2012 installed, and I want to create a new Visual Studio add-in. In the creation wizard I get this window: I would have liked to create an add-in for other (previous) versions as well. Is it possible, and if so, how do I do…
Oak
  • 26,231
  • 8
  • 93
  • 152
0
votes
1 answer

Get a list of all variables and parameters in a Visual Studio project

My goal is to create a Visual Studio extension, macro, or addin that would give the user a list of all their variables and parameters. The user would then be able to rename any given variable in that list. How can I get a list of all variables and…
0
votes
3 answers

Add-in Manager ignores my unchecking/deselecting

Every time I start up Visual Studio, I get nag screens from JustCode and JustTrace. Even after going to Tools | Add-in Manager and deselecting both of them (the only two items in the list), the nag screens still display! I return to Tools | Add-in…