Skip to content

Commit

Permalink
docs: Add client capability index
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed Oct 18, 2023
1 parent 8c59ad7 commit ea23893
Show file tree
Hide file tree
Showing 45 changed files with 655 additions and 2 deletions.
8 changes: 8 additions & 0 deletions docs/capabilities/text-document.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Text Document
=============

.. toctree::
:maxdepth: 1
:glob:

text-document/*
29 changes: 29 additions & 0 deletions docs/capabilities/text-document/code-action.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
``textDocument/codeAction``
===========================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.code_action.dynamic_registration
Honors Change Annotations
-------------------------

.. capabilities:bool-table:: text_document.code_action.honors_change_annotations
``CodeAction.isPreferred``
--------------------------

.. capabilities:bool-table:: text_document.code_action.is_preferred_support
``CodeAction.disabled``
-----------------------

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

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

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

Dynamic Registration
--------------------

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

Dynamic Registration
--------------------

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

.. capabilities:bool-table:: text_document.completion.dynamic_registration
``CompletionItem.commitCharactersSupport``
------------------------------------------

.. capabilities:bool-table:: text_document.completion.completion_item.commit_characters_support
``CompletionItem.deprecatedSupport``
------------------------------------

.. capabilities:bool-table:: text_document.completion.completion_item.deprecated_support
``CompletionItem.insertReplaceSupport``
---------------------------------------

.. capabilities:bool-table:: text_document.completion.completion_item.insert_replace_support
``CompletionItem.labelDetailsSupport``
--------------------------------------

.. capabilities:bool-table:: text_document.completion.completion_item.label_details_support
``CompletionItem.preselectSupport``
-----------------------------------

.. capabilities:bool-table:: text_document.completion.completion_item.preselect_support
``CompletionItem.snippetSupport``
---------------------------------

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

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

Dynamic Registration
--------------------

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

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

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

Dynamic Registration
--------------------

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

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

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.diagnostic.dynamic_registration
Related Document Support
------------------------

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

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

Dynamic Registration
--------------------

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

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

Dynamic Registration
--------------------

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

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

Dynamic Registration
--------------------

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

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

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

Dynamic Registration
--------------------

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

.. capabilities:bool-table:: text_document.document_symbol.hierarchical_document_symbol_support
Label Support
-------------

.. capabilities:bool-table:: text_document.document_symbol.label_support
14 changes: 14 additions & 0 deletions docs/capabilities/text-document/folding-range.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
``textDocument/foldingRange``
=============================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.folding_range.dynamic_registration
Line Folding Only
-----------------

.. capabilities:bool-table:: text_document.folding_range.line_folding_only
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/formatting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/formatting``
=============================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.formatting.dynamic_registration
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/hover.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/hover``
======================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.hover.dynamic_registration
14 changes: 14 additions & 0 deletions docs/capabilities/text-document/implementation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
``textDocument/implementation``
===============================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.implementation.dynamic_registration
Link Support
------------

.. capabilities:bool-table:: text_document.implementation.link_support
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/inlay-hint.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/inlayHint``
==========================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.inlay_hint.dynamic_registration
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/inline-value.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/inlineValue``
============================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.inline_value.dynamic_registration
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/linked-editing-range.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/linkedEditingRange``
===================================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.linked_editing_range.dynamic_registration
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/moniker.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/moniker``
========================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.moniker.dynamic_registration
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/on-type-formatting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/onTypeFormatting``
=================================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.on_type_formatting.dynamic_registration
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/preapare-call-hierachy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/prepareCallHierarchy``
=====================================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.call_hierarchy.dynamic_registration
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/preapare-type-hierachy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/prepareTypeHierarchy``
=====================================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.type_hierarchy.dynamic_registration
24 changes: 24 additions & 0 deletions docs/capabilities/text-document/publish-diagnostics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
``textDocument/publishDiagnostics``
===================================

Capabilities relating to the :lsp:`textDocument/publishDiagnostics` notification.

Related Information
-------------------

.. capabilities:bool-table:: text_document.publish_diagnostics.related_information
Version Support
---------------

.. capabilities:bool-table:: text_document.publish_diagnostics.version_support
Code Description
----------------

.. capabilities:bool-table:: text_document.publish_diagnostics.code_description
Data Support
------------

.. capabilities:bool-table:: text_document.publish_diagnostics.data_support
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/range-formatting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/rangeFormatting``
================================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.range_formatting.dynamic_registration
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/references.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/references``
===============================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.references.dynamic_registration
19 changes: 19 additions & 0 deletions docs/capabilities/text-document/rename.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
``textDocument/rename``
=======================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.rename.dynamic_registration
Prepare Support
---------------

.. capabilities:bool-table:: text_document.rename.prepare_support
Honors Change Annotations
-------------------------

.. capabilities:bool-table:: text_document.rename.honors_change_annotations
9 changes: 9 additions & 0 deletions docs/capabilities/text-document/selection-range.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``textDocument/selectionRange``
===============================

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

Dynamic Registration
--------------------

.. capabilities:bool-table:: text_document.selection_range.dynamic_registration
Loading

0 comments on commit ea23893

Please sign in to comment.