visual-studio-extensions

Atom XML feed private gallery for Visual Studio Updates

筅森魡賤 提交于 2019-12-12 05:37:40
问题 I've created a private gallery for Visual Studio, using a C# Projet to generate the Atom.xml. The download works perfectly but if i update the version of the vsix project, and the atom.xml visual studio doesn't show update. the Atom.xml updated : <1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title type="text" /> <id>uuid:bcecded5-97c8-4d24-96f1-7d9e16652433;id=1</id> <updated>2016-04-08T00:00:00+02:00</updated> <entry> <id>e2dea93f-86f3-45ce-b7be-290e21066050</id>

How do I interact with the controls of a ToolWindow in a Visual Studio Extension?

前提是你 提交于 2019-12-12 04:44:37
问题 SCENARIO In Visual Studio 2017 I created a new extension (a VSIX project), then I added a new ToolWindow item, which it is a WPF user control, and in the user control I added a TextBox control. This is the user control design: And the relevant part of the generated XAML code: <UserControl x:Class="ToolWindow1Control" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend

Create context sub menu in visual studio 2015

淺唱寂寞╮ 提交于 2019-12-12 04:29:44
问题 This is the VSCT file I have created. I would want to make it so that the menu item appears in the context sub menu in visual studio whereby a right click will activate the command. I have used the code from here however after configuring the VSCT file, it launches and experimental instance of VS2015 and nothing is shown in the solutions explorer tab after opening a project. <Groups> <Group guid="guidTestStatusBarCommandPackageCmdSet" id="MyMenuGroup" priority="0x0600"> <Parent guid=

Creating visual studio extensions for table nodes in the Server Explorer Data Connections

折月煮酒 提交于 2019-12-12 04:15:15
问题 I would like to add a custom command to the context menu of each node that appears for every table in a sql server database listed in the Server Explorer. I've gone through a basic tutorial and added a command to the tools menu bar as well as a custom top level menu. I've also seen the tutorial Extending the Server Explorer to Display Web Parts which is very close to what I want to do, but it is specific to the sharepoint connections node, and uses the sharepoint specific

Trouble Upgrading Visual Studio extension to include Visual Studio 2017 compatibility

扶醉桌前 提交于 2019-12-12 01:13:00
问题 I am attempting to update a Visual Studio extension to be compatible for installation in Visual Studio 2017. I have followed the steps and notes in each of the following pages (and others I've searched): https://github.com/MicrosoftDocs/visualstudio-docs/blob/master/docs/extensibility/faq-2017.md#can-i-build-a-vsix-v3-with-visual-studio-2015 http://www.visualstudioextensibility.com/2017/01/10/its-time-to-change-the-vsix-manifest-of-your-extension-to-v3-for-visual-studio-2017-compatibility/ In

How to handle first tab size on formatting?

风流意气都作罢 提交于 2019-12-12 00:34:24
问题 I create an extension, that format vs editor tabs in custom ways, using ITextParagraphPropertiesFactoryService class. Everything works just fine, expect the fact, that when user enter new line, ITextParagraphPropertiesFactoryService doesnt affect to the new line For simplifying the problem, I create a new MEF project, add a format provider like this [Export(typeof(ITextParagraphPropertiesFactoryService))] [ContentType("text")] [TextViewRole(PredefinedTextViewRoles.Document)] internal class

Is there a Data Grid for the Watch window in Visual Studio

≯℡__Kan透↙ 提交于 2019-12-11 19:15:39
问题 There used to be a Visual Studio extension that would allow viewing data in a grid while debugging in Visual Studio. I am looking around online, and cannot find one. Does anybody know of an Extension for Visual Studio 2013 that allows viewing data sets or collections in a grid while debugging? 回答1: Maybe you are looking for OzCode: 来源: https://stackoverflow.com/questions/36264959/is-there-a-data-grid-for-the-watch-window-in-visual-studio

Get Nuget credentials stored somewhere by Visual Studio in a VSIX project

旧街凉风 提交于 2019-12-11 17:45:39
问题 I'm developing a Visual Studio extension (VSIX project) that needs to manage Nuget packages of a given project. I'm already using the IVsPackageInstaller service as documented here but this is limited and I need more features (for example get the latest version number of a given package). I searched but didn't find anything on how to programmatically interact with the Visual Studio Package Manager so I decided to go for the Nuget API directly. I send HTTP requests to the Nuget API using the

Is it possible to create a VS Code extension that runs a specific gulp task?

删除回忆录丶 提交于 2019-12-11 17:23:42
问题 Since I'm a lazy programmer, I've built a gulp task that does some minor tasks for me but I'd like to turn this into an extension so I can install it on my computer and it just "works". Like I install it, boot up VS code and the tasks execute and start watching my code automatically. I haven't found much things online but then again I could be googling the wrong things. Anything helps - thanks! 回答1: Have a look at run task on folderOpen option: vscode docs. This works for me: // in tasks.json

Visual Studio Extensions - Calling Options Window and Id for Test Menu

元气小坏坏 提交于 2019-12-11 17:10:26
问题 I'm trying to create a Visual Studio extension but I'm struggling with a few points. When creating a Menu Command, it goes by default to the Tools menu ( id="IDM_VS_MENU_TOOLS"). I want to change it to the Test menu, but I can't find the id for it anywhere. How can I add a call to the Options window? Basically I want to have a Tools > My Menus > Options that goes straight to my items in the Options windows. Any help? Thanks! 回答1: To determine a menu item id, you can use the EnableVSIPLogging