Skip to content

Commit 8706286

Browse files
author
mergerepo
committed
Merge remote branch 'origin/master' into edge
(no-precommit-check no-tn-check)
2 parents 92b9622 + b93bd59 commit 8706286

File tree

12 files changed

+797
-141
lines changed

12 files changed

+797
-141
lines changed

.github/workflows/pack-binaries.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ fi
2727

2828
chmod -R -v +x als-*-$DEBUG
2929
for X in Linux macOS Windows ; do mv -v -f als-$X-$DEBUG/* integration/vscode/ada/; done
30-
cp -v -f LICENSE integration/vscode/ada/
3130
pushd integration/vscode/ada
3231
sed -i -e "/version/s/[0-9][0-9.]*/$TAG/" package.json
3332
[ -z "$DEBUG" ] || sed -i -e '/^ "name"/s/ada/ada-debug/' \

README.md

Lines changed: 9 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@ It will build `.obj/server/ada_language_server` file.
7070

7171
To build the language server you need:
7272

73-
* A GNAT compiler
73+
* The GNAT compiler (at least GCC 11 or GNAT Community Edition 2021)
7474
* The [Libadalang](https://github.com/AdaCore/libadalang) library (it should be
7575
built)
7676
* The [Libadalang-tools](https://github.com/AdaCore/libadalang-tools) library
7777
* The [VSS](https://github.com/AdaCore/VSS) library
78+
* The [gnatdoc](https://github.com/AdaCore/gnatdoc) library
79+
* The [gpr](https://github.com/AdaCore/gpr) library
7880
* The a process [spawn](https://github.com/AdaCore/spawn) library
7981

8082
Project files of the libraries must be available via the `GPR_PROJECT_PATH`
@@ -100,69 +102,8 @@ client provides its-own way to set such settings.
100102

101103
## Supported LSP Server Requests
102104

103-
### General Requests
104-
105-
| Request | Supported |
106-
| :------------------------------------ | :----------------: |
107-
| `initialize` | :white_check_mark: |
108-
| `initialized` | :white_check_mark: |
109-
| `shutdown` | :white_check_mark: |
110-
| `exit` | :white_check_mark: |
111-
| `$/cancelRequest` | :white_check_mark: |
112-
113-
### Workspace Requests
114-
115-
| Request | Supported |
116-
| :------------------------------------ | :----------------: |
117-
| `workspace/didChangeWorkspaceFolders` | |
118-
| `workspace/didChangeConfiguration` | :white_check_mark: |
119-
| `workspace/didChangeWorkspaceFolders` | |
120-
| `workspace/didChangeWatchedFiles` | :white_check_mark: |
121-
| `workspace/symbol` | :white_check_mark: |
122-
| `workspace/executeCommand` | :white_check_mark: |
123-
124-
### Synchronization Requests
125-
126-
| Request | Supported |
127-
| :------------------------------------ | :----------------: |
128-
| `textDocument/didOpen` | :white_check_mark: |
129-
| `textDocument/didChange` | :white_check_mark: |
130-
| `textDocument/willSave` | |
131-
| `textDocument/willSaveWaitUntil` | |
132-
| `textDocument/didSave` | |
133-
| `textDocument/didClose` | :white_check_mark: |
134-
135-
### Text Document Requests
136-
137-
| Request | Supported |
138-
| :------------------------------------ | :----------------: |
139-
| `textDocument/completion` | :white_check_mark: |
140-
| `completionItem/resolve` | |
141-
| `textDocument/hover` | :white_check_mark: |
142-
| `textDocument/signatureHelp` | :white_check_mark: |
143-
| `textDocument/definition` | :white_check_mark: |
144-
| `textDocument/declaration` | :white_check_mark: |
145-
| `textDocument/typeDefinition` | :white_check_mark: |
146-
| `textDocument/implementation` | :white_check_mark: |
147-
| `textDocument/references` | :white_check_mark: |
148-
| `textDocument/documentHighlight` | :white_check_mark: |
149-
| `textDocument/documentSymbol` | :white_check_mark: |
150-
| `textDocument/codeAction` | :white_check_mark: |
151-
| `textDocument/codeLens` | |
152-
| `codeLens/resolve` | |
153-
| `textDocument/documentLink` | |
154-
| `documentLink/resolve` | |
155-
| `textDocument/documentColor` | |
156-
| `textDocument/colorPresentation` | |
157-
| `textDocument/formatting` | :white_check_mark: |
158-
| `textDocument/rangeFormatting` | |
159-
| `textDocument/onTypeFormatting` | |
160-
| `textDocument/rename` | :white_check_mark: |
161-
| `textDocument/prepareRename` | :white_check_mark: |
162-
| `textDocument/foldingRange` | :white_check_mark: |
163-
| `textDocument/prepareCallHierarchy` | :white_check_mark: |
164-
| `callHierarchy/incomingCalls` | :white_check_mark: |
165-
| `callHierarchy/outgoingCalls` | :white_check_mark: |
105+
See [WiKi page](https://github.com/AdaCore/ada_language_server/wiki/Supported-LSP-requests)
106+
for the list of supported requests.
166107

167108
### Protocol extensions
168109

@@ -176,6 +117,10 @@ specification. See [corresponding document](doc/README.md).
176117

177118
[Tutorial: Using Ada in VS Code](https://github.com/AdaCore/ada_language_server/wiki/Getting-Started).
178119

120+
### Refactoring
121+
122+
See a [dedicated document](doc/refactoring_tools.md) with the list of available refactorings.
123+
179124
### Auto-detected tasks
180125

181126
The extension includes a task provider. It provides the following "auto-detected" tasks
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
$ Code samples
2+
3+
Here is some code samples for the Ada Language Server and the VS Code extension.
4+
5+
* [Hello world](hello/) - simple project to ge started with VS Code
6+
* [Docker](docker/) - example using Ada with Remote/Container VS Code feature
7+
* [Gnatprove](gnatprove/) - SPARK/gnatprove integration example
8+
* [Refactoring demos](refactoring_demos/) - sample code to check refactoring capabilities
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Refactoring demos
2+
3+
This directory contains source codes used in the refactoring demo.

0 commit comments

Comments
 (0)