Releases: swyddfa/esbonio
Esbonio VSCode Extension v0.10.5 - 2022-11-05
v0.10.5 - 2022-11-05
Fixes
- The extension no longer shows an annoying second error notification when you dismiss install/update requests. (#286)
- An error while checking for the latest release of the language server no longer prevents the existing server from starting. (#454)
- Language status items should no longer disappear on Windows when configured using explicit filepaths. (#458)
- The preview panel should now open on Windows when configured with explicit file paths (#466)
Enhancements
-
Add
esbonio.server.showDeprecationWarnings
option.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) -
The extension now gives the option for you to disable the language server when it requests you install/update it. (#468)
Misc
Esbonio Extensions v0.2.2 - 2022-11-05
Esbonio Language Server v0.14.3 - 2022-11-05
v0.14.3 - 2022-11-05
Enhancements
-
Add
esbonio.server.showDeprecationWarnings
option.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_diagnostics
method to theRstLanguageServer
to enable adding diagnostics to a document incrementally. (#443 ) -
The
Directives
language feature can now be extended by registeringDirectiveLanguageFeatures
using the newadd_feature
method.
This is now the preferred extension mechanism and should be used by all extensions going forward. (#444) -
DirectiveLanguageFeatures
can 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 (function
vspy:function
vsc:function
etc.)get_implementation
: used to go from a directive name (function
vspy:function
) to its implementationsuggest_options
: used to determine which directive options can be suggested in the current completion context (#453)
Deprecated
ArgumentCompletion
,ArgumentDefinition
andArgumentLink
directive providers have been deprecated in favour ofDirectiveLanguageFeatures
and will be removed inv1.0
(#444)- Calling the
get_directives()
method on theRstLanguageServer
andSphinxLanguageServer
objects is deprecated in favour of calling theget_directives()
method on theDirectives
language feature.
It will be removed inv1.0
- Calling the
get_directive_options()
method on theRstLanguageServer
andSphinxLanguageServer
objects deprecated and will be removed inv1.0
. (#453)
Misc
Esbonio Language Server v0.14.1 - 2022-09-11
v0.14.1 - 2022-09-11
Fixes
- textDocument/documentSymbol requests should no longer fail on substitution definitions. (#448)
Esbonio VSCode Extension v0.10.1 - 2022-09-07
v0.10.1 - 2022-09-07
Removed
- The reStructuredText Syntax Highlighting extension is no longer included via VSCode's "Extension Pack" feature as these rules are now distributed with VSCode itself. (#447)
Esbonio VSCode Extension v0.10.0 - 2022-08-02
v0.10.0 - 2022-08-02
Features
Initial very experimental web extension support! Currently this is limited to the vanilla docutils language server available in the esbonio Python package - so no Sphinx support yet.
The outline view, basic completions and hovers for vanilla docutils roles and directives are the only known working features at this point. (#438)
Enhancements
- Log output in the Esbonio output channel is now syntax highlighted. (#436)
Esbonio Language Server v0.14.0 - 2022-07-31
v0.14.0 - 2022-07-31
Features
- The language server now supports textDocument/implementation requests for roles and directives. (#431)
Enhancements
Fixes
- Diagnostics for issues found in .. included:: files should now have the correct filepath. (#425)
- Extensions defined within Sphinx extensions or conf.py files can now take advantage of dependency injection (#428)
- The server should now handle document symbol requests for files that are treated as reStructuredText files by a language client but don't have an *.rst extension. (#434)
Esbonio Extensions v0.2.0 - 2022-06-29
Esbonio Language Server v0.13.1 - 2022-06-29
v0.13.1 - 2022-06-29
Fixes
API Changes
Improved type annotations allow rst.get_feature to be called with a language feature's type and have the return type match accordingly. This should allow editors to provide better autocomplete suggestions etc. (#409)
esbonio_setup functions can now request specific language features and servers, just by providing type annotations e.g:
from esbonio.lsp.roles import Roles from esbonio.lsp.sphinx import SphinxLanguageServer
def esbonio_setup(rst: SphinxLanguageServer, roles: Roles): ...
This function will then only be called when the language server is actually an instance of SphinxLanguageServer and only when that lanuage server instance contains an intance of the Roles feature. (#410)
Deprecated
- Calling rst.get_feature with a string will become an error in v.1.0, a language feature's class should be given instead. (#409)
Esbonio VSCode Extension v0.9.2 - 2022-06-07
v0.9.2 - 2022-06-07
Fixes
The esbonio.server.pythonPath setting now accepts paths relative to ${workspaceFolder}.
Note This is simply an alias for the existing ${workspaceRoot} functionality. (#404)