-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from swyddfa/develop
New Release
- Loading branch information
Showing
35 changed files
with
1,087 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
Features | ||
======== | ||
|
||
This page contains a quick overview of the features offered by the Language | ||
Server | ||
|
||
Completion | ||
---------- | ||
|
||
The Language Server can offer auto complete suggestions in a variety of contexts | ||
|
||
Directives | ||
^^^^^^^^^^ | ||
|
||
.. figure:: ../../resources/images/complete-directive-demo.gif | ||
:align: center | ||
|
||
Completing directive names | ||
|
||
.. note:: | ||
|
||
Currently the Language Server makes a hardcoded assumption that your | ||
``primary_domain`` is set to ``python`` and has no knowledge that other | ||
domains exist. | ||
|
||
Support for additional domains will come in a future release | ||
|
||
Directive Options | ||
^^^^^^^^^^^^^^^^^ | ||
|
||
.. figure:: ../../resources/images/complete-directive-options-demo.gif | ||
:align: center | ||
|
||
Completing a directive's options | ||
|
||
Roles | ||
^^^^^ | ||
|
||
.. figure:: ../../resources/images/complete-role-demo.gif | ||
:align: center | ||
|
||
Completing role names | ||
|
||
.. note:: | ||
|
||
Currently the Language Server makes a hardcoded assumption that your | ||
``primary_domain`` is set to ``python`` and has no knowledge that other | ||
domains exist. | ||
|
||
Support for additional domains will come in a future release | ||
|
||
Role Targets | ||
^^^^^^^^^^^^ | ||
|
||
The lanuguage server is able to offer completions for the targets to a number of | ||
different role types. | ||
|
||
.. figure:: ../../resources/images/complete-role-target-demo.gif | ||
:align: center | ||
|
||
Completing role targets | ||
|
||
Currently supported roles include | ||
|
||
.. hlist:: | ||
:columns: 3 | ||
|
||
* :rst:role:`sphinx:doc` | ||
* :rst:role:`sphinx:envvar` | ||
* :rst:role:`sphinx:ref` | ||
* :rst:role:`sphinx:option` | ||
* :rst:role:`sphinx:py:attr` | ||
* :rst:role:`sphinx:py:class` | ||
* :rst:role:`sphinx:py:data` | ||
* :rst:role:`sphinx:py:exc` | ||
* :rst:role:`sphinx:py:func` | ||
* :rst:role:`sphinx:py:meth` | ||
* :rst:role:`sphinx:py:mod` | ||
* :rst:role:`sphinx:py:obj` | ||
* :rst:role:`sphinx:term` | ||
* :rst:role:`sphinx:token` | ||
|
||
Inter Sphinx | ||
^^^^^^^^^^^^ | ||
|
||
The :doc:`intersphinx <sphinx:usage/extensions/intersphinx>` extension that | ||
comes bundled with Sphinx makes it easy to link to other Sphinx projects. If | ||
configured for your project, the language server will offer autocomplete | ||
suggestions when appropriate. | ||
|
||
.. figure:: ../../resources/images/complete-intersphinx-demo.gif | ||
:align: center | ||
|
||
Completing references to the Python documentation. | ||
|
||
Diagnostics | ||
----------- | ||
|
||
The language server is able to catch some of the errors Sphinx outputs while | ||
building and publish them as diagnostic messages | ||
|
||
.. figure:: ../../resources/images/diagnostic-sphinx-errors-demo.png | ||
:align: center | ||
|
||
Example diagnostic messages from Sphinx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
**Language Server** Directive option completions are now provided | ||
within a directive's options block |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**Language Server** Regex that catches diagnostics from Sphinx's | ||
output can now handle windows paths. Diagnostic reporting now sends a | ||
proper URI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**Language Server** Diagnostics are now reported on first startup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
**Language Server** Fix exception that was thrown when trying to find | ||
completions for an unknown role type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
**Language Server** For projects that use ``interpshinx`` completions | ||
for intersphinx targets are now suggested when available |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
**Language Server** The server will not offer completion suggestions outside of | ||
a role target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.