visual-studio-addins

Finding Performance Spikes on Visual Studio

你。 提交于 2019-12-13 14:38:19
问题 Is it somehow possible to measure the CPU and/or IO requirements for all installed Visual Studio Addins / Extensions (VS 2012 / 2013)? Concrete Problem: I have quite a lot of Extensions and Addins for Visual Studio 2013 installed and in general it runs smooth, just sometimes i experience ~5-10 sec spikes where VS just freezes. (Without any Addins or Extensions it doesn't happen). Any idea how to find the problem? 回答1: If it reproduces often enough, you can just attach a debugger to Visual

What is this dashed line called that aligns function blocks in my IDE?

余生长醉 提交于 2019-12-12 10:59:26
问题 The SPE IDE that I use for my Python code uses this "visual cue" that looks like a vertical dashed line for alignment of (what I would call) function blocks. How can I get this option in Visual Studio 2008? Here is what it looks like: 回答1: I've seen it called structural highlighting or code outlining. There's a Visual Studio plug-in called CodeRush from Developer Express that supports this (bottom of the page) and a lot more. update: As divo mentioned, there is a free lite version of CodeRush

Delete Key in LookInFolders VS 2008 - 9.0 using MsBuild

懵懂的女人 提交于 2019-12-12 04:26:30
问题 I use MsBuild to Registry a VS Addin. I need implement target Uninstall in MSBuild. How can I delete my addin path in SOFTWARE\Microsoft\VisualStudio\9.0\AutomationOptions\LookInFolders registry using MsBuild ? For install, I use <Target Name="RegistryExtensions"> <Message Text="Registry AddIn..."></Message> <Registry.Set RegistryHive="LocalMachine" Key="SOFTWARE\Microsoft\VisualStudio\9.0\AutomationOptions\LookInFolders" Value="$(ProgramFiles)\LifeCycle\AddIns" DataType="String" /> <Message

Get TFS Connection in Custom Build Workflow Parameter Editor

谁说我不能喝 提交于 2019-12-11 20:44:52
问题 So, I am trying to display all available TFS test suites in a custom build workflow parameter editor. See my previous question. Now I can establish a connection to my TFS instance by using the .Net TFS API just as a normal client Application would. But I would have to embedd the URL to my TFS in the custom assembly, and that's something I would like to avoid. That got me thinking: This code runs within Visual Studio, so it must somehow be possible to obtain information about the current TFS

How to Access Bin Folder of Active Project using visual studio 2010 add in

老子叫甜甜 提交于 2019-12-11 14:19:16
问题 I want to access Bin folder of active project using object (_applicationObject) that i get it after create add-in project my code till now: object ob = _applicationObject.ActiveSolutionProjects; // i want this result // D:/Myproject/Bin 回答1: Environment.CurrentDirectory returns the current working directory. or you can use System.Reflection.Assembly.GetExecutingAssembly().Location 来源: https://stackoverflow.com/questions/18376697/how-to-access-bin-folder-of-active-project-using-visual-studio

Addin to Visual Studio for visualizing a selected json string in the editor

对着背影说爱祢 提交于 2019-12-11 07:34:00
问题 I've got a lot of xml files, and embedded in some elements there are json serialized objects. They are quite difficult to read and modify. So question is: Are there any Visual Studio addins availible that can take selected json-text in the editor, and visualize it (and maybe even allow for editing)? if not, if I must build it - are there any good starting points or samples availible? (making a right-click command availible when text is selected, and them showing a popup) Regards Larsi 回答1:

Failed to load platform plugin “windows”. Available platforms are : Error

与世无争的帅哥 提交于 2019-12-11 06:45:57
问题 I've created Qt project using Visual studio 2012 32 bit and Qt5 SDK with the help of Visual studio Qt addon. I'm using Windows 7 ultimate OS. I have created QApplication GUI Project which basically uses the following libraries: qtmain.lib Qt5Core.lib Qt5Gui.lib Qt5Network.lib Ws2_32.lib Winhttp.lib Winmm.lib Qt5Widgets.lib Qt5PlatformSupport.lib imm32.lib And I have succeed in building the application binary without any errors. I’m trying to run this application on test machine windows 7

get the text under the mouse pointer

孤者浪人 提交于 2019-12-11 04:18:20
问题 i am relatively new to C#. can anybody please tell me how to display the tool tip on the text editor...just as VS intellisense expands a particular method when we move the mouse over it??? Since i am Developing an adding i want the tool tip to be displayed on document (there is no form associated with it) how to get the text under the mouse pointer thanx in advance 回答1: Off the top of my head look at the ToolTip class. I am sure you need to supply it with the x,y coordinates of where you want

I Want to access Selected Class or Interface When Right Click to project after add in new item to vs 2010 [closed]

大兔子大兔子 提交于 2019-12-11 04:18:04
问题 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 6 years ago . I do this Code: `public void OnConnection(object application, ext_ConnectMode connectMode, object addInInst, ref Array custom) { _applicationObject = (DTE2)application; _addInInstance = (AddIn)addInInst; if(connectMode == ext_ConnectMode.ext_cm_UISetup) { object[] contextGUIDS = new object[] { }; Commands2

C# Visual Studio add-in - detect when saving document

柔情痞子 提交于 2019-12-11 03:55:12
问题 I'm working on a Visual Studio 11 add-in. Through code, how can I detect when the current active document is saved? I don't know where to begin, and I couldn't find anything on the web about it. 回答1: I was facing the same problem with a VS10-addin and found this solution, hope this works for you as well... public void OnConnection(object application, ext_ConnectMode connectMode, object addInInst, ref Array custom) { _applicationObject = (DTE2)application; _addInInstance = (AddIn)addInInst; //