Skip to content

Commit

Permalink
Merge pull request #149 from swyddfa/develop
Browse files Browse the repository at this point in the history
New Release
  • Loading branch information
alcarney authored Feb 7, 2024
2 parents efcf8f7 + 46eeb13 commit 95f9321
Show file tree
Hide file tree
Showing 74 changed files with 1,071 additions and 452 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black

Expand Down
30 changes: 30 additions & 0 deletions docs/capabilities/general.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
``general``
===========

.. default-domain:: capabilities

.. values-table:: general.position_encodings
:value-set: PositionEncodingKind

``staleRequestSupport``
-----------------------

.. bool-table:: general.stale_request_support.cancel

.. values-table:: general.stale_request_support.retry_on_content_modified

``regularExpressions``
----------------------

.. values-table:: general.regular_expressions.engine

.. values-table:: general.regular_expressions.version

``markdown``
------------

.. values-table:: general.markdown.parser

.. values-table:: general.markdown.version

.. values-table:: general.markdown.allowed_tags
11 changes: 11 additions & 0 deletions docs/capabilities/notebook-document.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
``notebook``
============

.. default-domain:: capabilities

``synchronization``
-------------------

.. bool-table:: notebook_document.synchronization.dynamic_registration

.. bool-table:: notebook_document.synchronization.execution_summary_support
4 changes: 2 additions & 2 deletions docs/capabilities/text-document.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Text Document
=============
``textDocument``
================

.. toctree::
:maxdepth: 1
Expand Down
8 changes: 8 additions & 0 deletions docs/capabilities/text-document/call-hierachy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
``callHierarchy``
=================

Capabilities relating to the :lsp:`textDocument/prepareCallHierarchy` request.

.. default-domain:: capabilities

.. bool-table:: text_document.call_hierarchy.dynamic_registration
30 changes: 11 additions & 19 deletions docs/capabilities/text-document/code-action.rst
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
``textDocument/codeAction``
===========================
``codeAction``
==============

Capabilities relating to the :lsp:`textDocument/codeAction` request.

Dynamic Registration
--------------------
.. default-domain:: capabilities

.. capabilities:bool-table:: text_document.code_action.dynamic_registration
.. bool-table:: text_document.code_action.dynamic_registration

Honors Change Annotations
-------------------------
.. values-table:: text_document.code_action.code_action_literal_support.code_action_kind.value_set
:value-set: CodeActionKind

.. capabilities:bool-table:: text_document.code_action.honors_change_annotations
.. bool-table:: text_document.code_action.is_preferred_support

``CodeAction.isPreferred``
--------------------------
.. bool-table:: text_document.code_action.disabled_support

.. capabilities:bool-table:: text_document.code_action.is_preferred_support
.. bool-table:: text_document.code_action.data_support

``CodeAction.disabled``
-----------------------
.. values-table:: text_document.code_action.resolve_support.properties

.. capabilities:bool-table:: text_document.code_action.disabled_support
``CodeAction.data``
-------------------

.. capabilities:bool-table:: text_document.code_action.data_support
.. bool-table:: text_document.code_action.honors_change_annotations
9 changes: 4 additions & 5 deletions docs/capabilities/text-document/code-lens.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
``textDocument/codeLens``
=========================
``codeLens``
============

Capabilities relating to the :lsp:`textDocument/codeLens` request.

Dynamic Registration
--------------------
.. default-domain:: capabilities

.. capabilities:bool-table:: text_document.code_lens.dynamic_registration
.. bool-table:: text_document.code_lens.dynamic_registration
68 changes: 44 additions & 24 deletions docs/capabilities/text-document/completion.rst
Original file line number Diff line number Diff line change
@@ -1,40 +1,60 @@
``textDocument/completion``
===========================

Dynamic Registration
--------------------
``completion``
==============

Capabilities relating to the :lsp:`textDocument/completion` request.

.. capabilities:bool-table:: text_document.completion.dynamic_registration
.. default-domain:: capabilities

.. bool-table:: text_document.completion.dynamic_registration

.. bool-table:: text_document.completion.context_support

.. values-table:: text_document.completion.insert_text_mode

``completionItem``
------------------

.. bool-table:: text_document.completion.completion_item.snippet_support

.. bool-table:: text_document.completion.completion_item.commit_characters_support

.. values-table:: text_document.completion.completion_item.documentation_format
:value-set: MarkupKind

.. bool-table:: text_document.completion.completion_item.deprecated_support

.. bool-table:: text_document.completion.completion_item.preselect_support

.. bool-table:: text_document.completion.completion_item.insert_replace_support

.. bool-table:: text_document.completion.completion_item.label_details_support

``CompletionItem.commitCharactersSupport``
------------------------------------------
``insertTextModeSupport``
^^^^^^^^^^^^^^^^^^^^^^^^^

.. capabilities:bool-table:: text_document.completion.completion_item.commit_characters_support
.. values-table:: text_document.completion.completion_item.insert_text_mode_support.value_set
:value-set: InsertTextMode

``CompletionItem.deprecatedSupport``
------------------------------------
``resolveSupport``
^^^^^^^^^^^^^^^^^^

.. capabilities:bool-table:: text_document.completion.completion_item.deprecated_support
.. values-table:: text_document.completion.completion_item.resolve_support.properties

``CompletionItem.insertReplaceSupport``
---------------------------------------

.. capabilities:bool-table:: text_document.completion.completion_item.insert_replace_support
``tagSupport``
^^^^^^^^^^^^^^

``CompletionItem.labelDetailsSupport``
--------------------------------------
.. values-table:: text_document.completion.completion_item.tag_support.value_set
:value-set: CompletionItemTag

.. capabilities:bool-table:: text_document.completion.completion_item.label_details_support

