diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-10-18 14:10:54 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-11-07 11:36:49 +0000 |
commit | 0a6b84989775c0a9054ee5167212454da09c416f (patch) | |
tree | 4d1d503abe5c366546d74f79126eab9f8cc8f71a /doc | |
parent | 1490cf65966007ec7564475da9d606d3ae6475fc (diff) |
Add an LSP server
This provides IDE-agnostic tooling via the Language Server Protocol
(https://microsoft.github.io/language-server-protocol).
The protocol implementation is taken from Qt Creator, plus a minimal set
of dependencies.
For now, our server provides only the "Goto definition" capability,
which
allows IDE users to click on a Depends item and get to the corresponding
module or product.
Task-number: QBS-395
Change-Id: Ia444aa7a6d1c114e4fd456098c74134ccdaadcec
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/appendix/json-api.qdoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/appendix/json-api.qdoc b/doc/appendix/json-api.qdoc index 28a8a943c..02ec6aef3 100644 --- a/doc/appendix/json-api.qdoc +++ b/doc/appendix/json-api.qdoc @@ -94,6 +94,7 @@ \header \li Property \li Type \row \li api-level \li int \row \li api-compat-level \li int + \row \li lsp-socket \li string \endtable The value of \c api-level is increased whenever the API is extended, for instance @@ -108,6 +109,10 @@ The value of \c api-compat-level is always less than or equal to the value of \c api-level. + The value of \c lsp-socket is a path to a local domain socket (on Unix) or + a named pipe (on Windows). It provides a server implementing the + \l{https://microsoft.github.io/language-server-protocol}{Language Server Protocol}. + \section1 Resolving a Project To instruct \QBS to load a project from disk, a request of type |