All notable changes to this project will be documented in this file.
0.10.2 - 2019-09-10
- register language features regardless whether a language is registered (https://github.com/TypeFox/monaco-languageclient/commit/0559be6c20744182ede699f594fdbe6d9f3d7145)
0.10.1 - 2019-09-04
- aligned CompletionItemKind with Monaco 0.17.0 #174
0.10.0 - 2019-08-26
- upgraded to LSP 5.3.0 and Monaco 0.17.0
Switch to es6 from es5. For clients who cannot migrate to es6 please use babel to transpile Monaco and LSP to es5.
- to configure babel wit webpack:
{
test: /\\.js$/,
// include only es6 dependencies to transpile them to es5 classes
include: /monaco-languageclient|vscode-ws-jsonrpc|vscode-jsonrpc|vscode-languageserver-protocol|vscode-languageserver-types|vscode-languageclient/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env'],
plugins: [
// reuse runtime babel lib instead of generating it in each js file
'@babel/plugin-transform-runtime',
// ensure that classes are transpiled
'@babel/plugin-transform-classes'
],
// see https://github.com/babel/babel/issues/8900#issuecomment-431240426
sourceType: 'unambiguous',
cacheDirectory: true
}
}
}0.9.0 - 2018-09-06
- use monaco-editor-core as a dev dependency to allow alternative implementations #119
Clients have to explicitly declare a dependency to monaco-editor-core or another package providing Monaco:
monaco-editor-coreis tree shaked to get rid of unused VS Code's code.- @typefox/monaco-editor-core is a not tree-shaked alternative.
0.8.0 - 2018-09-04
- updated dependency to Monaco 0.14.x, with adaptation for breaking changes from monaco #107 - thanks to @Twinside
- ensure that SignatureHelp and SignatureHelp has non-null arrays #112 - thanks to @rcjsuen
0.7.3 - 2018-08-30
- fixed folding ranges conversion - 12d8c91
- implement
toJSONfor workspace configurations - 9e50a48 - fixed markdown conversion #103
0.7.2 - 2018-08-02
- amd distribution (#97) - thanks to @zewa666
- updated dependency to Monaco 0.13.2 (#100)
- register providers only for languages matching the documentSelector (#101) - thanks to @gins3000
0.7.0 - 2018-07-31
Updated to vscode-languageclient 4.4.0 to support LSP 3.10.0 features like hierarchical document symbols, go to type defition/implementation, workspace folders and document color provider (#89).
In order to use vscode-languageclient directly the compatibility layer was implemented for subset of vscode APIs used by the client:
vscode-compatibilityshould be used as an implementation ofvscodemodule at the runtime- to adjust module resolution with
webpack:
resolve: { alias: { 'vscode': require.resolve('monaco-languageclient/lib/vscode-compatibility') } }
register-vscodeshould be required once to adjust module resolution withNode.js, for example to stubvscodeAPIs for Mocha tests:
--require monaco-languageclient/lib/register-vscode- to adjust module resolution with
MonacoLanguageClientshould be used instead ofBaseLanguageClientMonacoServicesshould be installed globally to be accessible forvscode-compatibilitymodule, not per a language client- for the use case with a single standalone editor:
import { MonacoServices } from 'monaco-languageclient'; MonacoServices.install(editor);
- to support sophisticated use cases one can install custom Monaco services:
import { MonacoServices, Services } from 'monaco-languageclient'; const services: MonacoServices = { worspace, languages, commands, window }; Services.install(services);
0.6.0 - 2018-04-18
- updated dependency to Monaco 0.12 (#70)
- support
CompletionItem'sadditionalTextEditsproperty (#39) - convert
monaco.MarkerSeverity.Hintvalues toDiagnosticSeverity.Hint(#71)
0.4.0 - 2018-02-13
- add support for
textDocument/documentLinkanddocumentLink/resolve(#53) - state that
workspace/applyEditis supported in the capabilities (#55) - state that versioned changes are supported in a
WorkspaceEdit(#56) - replaced
monaco-editorwithmonaco-editor-core(#58)
0.3.0 - 2018-02-08
- fix handling of
codeLens/resolveif no provider exists (#46) - removed
monaco-editor-coredependency, keeping onlymonaco-editor(#42) - fix typings in
glob-to-regexp(#49)
0.2.1 - 2018-01-14
- allow a
rootUrito be set withcreateMonacoServices(#31)
0.2.0 - 2017-08-30
- handle
numbervalue of zero in aDiagnostic'scode(#14) - add support to lazily load Monaco (#19)
- add support for
textDocument/codeActionsandworkspace/executeCommand(#21) - updated dependency to Monaco 0.10 (#29)
- initial 0.1.0 release, depends on Monaco 0.9.0