For my plugin I need to be able to dynamically unregister a file type during runtime. I have tried using all the different methods(unregister.. and remove.. methods) in the FileManger singleton.
It seems to have worked in some isolated cases in the past. I do not get any errors and the disabled state is getting set because if I stop and restart IDEA the disabled setting is there and the syntax highlighting on that file type is not happening.
Is there maybe some other call I need to make so that the change in file types is applied to the running application?