Get everything in working condition

This commit is contained in:
2020-09-18 17:48:45 +02:00
parent 7fec8e43e9
commit 424daa23f6
75 changed files with 598 additions and 3164 deletions

View File

@@ -37,18 +37,16 @@ export function activate(context: ExtensionContext) {
// Options to control the language client
let clientOptions: LanguageClientOptions = {
// Register the server for plain text documents
documentSelector: [{ scheme: 'file', language: 'plaintext' }],
documentSelector: [{ scheme: 'file', language: 'Angelscript' }],
synchronize: {
// Notify the server about file changes to '.clientrc files contained in the workspace
fileEvents: workspace.createFileSystemWatcher('**/.clientrc')
fileEvents: workspace.createFileSystemWatcher('**/.clientrc'),
}
};
// Create the language client and start the client.
client = new LanguageClient(
'languageServerExample',
'Language Server Example',
'AngelscriptLanguageServer',
'Angelscript Language Server',
serverOptions,
clientOptions
);