Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

I'm developing an extension for VS 2022 (https://github.com/dubeg/VsQuickJump2022) and I can easily find symbols for C# files using Microsoft.CodeAnalysis.Document, but for JS/TypeScripts files (ie. ...
gdube's user avatar
  • 87
1 vote
1 answer
110 views

I have a VS extension with a custom "Code Map" tool window. It displays specific code elements in a tree view control. The tree view nodes support navigation to symbol definition on a double ...
SENya's user avatar
  • 1,492
1 vote
1 answer
80 views

I'm trying to build a Visual Studio 2022 extension that closes tabs based on certain conditions. When I'm using VsWindowFrame.CloseFrame() on most file types, it works as intended (the tab just closes)...
styx's user avatar
  • 1,975
2 votes
0 answers
581 views

I am creating an extension to Visual Studio 2022. I have followed https://learn.microsoft.com/en-us/visualstudio/extensibility/creating-an-options-page?view=vs-2022 for adding options to the Tools ...
user119879's user avatar
0 votes
1 answer
93 views

How to count how many times an imported MS-Build property was referenced (read) by a project ? For example one of the files imported by the MS-Build Project defines a sensitive property $(CipherNonce) ...
Pavel Stepanek's user avatar
0 votes
1 answer
1k views

I am trying to update my published Visual Studio extension to the 2022 version, this one The problem is: I keep getting (when attempting to update on the marketplace). The extension is incompatible ...
Nikolay's user avatar
  • 12.6k
0 votes
1 answer
113 views

In my Visual Studio Extension for VS 2019, I am currently using Visual Studio SDK version 16.0.202. This is the oldest version with Major Version 16. If I update the version of the Visual Studio SDK, ...
Phil Jollans's user avatar
  • 3,769
0 votes
0 answers
581 views

I have two situations that I'm not sure how to resolve properly. First is a task that runs for as long as the application. Currently, I have a construction like this: this.task = this....
Wapac's user avatar
  • 4,188
0 votes
1 answer
574 views

We're currently building an internal apparatus to run unit tests on a large C++ codebase, using Catch2 for the framework and our in-house VS test adapter (using [ITestDiscoverer] and ITestExecutor) to ...
Jonax's user avatar
  • 13
4 votes
1 answer
6k views

I have multiple versions of Windows Software Development Kit installed on my machine which funnily enough the one that has been installed on my machine by Visual studio Installer tool has lower ...
MHOOS's user avatar
  • 5,306
3 votes
1 answer
132 views

I know of the existence of the Running Document Table and how to access it using the Visual Studio SDK, but I can't seem to find a way to determine UX-specific attributes about the file, like if it's ...
Katherine Mitchell's user avatar
0 votes
1 answer
81 views

a happy new year to all :) I've been looking into the VS SDK lately, to achieve something that seemed like an entry-level thing to do, but proves to be .. elusive :P I want to do a custom file type, ...
anjelinio's user avatar
0 votes
1 answer
74 views

I'd like to place a command button directly underneath the View Call Hierarchy button on the context window. I've only been able to add a button at the very bottom of the entire menu using ...
joepetrakovich's user avatar
2 votes
2 answers
7k views

I have made a log of updates to my Visual Studio package in a version which only targets Visual Studio 2019. One change that I started using the NuGet package Microsoft.VisualStudio.SDK, version 16.0....
Phil Jollans's user avatar
  • 3,769
0 votes
1 answer
919 views

I'm writing a Visual Studio extension and I want to iterate over all files in the current solution (to find files with the same name ignoring extensions). After looking around I found out I can ...
Svensational's user avatar
1 vote
1 answer
109 views

I'm writing a small Visual Studio extension for VS2017 in C# and I'm trying something rather simple: If I press a button I want to resurface (make active) a specific document. I have the ...
Svensational's user avatar
0 votes
0 answers
495 views

Code's like below, similar to the built-in Custom Tool Window code template. To load the package I have to find the ToolWindow button (Command) and press it. When I open up a folder this package is ...
karatoga's user avatar
  • 603
0 votes
1 answer
216 views

I would like to write a Visual Studio extension, that makes a part of the text behave like a link: blue, underlined on hover, open a URL on click. (Like the default editor works for http://... texts.) ...
Gaspar Nagy's user avatar
  • 4,566
0 votes
1 answer
72 views

s there any new DGML xsd available other than http://schemas.microsoft.com/vs/2009/dgml/dgml.xsd , as there is a difference in the codeMap.DGML generated from vs2017 to the xsd .
Amruta's user avatar
  • 1
3 votes
0 answers
102 views

I'm developing .NET application that draws some information on the screen. During the development it is very convenient to use Visual Studio's "Edit and Continue" feature, to make slight changes in ...
Titan's user avatar
  • 2,943
0 votes
1 answer
542 views

I'm writing an extension to provide basic project statistics (e.g. lines of code). It's simple enough to iterate a Solution tree and find the ProjectItems that correspond with files. The Document ...
user673679's user avatar
  • 1,366
0 votes
1 answer
64 views

I am developing a very small extension right now. I don't want to add my newly added commands to the menu as buttons. Instead, I would like to execute these commands via keyboard shortcut only. I have ...
STiFU's user avatar
  • 367
-2 votes
1 answer
136 views

I have the following in a T4 template, (Snippet is from an old tutorial): <#@ import namespace = "Microsoft.VisualStudio.TextTemplating" #> <#+ Engine _engine = new Engine(); #> I can ...
FakeSaint's user avatar
  • 522
1 vote
1 answer
661 views

I am developing a Visual Studio extension (VS Package). I am trying to get the Source Control branch name for a project/solution. The only source control service available in the VS SDK is ...
Ronin's user avatar
  • 93
3 votes
1 answer
338 views

I'm writing a Visual Studio extension, and I need create my own IWpfTextViewHost (CodeEditor Window). This can be done via the ITextEditorFactoryService but this has to be loaded via the MEF framework....
Tim Ramandt's user avatar

1
2 3 4 5 6