visual-studio-extensions

Visual Studio Solution Explorer extension to rename file but NOT extension?

孤街浪徒 提交于 2020-01-15 05:46:06
问题 Windows Explorer has a small (but great!) feature that Visual Studio does not: When you rename a file in Windows Explorer on Windows 7 (for sure, I think for Vista and later) it selects only the main part of the filename, and not the file extension. It makes the assumption that 90% of the time, you don't want to change the file extension and saves you from the choice of using the mouse to select the relevant part to rename (bad) or having to retype the file extension (also bad). Of course

VSIX extension - Change Path of DLL

对着背影说爱祢 提交于 2020-01-14 02:53:14
问题 I've created a Visual Studio Extension (VSIX) with Visual Studio 2013. In this extension I have a reference to another class library (DLL) which I created. This DLL will be placed in the extension Folder correctly after installing the extension Extension Folder is C:\Users\username\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\1oqfh4o4.2y5\ But I need this dll also in the installing directory of the Visual Studio -> C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE If I

Visual Studio: How to get IDebugEngine2 from VS Package (except IVsLoader)

十年热恋 提交于 2020-01-13 15:50:55
问题 Is it possible to get a list or a specific instance of IDebugEngine2 (MSDN) from a Visual Studio Package without using IVsLoader approach (described here)? Normally I would expect most services to be available through GetService , either directly or through some other service. But I can not easily find anything that can provide debug engines. 回答1: What are you trying to do with it? The debugger interfaces are extremely fragile. Often there are 2, 3, or maybe more possible ways to perform an

Visual Studio: How to get IDebugEngine2 from VS Package (except IVsLoader)

放肆的年华 提交于 2020-01-13 15:50:13
问题 Is it possible to get a list or a specific instance of IDebugEngine2 (MSDN) from a Visual Studio Package without using IVsLoader approach (described here)? Normally I would expect most services to be available through GetService , either directly or through some other service. But I can not easily find anything that can provide debug engines. 回答1: What are you trying to do with it? The debugger interfaces are extremely fragile. Often there are 2, 3, or maybe more possible ways to perform an

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

大憨熊 提交于 2020-01-13 09:56:06
问题 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 developer is working on. A similar feature is embedded in Visual Studio Designer for ASP.NET MVC Application Project, where developer implements a Model/Controller class, build a project, and then is able to access this type in Scaffolding UI (Designer's

Export/Import VS extensions list?

六眼飞鱼酱① 提交于 2020-01-13 04:12:31
问题 Is there an easy way to backup the installed extensions list in VS (2017), so that when I install the machine anew I can easily install my regular extensions at once? Note: I've found this question that asks an identical question to my own, except it targets VS Code, whereas my question is about Visual Studio for Windows. 回答1: Roaming Extension Manager is built in Visual Studio 2017: The Roaming Extension Manager helps you keep track of all your favorite extensions across all of your

Export/Import VS extensions list?

杀马特。学长 韩版系。学妹 提交于 2020-01-13 04:12:11
问题 Is there an easy way to backup the installed extensions list in VS (2017), so that when I install the machine anew I can easily install my regular extensions at once? Note: I've found this question that asks an identical question to my own, except it targets VS Code, whereas my question is about Visual Studio for Windows. 回答1: Roaming Extension Manager is built in Visual Studio 2017: The Roaming Extension Manager helps you keep track of all your favorite extensions across all of your

VS2010 Extensibility: Custom document formatting

断了今生、忘了曾经 提交于 2020-01-12 10:46:27
问题 Good afternoon, I've created a visual studio package that registers the Verilog language as a valid content type. I've got syntax highlighting, outlining, smart indenting, etc all working. However, I would like to be able to get Visual Studio to automatically format the entire document via Edit->Advanced->Format Document/Selection . Currently these options are invisible, and I expect that I have to let VS2010 know (somehow) that these methods can be called, and provide the correct methods to

VS2010 Extensibility: Custom document formatting

拟墨画扇 提交于 2020-01-12 10:46:10
问题 Good afternoon, I've created a visual studio package that registers the Verilog language as a valid content type. I've got syntax highlighting, outlining, smart indenting, etc all working. However, I would like to be able to get Visual Studio to automatically format the entire document via Edit->Advanced->Format Document/Selection . Currently these options are invisible, and I expect that I have to let VS2010 know (somehow) that these methods can be called, and provide the correct methods to

How to set “Break on All Exceptions”, from a Package

Deadly 提交于 2020-01-10 08:50:42
问题 I want to make an extension to quickly toggle breaking on CLR exceptions in debugger. I have made tried several approaches, neither of which is satisfactory. Here is what I have already tried: ExceptionSettings.SetBreakWhenThrown (MSDN) This is extremely slow (see this Connect issue). I have tried approaches from question "Toggle “Break when an exception is thrown.” using macro or keyboard shortcut" and neither seem to work reliably: in most cases only top level checkbox gets set, and it does