Questions about custom editors #528
Replies: 1 comment 1 reply
-
Ugh. Trying around stuff based on other samples and docs. I tried using I think this is related to the ServiceProvider passed to the |
Beta Was this translation helpful? Give feedback.
-
The documentation around custom editors seems to be lacking, so I have a few questions:
MapLogicalView
vs the registry/config entries? (And there are also bothProvideLogicalEditorView
andProvideView
attributes...)CreateEditorInstance
need, can, or should support?.something.json
. I wonder if it is possible to make my editor by the default for some core file extension but defer to the other default editor if it's not really from my secondary extension so it opens automatically without messing up editing other files with that extension.P.S. Is there any example project for how to target multiple VS versions using the community toolkit? It's not clear what's the best way to do so from the VSSDK docs... And whether it is possible to release a vsix for multiple versions and what version of the community toolkit it needs to depend on.
Also, is there any documentation or wizard for the
VSPackage.resx
resources file that VS looks for in your package for resources outside the examples? It took me some time to figure it out until I found out how to set it up from the examples.Beta Was this translation helpful? Give feedback.
All reactions