visual-studio-extensions

Visual Studio MEF Extension - Force Margin Glyphs To Be Updated or Redraw

怎甘沉沦 提交于 2019-12-01 03:44:59
The extension I am writing started life from the Walkthrough: Creating a Margin Glyph example provided by Microsoft: https://msdn.microsoft.com/en-us/library/ee361745.aspx Everything works fine, except I am trying to trigger the redrawing or updating of the margin glyphs whenever the data I use for deciding which line to draw a glyph on changes. Basically I have a button in a tool window, when the user clicks the button, I want a glyph to appear in the margin. Right now, it does not appear until you scroll away and back, or obviously close and reload the document. I have researched this, and

How to Create an Extension for SSMS 2019 (v18)

自闭症网瘾萝莉.ら 提交于 2019-12-01 03:30:50
问题 SQL Server Management Studio 18 RC1 became available March 28, 2018 This question has already been asked for SSMS 17, but there are slight variations when authoring extensions for different releases of SQL Server Management Studio. What are the steps to getting a Hello World application up an running in SSMS 2019? 回答1: Here are the complete steps, adapted from Stefan Timovski's article on How to Create SQL Server Management Studio 18 (SSMS) Extension Install Visual Studio 2017 with Extensions

What happened to the Visual Studio extension for “Ultra Find”?

拟墨画扇 提交于 2019-12-01 02:25:36
问题 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 links: http://blog.arainia.com/2010/08/ultra-find-getting-started.html http://coolthingoftheday.blogspot.com/2010/08/i-find-you-ultra-ultra-find-vs2010-add.html And here's a S.O. link: How to exclude designer.cs from Visual Studio file search However, when I search in the VS Extension Manager , nothing shows up. It's

Is there a Visual Studio 2010 extension to sort methods?

ε祈祈猫儿з 提交于 2019-12-01 01:20:13
问题 StyleCop mandates a particular sort order for the contents of C# files. For example, fields should be declared before methods and public declarations should come before private ones. It would be useful to have a Visual Studio extension to move these things into that order automatically. Does a good extension exist for this (I've found CodeSorter, but the feedback suggests it's very buggy)? Or are there any extensions or shortcuts that make it less painful to reorder this content manually? 回答1

Visual Studio SDK - Handling File Add, Remove, and Rename Events

偶尔善良 提交于 2019-11-30 15:20:22
I'm working on a Visual Studio extension that should listen for events when the user adds, removes, or renames files in the current solution. The answer to this question notes that VS provides infrastructure for listening to document events like saving, opening and closing through the DocumentEvents interface. For example: Dte.Events.DocumentEvents.DocumentSaved Are there similar events that would allow me to listen to the user adding/removing/renaming documents? First, don't use DTE if you can help it. It's a very incomplete, shaky abstraction papered over an extremely complex interface.

Is there any Visual Studio extension to “favorite” folders and files?

只谈情不闲聊 提交于 2019-11-30 12:59:51
问题 I'm working on a middle-sized project that contains several class libraries, database model and an ASP .NET MVC website project. However, even though there are less than 15 projects in the solution, I often find myself collapsing and expanding endless folders to find a certain class or view . While looking for class is mostly solved by Resharper type navigation feature, I often want to switch to a certain view in MVC project. I don't remember the file name and it wouldn't solve the problem

Visual Studio 2010 extension for Go To Interface Implementation? [duplicate]

旧时模样 提交于 2019-11-30 10:57:26
Possible Duplicate: How do you quickly find the implementation(s) of an interface’s method? I like ReSharper's Go To Implementation feature but I often keep ReSharper disabled. Is there an equivalent extension for Visual Studio 2010? I'm looking for the extension for this little "go to implementation" too. But unfortunately I couldn't find any. May be we will have to wait next version of visual studio or enable ReSharper back (which in my opinion, eating too much resources) Well the best solution for me right now is to use "Call Hierarchy" feature of VS2010. Just follow my instruction below

Roslyn Code Action: How to check if preview or real execution?

眉间皱痕 提交于 2019-11-30 09:28:10
问题 I am currently experimenting with Roslyn and Code Actions, more specific Code Refactorings. It feels kind of easy, but I have a difficulty I cannot solve. Code actions are executed once against a dummy workspace as a "preview" option, so that you can see the actual changes before you click the action and execute it against the real workspace. Now I am dealing with some things Roslyn can't really do (yet), so I am doing some changes via EnvDTE . I know, it's bad, but I couldn't find another

Is there any Visual Studio extension to “favorite” folders and files?

那年仲夏 提交于 2019-11-30 04:58:18
I'm working on a middle-sized project that contains several class libraries, database model and an ASP .NET MVC website project. However, even though there are less than 15 projects in the solution, I often find myself collapsing and expanding endless folders to find a certain class or view . While looking for class is mostly solved by Resharper type navigation feature , I often want to switch to a certain view in MVC project. I don't remember the file name and it wouldn't solve the problem either because there are many views with same file name (e.g. Message\ViewSingle.cshtml , Product

VS Add-on to Copy full type name of identifier under the cursor into clipboard [closed]

我们两清 提交于 2019-11-30 04:48:14
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there a visual studio add-on to copy the full type name of the identifier under the cursor into clipboard? Please DO NOT link me to "VS 2010 - easy way to copy full type name of a class/interface?" I don't want to deal with macros; only add-ons. Thanks :) 回答1: Ultimately, Visual Studio's Object Browser gets