How to unregister extension from filetype with FileTypeManager(Ex)?

It looks to me that there's no way to unregister an exception from a filetype.
Most people at my company associate a custom file type with XML type, but I want
to unregister it and associate it with my plugin's file type. Is there some way
I'm missing?

1 comment
Comment actions Permalink

Hello Keith,

KL> It looks to me that there's no way to unregister an exception from a
KL> filetype. Most people at my company associate a custom file type
KL> with XML type, but I want to unregister it and associate it with my
KL> plugin's file type. Is there some way I'm missing?

No, you aren't missing anything. The IDEA file type configuration handles
removing extensions by clearing the internal map and then adding remaining
extensions one by one.

Please file a JIRA request to add this to OpenAPI.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.