Esbonio Language Server v0.14.3 - 2022-11-05
·
1100 commits
to develop
since this release
v0.14.3 - 2022-11-05
Enhancements
-
Add
esbonio.server.showDeprecationWarningsoption.This is flag is primarily aimed at developers working either directly on esbonio, or one of its extensions.
When enabled, any warnings (such asDeprecationWarnings) will be logged and published to the client as diagnostics. (#443)
Fixes
- Spinx log messages are no longer duplicated after refreshing the application instance (#460)
API Changes
-
Added
add_diagnosticsmethod to theRstLanguageServerto enable adding diagnostics to a document incrementally. (#443 ) -
The
Directiveslanguage feature can now be extended by registeringDirectiveLanguageFeaturesusing the newadd_featuremethod.
This is now the preferred extension mechanism and should be used by all extensions going forward. (#444) -
DirectiveLanguageFeaturescan now implement the following methods.index_directives: used to discover available directive implementationssuggest_directives: used to determine which directive names can be suggested in the current completion context (functionvspy:functionvsc:functionetc.)get_implementation: used to go from a directive name (functionvspy:function) to its implementationsuggest_options: used to determine which directive options can be suggested in the current completion context (#453)
Deprecated
ArgumentCompletion,ArgumentDefinitionandArgumentLinkdirective providers have been deprecated in favour ofDirectiveLanguageFeaturesand will be removed inv1.0(#444)- Calling the
get_directives()method on theRstLanguageServerandSphinxLanguageServerobjects is deprecated in favour of calling theget_directives()method on theDirectiveslanguage feature.
It will be removed inv1.0 - Calling the
get_directive_options()method on theRstLanguageServerandSphinxLanguageServerobjects deprecated and will be removed inv1.0. (#453)