Questions tagged [visual-studio-extensions]

Products and Extensions for Visual Studio which help you get the most out of Visual Studio.

The Visual Studio Gallery provides quick access to tools, controls, and templates to help you get the most out of Visual Studio.

Microsoft also offers a tutorial, where you can gather basic informations on how to develop extensions yourself

1700 questions
6
votes
2 answers

How to collect types from current solution using Visual Studio Extension?

I have created Visual Studio 2012 Package (using VS2012 SDK). This Extension (if installed on the client's IDE environment) should has, among other things, a functionality of collecting all specific types from currently opened solution which…
6
votes
2 answers

How to solve Microsoft.VisualStudio.ExtensionManager.MissingReferencesException

I'm trying to make extension for VS2013 preview, here is my try on GitHub: https://github.com/Heather/Nemerle/tree/VS2013 But for now I'm getting: 07.08.2013 9:25:05 - The following target products have been selected... 07.08.2013 9:25:05 - …
6
votes
1 answer

What happened to the Visual Studio extension for "Ultra Find"?

What happened to the Visual Studio extension for "Ultra Find"? I've seen references all over this site and the Internet for this allegedly awesome extension. Here are a couple of…
Armchair Bronco
  • 2,367
  • 4
  • 31
  • 44
6
votes
0 answers

Getting Bookmarks Programmatically in Visual Studio

I am using VS 2010 and I want to do something quite simple. Write a Macro / Add-in which will Save the bookmarks to a file (e.g. "myfile.bookmarks") Load bookmarks from a file. I just cannot find any API within DTE (when writing a macro) nor can…
6
votes
2 answers

"Visual Studio Extensions for Windows Library for Javascript" Won't Update

Pounding on the update button in this screenshot does nothing. Nothing is downloaded, installed, etc. No message, nothing at all! Clicking "Release Notes" and "More Information" also does nothing. Searching for this update yields nothing useful,…
Josh M.
  • 26,437
  • 24
  • 119
  • 200
6
votes
1 answer

Get a list of projects/references within a Visual Studio 2010 Extension

I'm creating a Visual Studio 2010 extension package (Microsoft.VisualStudio.Shell.Package) that needs to analyze all of the projects and those project's references. I would assume that this is done with a service (e.g.…
Matt Ruwe
  • 3,386
  • 6
  • 39
  • 77
5
votes
2 answers

Is there a way to host the c# code editor in a visual studio extension window

I'm working on a visual studio 2010 extension and was wondering on how to obtain an existing language service ( the one for C# specifically ). All the articles I've seen on the web so far are about "Implementing your own language service", but I…
redeye
  • 113
  • 6
5
votes
1 answer

Add submenu to existing Visual Studio extension menu

I created a Visual Studio menu extension that I deploy via a VSIX package; now I need to create a new VSIX package to add submenus to the previous one. I have created a Visual Studio extension menu (A) via a VSIX project, that contains a…
5
votes
1 answer

Vscode extension code inside npm workspaces monorepo vsce package error

Im writing a vs code extension inside npm workspaces monorepo, when I try to package it using vsce package, I get this error: This extension consists of files, out of which are JavaScript files. For performance reasons,…
5
votes
1 answer

Visual Studio 2010 extension to add extension methods to intellisense even if the using statement isn't there

I've gotten used to adding using System.Linq; for IEnumerable extension methods, but there have been times when I've tried to use an extension method on a class and it didn't show up in intellisense and I spent way too much time trying to figure out…
kenwarner
  • 28,650
  • 28
  • 130
  • 173
5
votes
2 answers

VS2010 Plugins/Extensions for developing for Powershell?

I've googled for awhile now and I'm not finding exactly what I'm looking for (if they're even out there). I'm looking for a project template for writing Cmdlet and PSCmdlet snap ins as well as a plug in for writing ps1 scripts. I'm also open to…
Corey Ogburn
  • 24,072
  • 31
  • 113
  • 188
5
votes
1 answer

How to retrieve a tool window's position in Visual Studio

In the Visual Studio extension I'm developing, I provide a custom tool window. I'm trying to find out if the user has the tool window docked to a side (left/right/top/bottom) or if it is floating. Is there a way to calculate the current position of…
brianc
  • 1,547
  • 3
  • 16
  • 30
5
votes
2 answers

Only show command in context menu on specific filename (+extension)

So basically I only want to display the Command when I right click on a file named "example.cs". Since I am using Visual Studio 2019 I can't go with the old BeforeQueryStatus way. Instead using the ProvideUIContextRule Attribute on my Package class.…
5
votes
0 answers

How to set a custom icon for a file extension which shows up in the solution explorer

I'm trying to set a custom icon for a specific file extension in the solution explorer in visual studio 2019. What do i need to add to the vsix project to make it happen? I have tried to add a imagemanifest including the new icon as a .png file and…
Richy
  • 71
  • 2
5
votes
1 answer

How to add custom icons to solution explorer in Visual Studio

I am trying to add custom icons to the solution explorer in Visual Studio, the same way the FileIcons extension does. I think I've done everything right for Visual Studio to associate the new icon with files ending with the .d and .di extensions,…