tinaschrepfer on tinali
Remove use of "any" content typ… (compare)
tinaschrepfer on tinali
Merge pull request #169 from Mi… Add sample support for "any" co… (compare)
tinaschrepfer on master
Update VSSDK package and remove… Merge pull request #169 from Mi… (compare)
PropertyDescriptor propInfo = null; propInfo = TypeDescriptor.GetProperties(p_component)["Name"]; propInfo.SetValue(p_component, p_newName);
Style = Microsoft.VisualStudio.Shell.VsDockStyle.Tabbedproperty. Thanks! 🙏
IVsHierarchy(x) for an arbitrarily selected item in the Solution Explorer and determine an
IVsHierarchy(p) for the project that x belongs to? I'd like to understand how to do this without using EnvDTE. I've tried using GetProperty and
Hey guys, I've implemented this before using reflecting and attributes, but I'm curious if someone has done something like this before.
Basically, anytime a class implements an interface, visual studio autogenerates a static "IFactoryGenerator" class, and appropriate overridden "Create" methods.
VsixTesting allows you to easily create integration tests for your Visual Studio Extensions.
I just added support for Visual Studio 2022.
I've also created a pull request to properly initialize the Visual Studio Experimental Instance in the images used by GitHub Actions / Azure Pipelines to ensure that the integration tests execute very fast.
The fastest way to try this library is by cloning https://github.com/josetr/VsixTestingSamples which also has been updated to support Visual Studio 2022.
Sorry for the ad. My previous message about it was more than 2 years ago tho.
Hi all, I've been having a go at making a VS extension however I'm totally new to .NET
I've got to the point where I can edit text in the active window using a command button, but what I would really like to do is highlight keywords in the active document in some fashion, like a squiggly underline or changing the colour of the font.
I've now hit a bit of a brick wall where I don't really know the terminology of what I should be searching for. Could anyone point me in the right direction of where I can start reading up on how to implement this sort of behaviour?
StructureTag tag; tag = new StructureTag(snapshot, outliningSpan, headerSpan, null, null, PredefinedStructureTagTypes.Member, true); yield return new TagSpanStructureTag(structureSpan, tag);
DTE2.OpenFilewith the full path to the file (which is a member of a project, which is a member of the opened solution) and that also does nothing.
OpenDocument, I've tried adding an
await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync()directly beforehand (even though I'm already on the UI thread), I've even tried looping 10 times with a 1-second delay between tries to see if it's some timing thing, and absolutely nothing happens. the workspace just sits there with no document open. I can copy the exact file path it's trying to open and use Ctrl+O to open it manually, and it opens the file as a member of the current solution (not a "miscellaneous file" or whatever), so it's definitely in the solution as a compilation unit. that shouldn't matter; I'd expect it to open any document you give it. It's just totally unresponsive.
Hello; does anybody know if there's currently some issue with icons in Project Hierarchy on VS 2022 Preview 3,4,5?
We're providing ImageManifest with both xaml and png (16x16) icons; they load and show well in project and item templates. However since DEV17 preview 3 they are not showing (just a blank space is displayed instead) in the project hierarchy (both in CPS extended with
IProjectTreePropertiesProvider, and in old MPF where we provide
Thank you for any hints.
Anyone knows how to make projection buffers to work in VS 2022?
I reported this problem on Developer Community in August, but no answer so far:
So I've started looking at updating my extension, which is based on the Modeling SDK, to support VS2022. I've read the guidance on updating generic VSIX packages, but in the back of my mind I think of Modeling SDK projects as "special", they being such a nicely architected and tight framework.
Is there any guidance available (or coming up soon) to direct how to update these kinds of projects? Users are starting to ask more and more, and I'm feeling quite small not being able to give them an answer other than "yeah, I know ... I'm working on it".