I'm attempting to build a visual studio extension. My project is created from the "VSIX Project" template.
According to the documentation there should be a template for a custom editor but I am not finding it and failing at googling it. Is there something I'm missing beyond the SDK or am I misreading the documentation?
https://msdn.microsoft.com/en-us/library/bb166460.aspx
To create a VSPackage using the Visual Studio Package template
1.Create a project with the Visual Studio Package template. For more information about using this template, see Creating an Extension with a Menu Command.
2.Select the Custom Editor option and click Next. The Editor Options page is displayed.
3.Type the name of your editor in the Editor Name box. Type the file extension that you want to be associated with your editor in the File Extension box. Your editor is available for files with this extension. The file extension is registered for Visual Studio only, not for Windows. Type the default file name for new documents created with your editor in the Default File Name box.
4.Click Finish to create your VSPackage in the folder that you specified.
The extensibility project templates were refactored into item templates in an effort to make the templates more usable. For example, you can add multiple items like commands, toolwindows etc to a single project.
That documentation is definitely outdated. I'd recommend using the Editor_With_Toolbox sample, or perhaps the WPFDesigner_XML sample (from the VS Extensibility Samples on GitHub), as a starting point for your project.
According to: https://msdn.microsoft.com/en-us/library/dn916149.aspx?f=255&MSPPError=-2147217396
It seems like the ability to create custom editors in any language but C++ was removed in VS2015.
I think the microsoft dokumentation, for these topics, is outdated.
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