Closed inequation closed 8 years ago
I'm not 100% certain that it isn't my implementation at fault, because writing VS extensions is stupidly complex! But I did find a blog post about the issue where VS kept losing the extension associations.
@samizzo I've found a solution to the File > Recent Files bug. You need to add an entry to the FileExtensionMapping
registry key, like Roslyn does here. I've written a ProvideFileExtensionMapping
attribute class to do it in C# instead of a .pkgdef file.
Awesome thanks for letting me know!
I just implemented this for NShader and I noticed that if I have both ProvideEditorFactory
and ProvideFileExtensionMapping
on my package, I get two entries in the drop down in Tools->Options->Text Editor->File Extension. Do you see that?
If I have both ProvideEditorExtension
and ProvideFileExtensionMapping
on the package, then yes, I see two entries. Thanks for spotting that, I'll fix it now. (But I can have both ProvideEditorFactory
and ProvideFileExtensionMapping
without causing a duplicate.)
Hey guys, just dropping by to say I really appreciate the change. :) Thanks for making my life easier!
I work with the Unreal Engine 4 and I'd love it if I didn't have to manually change the GUID every time a HLSL Tools update arrives. ;)
Perhaps you could just add this extension to the manifest? It's not a widely used one, there is little chance of ambiguity.