Marking the entire line using Visual Studio Editor Extension Points
I would like to mark an entire line on the editor according to some logic in my VSPackage. So I exported IClassifierProvider and EditorFormatDefinition and succeeded marking the relevant line by...
View ArticleAutomatic code metric reports VS2012
Hi all,I'm wondering if it is possible to export code metric reports to a database automatically when they are generated.We are attempting to create a timeline of code metrics for each class in a...
View ArticleGet current project from item template wizard ?
I created custom wizard for item template and need to get current Project that add new item.I can get DTE , solution and all project, the problem which project currently invoke and add new item ?It's...
View ArticleVSPackage. Remote Debugging Monitor
Hi all I develop VSPackage in Visual Studio 2012. My package need to execute some code remotly. Is it possible, using Remote Debugging Monitor? And if not, what data structures (connected with Remote...
View ArticleGet selected pending files in 2012
Hi.In a small addin for VS2012, i want to add a new command 'Compare' to every pending file. The work is already done for SolutionExplorer files and it works. The command is also added in contexts of...
View ArticleExtension: How to uninstall a hidden/corrupted extension
I downloaded and installed the extension "Visual Macros Expander" from the Visual Studio Gallery (http://visualstudiogallery.msdn.microsoft.com/59a2438f-ba4a-4945-a407-a1a295598088). At the end of the...
View ArticleCustom Tools: Toolbox issues with Fx2 and Fx4 Custom Controls
Visual Studio 2012Windows 7 & 8VB.NET & C#This affects the machine our products are installed on.We develop a language add-in for Visual Studio that supports development using .NET Frameworks...
View ArticleHow do I restrict a context menu item created using a VsPackage VSCT Command...
Hi,I created a context menu item in the VS2010 Editor using a VSPackage and the VSCT CommandTable xml.I would like to restrict visibility of this command to only the F# Editor.Is there an easy way to...
View ArticleBasic Project System Walkthrough not working on VS2010
Hello,I have been working through the walkthrough to create a Basic Project System found here:http://msdn.microsoft.com/en-us/library/vstudio/cc512961.aspxI am working on Win7 with VS2010...
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 ArticleRegarding: VS extensions in VS 2010 SDK
"The Visual Studio 2010 SDK provides tools and templates for building Visual Studio extensions. By using the Visual Studio 2010 SDK, you can build your own tool windows, create menu commands, and add...
View ArticleHooking Into Visual Studio's Native Build
Hi,I am building a Visual Studio extension which I would like to have wrap the native visual studio build with my custom tool.I can accomplish this from the command line with:mytool.exe devenv.com...
View ArticleCreating installer with .config file merge
I would like to create a Setup Project for a component that will be installed into an existing website directory. The component relies on configuration data in the web.config file, but I would like to...
View Articlecolor for classes not showing in Vs2012 ..
in code window(c#) classes color not showing in vs2012 eg : "MessageBox" EventArgs .. etc by default showing me total black color for MessageBox, EventArgs ,,,,
View ArticleHow to make a custom project type based upon web project type
Hi, I'm making an VSPackage extension to VS2012 with custom project type. There are a lot of examples which show how to create custom project using MPF but they are all about classical C# Win projects....
View ArticleThemes work but not fonts and colors
I've installed the Visual Studio Color Theme Editor extension and downloaded a theme that uses different colors in the editor windows.When I apply the theme everything looks right except for the colors...
View ArticleIs it possible to create a ProvideEditorExtensionAttribute for files that...
Hi,I have a VS 2010 VSIX vsPackage that includes a custom editor which works great for files that have an extension (as in FILENAME.MYEXT). However, I now need to support files that don't have an...
View ArticleHow to get window focus change in vspackage ?
I create vspackage editor and implement selection tracking. All works fine except I need to know when my editor being lost focus, so like VS IDE behaviour the selected background color become greyed...
View ArticleMultiple ProjectFactory implementations
Hi experts,I created a new VS-Project Package, and three new Project types, which I copied to the respective template folder. For each of the projects, I have a separate ProjectFactory. While creating...
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 Article