Sha256: b30c2ae514930138c8c736cc10b0cbad0ab61c3cc7310878f527ac5b83276950
Contents?: true
Size: 1012 Bytes
Versions: 3
Compression:
Stored size: 1012 Bytes
Contents
import { ExtensionContext, Disposable } from 'vscode' import { isCustomExecutionPathConfigured } from './config' import { tryInstallOrUpdate } from './install-tools' import { configureLanguageServer } from './language-server' let disposable: Disposable // this method is called when your extension is activated // your extension is activated the very first time the command is executed export async function activate(context: ExtensionContext) { // Use the console to output diagnostic information (console.log) and errors (console.error) // This line of code will only be executed once when your extension is activated // console.log('Congratulations, your extension "yoda" is now active!'); if (!isCustomExecutionPathConfigured()) { await tryInstallOrUpdate() } const languageServer = configureLanguageServer() disposable = languageServer.start() } // this method is called when your extension is deactivated export function deactivate() { disposable?.dispose() }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yoda-language-server-0.10.1 | client/vscode/src/extension.ts |
yoda-language-server-0.10.0 | client/vscode/src/extension.ts |
yoda-language-server-0.9.0 | client/vscode/src/extension.ts |