You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val manager = OurLspExtensionManager()
for (ext in SUPPORTED_FILE_EXTENSIONS) {
IntellijLanguageClient.addExtensionManager(ext, manager)
}
val serverDefinition = OurServerDefinition(SUPPORTED_FILE_EXTENSIONS_STRING, command, repoRoot)
IntellijLanguageClient.addServerDefinition(serverDefinition)
After startup, we want to allow users to add or remove to that list of supported file extensions. From what I gather, we should:
Update the ServerDefinition and ExtensionManagers via methods provided by IntellijLanguageClient
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?
The text was updated successfully, but these errors were encountered: