visual-studio-sdk

How do I programmatically access the Document Well in Visual Studio..?

為{幸葍}努か 提交于 2020-01-05 03:50:07
问题 I would like to write a simple Visual Studio Add-In for managing tabs in the Document Well. There are many such add-ins already available, such as Tabs Studio, Tidy Tabs, Visual Docs, etc, but I would like to try it myself. Where can I find documentation on programming the Document Well..??? I've searched extensively for days with Google, and in the help files for VS and VSSDK, but I cannot find any documentation on how to access the Document Well. I've also examined the various project

VS2010 syntax coloring: how to obtain the previous classification type

 ̄綄美尐妖づ 提交于 2020-01-04 03:49:09
问题 I'm trying to play with the new syntax coloring capabilities of VS2010 based on Noah Richards' diff coloring sample. The goal is to create syntax coloring for SpecFlow (http://www.specflow.org). In my case, finding the syntax elements are fairly complex and not line-level. Therefore, when I implement the GetClassificationSpans I don't want to re-parse the entire file, but rather take the state of the beginning of the changed text and parsing the content from that point on. I thought that I

VS2010 syntax coloring: how to obtain the previous classification type

三世轮回 提交于 2020-01-04 03:49:07
问题 I'm trying to play with the new syntax coloring capabilities of VS2010 based on Noah Richards' diff coloring sample. The goal is to create syntax coloring for SpecFlow (http://www.specflow.org). In my case, finding the syntax elements are fairly complex and not line-level. Therefore, when I implement the GetClassificationSpans I don't want to re-parse the entire file, but rather take the state of the beginning of the changed text and parsing the content from that point on. I thought that I

Visual Studio Shell - Creating a Custom IDE

独自空忆成欢 提交于 2020-01-01 09:28:29
问题 I know this is a very broadly scoped question, but what do I need to know to begin creating a branded, custom IDE for course-ware using the VS Shell in isolated mode. Very little useful info on this beast is available through searches, so I'm hoping for some tips and references from gurus that have been through the apparently difficult exercise of using this foundation. 回答1: You can start over here: http://msdn.microsoft.com/en-us/vsx/default.aspx 回答2: Here you have a basic example of how to

Changing a buttons icon in with the visual studio SDK

こ雲淡風輕ζ 提交于 2019-12-25 02:40:35
问题 I am using the Visual Studio SDK to add in some additional functionality to visual studio. I have a button that when pressed will perform a potentially long running task (maybe 10-15 seconds) and I would like to change the button Icon to include some indication that the task is being performed, and then again change the icon to show that the task has been completed. Reading through the MSDN articles has shown me how to customise my icon, but I am having trouble figuring out how to change it

TFS Client APIs for creating workitem templates?

僤鯓⒐⒋嵵緔 提交于 2019-12-23 19:29:45
问题 Of course, it is pretty possible to create work items, get a list of work items etc in TFS. In addition to this, we need to have the functionality of allowing our users to create their own work item templates, for various file types. Whether the TFS Client APIs are capable of uploading work item templates to TFS server? 回答1: There is a method to get the (XML) definition: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemType.Export And, Microsoft.TeamFoundation.WorkItemTracking.Client

GetClassificationSpans in Visual Studio 2015 doesn't return anything

笑着哭i 提交于 2019-12-23 13:39:36
问题 I have a tagger (subclass of ITagger) and I'm trying to call GetClassificationSpans so I can use the classifications to find comments to format using tags. This worked in Visual Studio 2013, but now when running it in Visual Studio 2015, GetClassificationSpans always returns an empty list - even when I've examined the span in the debugger and it is definitely passing a span with a comment in it. Does anyone know what could have changed in 2015 in regards to calling GetClassificationSpans? BTW

DialogPage - string array not persisted

只谈情不闲聊 提交于 2019-12-23 08:39:58
问题 I'm developing an extension for visual studio. There I have an option page: public class GeneralOptionsPage : DialogPage { [Category("General")] [DisplayName("Foos")] [Description("Bla Foo Bla")] public string[] Foos { get; set; } [Category("General")] [DisplayName("Bar")] [Description("Bar Foo Bar")] public string Bar { get; set; } } The Bar property works perfectly and is persisted. The Foos Property does also work (it even gives you a nice popup in the options page where you can enter one

DialogPage - string array not persisted

匆匆过客 提交于 2019-12-23 08:39:08
问题 I'm developing an extension for visual studio. There I have an option page: public class GeneralOptionsPage : DialogPage { [Category("General")] [DisplayName("Foos")] [Description("Bla Foo Bla")] public string[] Foos { get; set; } [Category("General")] [DisplayName("Bar")] [Description("Bar Foo Bar")] public string Bar { get; set; } } The Bar property works perfectly and is persisted. The Foos Property does also work (it even gives you a nice popup in the options page where you can enter one

How to extract compilation args for each compilation unit in a vcxproj?

冷暖自知 提交于 2019-12-22 10:52:46
问题 I'm trying to get the compilation args for each compilation unit so I can create the "compilation_commands.json" for my vcxproj that can be used with clang's libTooling. The libTooling tutorial suggests using a CompilationDatabase to provide the compilation args for all the cpp files in a project. The tutorial shows that CMake can generate the compilation_commands.json for CMake based projects. Since clang can be put into "MSVC mode" via clang.exe --driver-mode=cl or clang-cl.exe my thought