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.

351 questions
0
votes
2 answers

Implement "Navigation bar" for custom editor

When registering a custom language service extension, Visual Studio creates a new options entry for the language within the Text Editor node (in the Visual Studio options dialog). Beneath that node two default nodes are created named General and…
0
votes
2 answers

Evaluating expressions using Visual Studio 2005 SDK rather than automation's Debugger::GetExpression

I'm looking into writing an addin (or package, if necessary) for Visual Studio 2005 that needs watch window type functionality -- evaluation of expressions and examination of the types. The automation facilities provide Debugger::GetExpression,…
please delete me
0
votes
1 answer

IPropertyPage does not show up in tabbed-view

I am implementing a custom language service for Visual Studio; the project node shall provide some configuration independent property pages (like Application-, Debug-, Build Events, ...) which are displayed in a tabbed view. The registration of…
0
votes
1 answer

Visual Studio 2010 Extension Deployment

I have created a VS Package Extension.I want to add a folder(contains sub folders) in the package that get packed and get installed with the package? How do I do this?
Dee
  • 1,393
  • 4
  • 20
  • 37
0
votes
2 answers

TFS Get Specific Version addin

I am looking for an addin that will allow me to click a button on the VS toolbar and the following actions should happen. On the highlighted project/folder/item from either Source Control Explorer or Solution Explorer, do a 'Get Specific…
Vin
  • 6,115
  • 4
  • 41
  • 55
0
votes
1 answer

Can't link known file extensions to custom editor classifier

I am working on an editor classifier extension for classic Visual Basic source files (module- and class files). The project has been created using the editor classifier project template from the Visual Studio 2012 SDK. The wizard created three code…
Matze
  • 5,100
  • 6
  • 46
  • 69
0
votes
2 answers

C# CodeFunction2 - How do you prevent creation of 'return'?

I am creating a C# class as per: http://msdn.microsoft.com/en-us/library/x6h10s6x.aspx however I want my own 'return' rather than the return default(int); it automatically generates. I know I can insert my own text using an EditPoint i.e …
Phill Duffy
  • 2,805
  • 3
  • 33
  • 45
0
votes
1 answer

Can one assign keyboard shortcuts to Visual Studio 2012 extensibility package commands that use DynamicItemStart?

I've got a VS2012 extensibility package that adds commands to a menu using the DynamicItemStart command flag, as described on MSDN. These commands work a bit like the inbuilt External Tools facility, so the exact set is configured by the addin user,…
Tom Seddon
  • 2,648
  • 1
  • 19
  • 28
0
votes
2 answers

EnvDTE VS 2012 ProjectItems.AddFolder

I am recreating an AddIn project that I had in VS 2010 and a basic function like adding a folder to the project is not working. Giving me: The kind 'vsProjectItemKindPhysicalFolder' passed to ProjectItems.AddFolder is invalid. Does anyone know how…
elector
  • 1,327
  • 4
  • 26
  • 43
0
votes
1 answer

Visual Studio style editor for an application-specific scripting language?

Right now I only know about Visual Studio 2008 Shell and the custom control used in the Snippet Compiler. Also is VS shell suitable for this job? I don't know if it's a custom control or a standalone app? Any tutorials about it? I would imagine the…
Joan Venge
  • 315,713
  • 212
  • 479
  • 689
0
votes
2 answers

How to get processes to which debugger was attached to during last debugging session

I'm trying to write Visual Studio package which allows attach to processes chosen in previous debugging session. Basically, I know how to attach to processes: var dte = GetGlobalService(typeof(DTE)) as DTE2; if (dte != null) { IList
jwaliszko
  • 16,942
  • 22
  • 92
  • 158
0
votes
1 answer

How can I cancel a Visual Studio NewPendingChange event?

I'm trying to programmatically intercept and cancel a user's attempt to check out a file in TFS. Am I correct in thinking that the proper way to go about this would be to handle the NewPendingChange in a…
urig
  • 16,016
  • 26
  • 115
  • 184
0
votes
1 answer

Visual Studio addin - catch "SelectionChanged" (editor) event

I'm trying to catch all user text navigation events (selection changes) in the text editor to update a tool window (contextual to the current position). The "LineChanged" event under TextEditorEvents only fires on updates, and I did not manage to…
Arielr
  • 447
  • 3
  • 13
0
votes
2 answers

Visual studio extensibility allows us to put extra items in any menu?

I mean, I have an add-in that will be applied to a given project. I'd like to know if it's possible to add a menu item for my add-in to the context menu that appears when you right click any project in the solution explorer.
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
0
votes
1 answer

How do I unit test a classifier?

given the signature public IList GetClassificationSpans(SnapshotSpan span) I've been tracing through properties and constructors of SnapshotSpan and haven't found anything that looks remotely possible to stub out for testing a…
Maslow
  • 18,464
  • 20
  • 106
  • 193
1 2 3
23
24