@codingame/monaco-languageclient-wrapper
Advanced tools
Comparing version 1.3.2 to 1.4.0
import 'proxy-polyfill'; | ||
import { loadExtensionConfigurations } from './extensionConfiguration'; | ||
import { WillShutdownParams } from './extensions'; | ||
import './hacks'; | ||
import { createLanguageClientManager, StatusChangeEvent } from './languageClient'; | ||
import { createLanguageClientManager, LanguageClientManager, StatusChangeEvent } from './languageClient'; | ||
import { LanguageClientId } from './staticOptions'; | ||
export { createLanguageClientManager }; | ||
export type { StatusChangeEvent, LanguageClientId }; | ||
export { loadExtensionConfigurations, createLanguageClientManager, LanguageClientManager }; | ||
export type { StatusChangeEvent, LanguageClientId, WillShutdownParams }; |
@@ -22,2 +22,3 @@ import { MonacoLanguageClient, Emitter, Event, TextDocument } from '@codingame/monaco-languageclient'; | ||
private libraryUrls; | ||
private mutualized; | ||
languageClient?: MonacoLanguageClient; | ||
@@ -29,3 +30,3 @@ protected readonly onDidChangeStatusEmitter: Emitter<StatusChangeEvent>; | ||
protected currentStatus?: Status; | ||
constructor(id: LanguageClientId, sessionId: string | undefined, languageServerAddress: string, getSecurityToken: () => Promise<string>, languageServerOptions: StaticLanguageClientOptions, libraryUrls: string[]); | ||
constructor(id: LanguageClientId, sessionId: string | undefined, languageServerAddress: string, getSecurityToken: () => Promise<string>, languageServerOptions: StaticLanguageClientOptions, libraryUrls: string[], mutualized: boolean); | ||
private updateStatus; | ||
@@ -47,5 +48,5 @@ private notifyStatusChanged; | ||
} | ||
declare function createLanguageClientManager(id: LanguageClientId, sessionId: string | undefined, languageServerAddress: string, getSecurityToken: () => Promise<string>, libraryUrls: string[]): LanguageClientManager; | ||
declare function createLanguageClientManager(id: LanguageClientId, sessionId: string | undefined, languageServerAddress: string, getSecurityToken: () => Promise<string>, libraryUrls: string[], mutualized?: boolean): LanguageClientManager; | ||
declare function getAllLanguageClientManagers(): LanguageClientManager[]; | ||
declare function getAllLanguageClientManagersByTextDocument(textDocument: TextDocument): LanguageClientManager[]; | ||
export { createLanguageClientManager, getAllLanguageClientManagers, getAllLanguageClientManagersByTextDocument }; |
@@ -1,8 +0,6 @@ | ||
import { DocumentSelector, LanguageClientOptions } from '@codingame/monaco-languageclient'; | ||
export interface LanguageServerConfig { | ||
documentSelector: DocumentSelector; | ||
synchronizeConfigurationSection?: string | string[]; | ||
initializationOptions?: unknown | (() => unknown); | ||
} | ||
export declare type StaticLanguageClientOptions = Pick<LanguageClientOptions, 'documentSelector' | 'synchronize' | 'initializationOptions' | 'middleware'>; | ||
import { LanguageClientOptions } from '@codingame/monaco-languageclient'; | ||
export declare type StaticLanguageClientOptions = Pick<LanguageClientOptions, 'documentSelector' | 'synchronize' | 'initializationOptions' | 'middleware'> & { | ||
vscodeExtensionIds?: string[]; | ||
mutualizable: boolean; | ||
}; | ||
declare type LanguageClientOptionsById<T extends string> = Record<T, StaticLanguageClientOptions>; | ||
@@ -9,0 +7,0 @@ declare const staticOptions: LanguageClientOptionsById<"angular" | "bash" | "c" | "cpp" | "csharp" | "clojure" | "cobol" | "dart" | "go" | "groovy" | "java" | "javascript" | "kotlin" | "lua" | "php-serenata" | "php" | "python" | "r" | "react" | "ruby" | "rust" | "scala" | "sql" | "swift" | "typescript" | "vue">; |
{ | ||
"name": "@codingame/monaco-languageclient-wrapper", | ||
"version": "1.3.2", | ||
"version": "1.4.0", | ||
"private": false, | ||
@@ -23,3 +23,3 @@ "description": "Enhanced Monaco editor with TextMate grammars and more", | ||
"dependencies": { | ||
"@codingame/monaco-editor-wrapper": "^1.1.4", | ||
"@codingame/monaco-editor-wrapper": "^1.4.0", | ||
"once": "^1.4.0", | ||
@@ -26,0 +26,0 @@ "sweetalert": "^2.1.2" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1024163
18
19772