cleating a list of headers files from a project
I am writing an addin for VS2012 and have got as far as extracting the properties from each project in a solution. I can get a list of 'c' and 'rc' files extracted from the projectitem.Collection but I...
View ArticleMacros in Visual Studio 11 Developer Preview
Have macros been stripped from Visual Studio 11 completely? I can't find any reference to them, or panes like Macro Explorer, in the Developer Preview build. Or, is it just that they're not in this...
View ArticleVS Shell / Package: Find and Replace Text in a Selection Not working as expected
Hello,I am creating a new custom WPF Editor in VS2010 and I noticed that my Replace in selection code doesn't seem to be working as expected. When I have text selected and then search for text using...
View ArticleProgrammatically move project from folder to another and edit the same in sln...
Hi Folks,Is it possible to programmatically to get the project by projectName using dte,solution object,move to another folder and updated the new location in the solution file(.SLN).Can i do all these...
View ArticleHow can I add file type to Visual studio 2012 c++ windows store project and...
Now I am developing a extension for Visual studio, Now I 'd like to set some file 's default build action in c# and VB. But now the C++ project and JS project are different with C# and VB How can I...
View Article"F4" is not working on the DropDown ComboBox?
I am trying to develop a Plugin for Visual Studio to perform certain task.I have used System.Windows.Forms.UserControl, and in that I have a ComboBox control with DropDownStyle as DropDownList. For...
View ArticleHow to get breakpoint print message in EnvDTE breakpoint object?
Hi all! I want this (Print message string)get hereprivate void DebuggerEvents_OnEnterBreakMode(dbgEventReason Reason, ref dbgExecutionAction ExecutionAction) { //if(Reason ==...
View ArticleExtending Javascript/Typescript Highlighting
I want to create an extension for VS2012 that provides better Typescript highlighting. Basically, I want to port all of the regexes from Sublime Text 2 to VS2012. The good news is that I've already...
View ArticleHow to make IntelliSense Complete Word and Parameter Info work meanwhile?
When I implement my IntelliSense parameter info, i.e. deal with ParseReason.MethodTip, parameter input will trigger Complete Word, then method tip disappeared.My Complete Word use TYPECHAR command and...
View ArticleCustom icons for certain file types in the solution explorer
Hello everybody,I am creating a package which contains an editor for certain file types. What I would like to achieve is to display my custom Icon in the solution explorer for those files. I have tried...
View Articlempf for projects 11: implementing already existing c# LanguageService for...
Hello,My custom mpf project contains cs files.I want to enable intellisense as a csproj do. As it is csharp language, is it possible to add all intellisense c# language features to my custom mpf proj...
View ArticleGetting error when trying to add fields and options to the TFS 2010 by using...
Hey guys,I am getting a different error when i am trying to add fields to the work items. When chooseTools --> Process editor --> Work Item types -->open work item type from Server in Visual...
View ArticleMARKERTYPE.MARKER_READONLY disables Replace for the whole file
I'm working on an extension for Visual Studio 2010. I'm using the functionIVsTextLines.CreateLineMarker((int)MARKERTYPE.MARKER_READONLY, ...to make some syntax elements in a text buffer read-only....
View ArticleControl the scroll position of the Locals window
I'm working on an extension for VS 2012 and 2010. We have implemented a language service and a debug engine. Is it possible to control the scroll position of the Locals window programmatically (either...
View ArticleResolving MEF imports in a VSPackage?
I'm attempting to add some additional features to my language service that require the use of MEF components to extend the editor, etc, but I'm having trouble with importing the MEF components. Every...
View ArticleHow to create a command without a button from VS Package
When creating a command for a package I normally create OleMenuCommand and register it in .vsct by creating IDSymbol and referencing it in Buttons section - this works as expected.Now I want to create...
View ArticleFind all references in a project including all children
Hello,I need to find all projects references in a VSLangProj project.I have a Wpf application project for example with several class library projects referenced. Those libraries can reference others...
View ArticleCan't set OLECMDTEXT in VS2012.
The following implementation taken from this list some time ago no longer seems to work in VS2012 for a dynamic command. Works fine in VS2010/2008/2005.public static void SetText(IntPtr pCmdTextInt,...
View ArticleNavigate to webpage on click of a link in team explorer in VS 2012
Hi,Can we navigate to webpage within Visual Studio 2012 once we click on a link in team explorer Navigation link? Functionality can be something similar to start page.Regards, Utkarsh...
View ArticleIs it possible for command with FixMenuController and Checked=true to be...
I have a button in VS toolbar that can be Checked in certain situations. I want provide some related less-important commands, so I tried to put it in a menu controller and use FixMenuController to keep...
View Article