Closed payne911 closed 1 week ago
@payne911 Currently there's no way to dynamically remove the file extensions added during the initialization phase. Please feel to open a feature request with your use case so that we can look into the possibility of supporting that.
This is what we run in a
StartupActivity
:After startup, we want to allow users to add or remove to that list of supported file extensions. From what I gather, we should:
ServerDefinition
andExtensionManagers
via methods provided byIntellijLanguageClient
EditorEventManagerBase.forEditor(editor).wrapper.restart()
But it seems like there is no way to remove an extension in the step 1. What is the recommended way to approach this problem?