``CompletionItem.preselectSupport``
-----------------------------------
``completionItemKind``
----------------------

.. capabilities:bool-table:: text_document.completion.completion_item.preselect_support
.. values-table:: text_document.completion.completion_item_kind.value_set
:value-set: CompletionItemKind

``CompletionItem.snippetSupport``
---------------------------------
``completionList``
------------------

.. capabilities:bool-table:: text_document.completion.completion_item.snippet_support
.. values-table:: text_document.completion.completion_list.item_defaults
14 changes: 5 additions & 9 deletions docs/capabilities/text-document/declaration.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
``textDocument/declaration``
============================
``declaration``
===============

Capabilities relating to the :lsp:`textDocument/declaration` request.

Dynamic Registration
--------------------
.. default-domain:: capabilities

.. capabilities:bool-table:: text_document.declaration.dynamic_registration
.. bool-table:: text_document.declaration.dynamic_registration

Link Support
------------

.. capabilities:bool-table:: text_document.declaration.link_support
.. bool-table:: text_document.declaration.link_support
14 changes: 5 additions & 9 deletions docs/capabilities/text-document/definition.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
``textDocument/definition``
============================
``definition``
==============

Capabilities relating to the :lsp:`textDocument/definition` request.

Dynamic Registration
--------------------
.. default-domain:: capabilities

.. capabilities:bool-table:: text_document.definition.dynamic_registration
.. bool-table:: text_document.definition.dynamic_registration

Link Support
------------

.. capabilities:bool-table:: text_document.definition.link_support
.. bool-table:: text_document.definition.link_support
14 changes: 5 additions & 9 deletions docs/capabilities/text-document/diagnostic.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
``textDocument/diagnostic``
===========================
``diagnostic``
==============

Capabilities relating to the :lsp:`textDocument/diagnostic` request.

Dynamic Registration
--------------------
.. default-domain:: capabilities

.. capabilities:bool-table:: text_document.diagnostic.dynamic_registration
.. bool-table:: text_document.diagnostic.dynamic_registration

Related Document Support
------------------------

.. capabilities:bool-table:: text_document.diagnostic.related_document_support
.. bool-table:: text_document.diagnostic.related_document_support
9 changes: 4 additions & 5 deletions docs/capabilities/text-document/document-color.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
``textDocument/documentColor``
==============================
``documentColor``
=================

Capabilities relating to the :lsp:`textDocument/documentColor` request.

Dynamic Registration
--------------------
.. default-domain:: capabilities

.. capabilities:bool-table:: text_document.color_provider.dynamic_registration
.. bool-table:: text_document.color_provider.dynamic_registration
9 changes: 4 additions & 5 deletions docs/capabilities/text-document/document-highlight.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
``textDocument/documentHighlight``
==================================
``documentHighlight``
=====================

Capabilities relating to the :lsp:`textDocument/documentHighlight` request.

Dynamic Registration
--------------------
.. default-domain:: capabilities

.. capabilities:bool-table:: text_document.document_highlight.dynamic_registration
.. bool-table:: text_document.document_highlight.dynamic_registration
14 changes: 5 additions & 9 deletions docs/capabilities/text-document/document-link.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
``textDocument/documentLink``
==================================
``documentLink``
================

Capabilities relating to the :lsp:`textDocument/documentLink` request.

Dynamic Registration
--------------------
.. default-domain:: capabilities

.. capabilities:bool-table:: text_document.document_link.dynamic_registration
.. bool-table:: text_document.document_link.dynamic_registration

Tooltip Support
---------------

.. capabilities:bool-table:: text_document.document_link.tooltip_support
.. bool-table:: text_document.document_link.tooltip_support
28 changes: 17 additions & 11 deletions docs/capabilities/text-document/document-symbols.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
``textDocument/documentSymbols``
================================
``documentSymbols``
===================

Capabilities relating to the :lsp:`textDocument/documentSymbols` request.

Dynamic Registration
--------------------
.. default-domain:: capabilities

.. capabilities:bool-table:: text_document.document_symbol.dynamic_registration
.. bool-table:: text_document.document_symbol.dynamic_registration

Hierarchical Symbols
--------------------
.. bool-table:: text_document.document_symbol.hierarchical_document_symbol_support

.. capabilities:bool-table:: text_document.document_symbol.hierarchical_document_symbol_support
.. bool-table:: text_document.document_symbol.label_support

Label Support
-------------

.. capabilities:bool-table:: text_document.document_symbol.label_support
``symbolKind``
--------------

.. values-table:: text_document.document_symbol.symbol_kind.value_set
:value-set: SymbolKind

``tagSupport``
--------------

.. values-table:: text_document.document_symbol.tag_support.value_set
:value-set: SymbolTag
26 changes: 18 additions & 8 deletions docs/capabilities/text-document/folding-range.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
``textDocument/foldingRange``
=============================
``foldingRange``
================

Capabilities relating to the :lsp:`textDocument/foldingRange` request.

Dynamic Registration
--------------------
.. default-domain:: capabilities

.. bool-table:: text_document.folding_range.dynamic_registration

.. values-table:: text_document.folding_range.range_limit

.. bool-table:: text_document.folding_range.line_folding_only

.. capabilities:bool-table:: text_document.folding_range.dynamic_registration
``foldingRange``
----------------

Line Folding Only
-----------------
.. bool-table:: text_document.folding_range.folding_range.collapsed_text


``foldingRangeKind``
--------------------

.. capabilities:bool-table:: text_document.folding_range.line_folding_only
.. values-table:: text_document.folding_range.folding_range_kind.value_set
:value-set: FoldingRangeKind
Loading

0 comments on commit 95f9321

Please sign in to comment.