File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 11import { loadConfigurationForExtension } from '@codingame/monaco-editor-wrapper/dist/features/extensionConfigurations'
22import staticOptions , { LanguageClientId } from './staticOptions'
33
4+ /**
5+ * Load the configuration schemas from vscode extensions
6+ * @param forLanguageClientIds Load the extensions related to these language client ids
7+ * @param useMutualizedProxy The language server proxy is used, so we only need to load configurations for language servers which are not mutualized
8+ */
49export async function loadExtensionConfigurations ( forLanguageClientIds : LanguageClientId [ ] , useMutualizedProxy : boolean ) : Promise < void > {
510 const extensionConfigurationToLoad = new Set < string > ( )
611 for ( const languageClientId of forLanguageClientIds ) {
Original file line number Diff line number Diff line change @@ -248,6 +248,16 @@ export class LanguageClientManager implements LanguageClient {
248248
249249const languageClientManagerByLanguageId : Partial < Record < string , LanguageClientManager > > = { }
250250
251+ /**
252+ * Create a language client manager
253+ * @param id The predefined id of the language client
254+ * @param sessionId An optional sessionId when connecting to the session-mutualized server
255+ * @param languageServerAddress The domain of the server
256+ * @param getSecurityToken A function which returns a valid JWT token to use to connect to the server
257+ * @param libraryUrls A list of urls which link to zip files containing libraries/resources
258+ * @param useMutualizedProxy The language server proxy is used, so we only need to load configurations for language servers which are not mutualized
259+ * @returns A language client manager
260+ */
251261function createLanguageClientManager (
252262 id : LanguageClientId ,
253263 sessionId : string | undefined ,
You can’t perform that action at this time.
0 commit comments