Directives¶
This page provides an overview of the features Esbonio provides to make working with reStructuredText Directives easier.
Completion¶
The most obvious feature is the completion suggestions, try inserting a .. note::
directive on the next line
In addition to directive names, Esbonio supports suggesting values many kinds of arguments given to a directive, including.
Filepaths
Completing local filepaths is supported for
Pygments Lexers
Sphinx uses the pygments library for its syntax highlighting. Esbonio can offer the names of available lexers as suggestions for the following directives.
Document Links¶
Many text editors will automatically detect links to webpages e.g. https://sphinx-doc.org and make them clickable. The textDocument/documentLink request allows language servers to do the same.
When it makes sense to, esbonio
will add clickable links to many directive arguments, including
Local files
.. include:: ./directives.rst
GoTo …¶
… Definition¶
Esbonio supports GoTo Definition requests for directive arguments, including
Local files
.. include:: ./symbols.rst