I'd like to build a pretty simple plug-in for Visual Studio, but I don't really know how this has to be done. Is this doable in (non-managed) C++?
I'd like to know what resources you'd recommend me.
Use of the Build Tools require a valid Visual Studio license. If you can use the Visual Studio Community for free, you can also use the Build Tools with a valid free license. If you cannot use the Visual Studio Community, you need to use the Build Tools with a valid paid license.
You can also install the Desktop development with C++ workload without a full Visual Studio IDE installation. From the Visual Studio Downloads page, scroll down until you see Tools for Visual Studio 2022 under the All Downloads section and select the download for Build Tools for Visual Studio 2022.
DevExpress has a free plug-in called DXCore which provides some nice abstractions upon which to then build other plug-ins...you might look into that.
Do you really want to do it in unmanaged code? DevExpress has a nice free library to develop visual studio plugins but it's managed. This is what they use to develop Refactor and coderush
http://www.devexpress.com/Products/Visual_Studio_Add-in/DXCore/
It seems the underlying API is kind of messy. As far as I know this is the easiest way.
I've never tried, so I don't know about doing it in C++, but this website has loads of information: http://msdn.microsoft.com/en-us/vsx/default.aspx
A good place to start would be this tutorial:
http://www.c-sharpcorner.com/UploadFile/mgold/AddIns11292005015631AM/AddIns.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With