You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[How to use the VScode extension](#how-to-use-the-vscode-extension)
41
38
-[Getting started](#getting-started)
@@ -44,12 +41,13 @@ extension at
44
41
-[Commands and shortcuts](#commands-and-shortcuts)
45
42
-[Launch the extension to debug it](#launch-the-extension-to-debug-it)
46
43
-[Configuration](#configuration)
47
-
-[Integration with Coc.NVim](#integration-with-cocnvim)
48
-
-[Integration with vim-lsp](#integration-with-vim-lsp)
49
-
-[Integration with LanguageClient-Neovim](#integration-with-languageclient-neovim)
50
-
-[Integration with Neovim's built-in LSP client](#integration-with-neovims-built-in-lsp-client)
44
+
-[Integration with other editors and IDEs](#integration-with-other-editors-and-ides)
45
+
-[Integration with Coc.NVim](#integration-with-cocnvim)
46
+
-[Integration with vim-lsp](#integration-with-vim-lsp)
47
+
-[Integration with LanguageClient-Neovim](#integration-with-languageclient-neovim)
48
+
-[Integration with Neovim's built-in LSP client](#integration-with-neovims-built-in-lsp-client)
51
49
-[Integration with emacs lsp-mode](#integration-with-emacs-lsp-mode)
52
-
-[Integration with QtCreator](#integration-with-qtcreator)
50
+
-[Integration with QtCreator](#integration-with-qtcreator)
53
51
-[Refactoring Tools](#refactoring-tools)
54
52
-[Authors & Contributors](#authors--contributors)
55
53
-[Contribute](#contribute)
@@ -77,7 +75,7 @@ To build the language server you need:
77
75
* The [VSS](https://github.com/AdaCore/VSS) library
78
76
* The [gnatdoc](https://github.com/AdaCore/gnatdoc) library
79
77
* The [gpr](https://github.com/AdaCore/gpr) library
80
-
* The a process [spawn](https://github.com/AdaCore/spawn) library
78
+
* The process [spawn](https://github.com/AdaCore/spawn) library
81
79
82
80
Project files of the libraries must be available via the `GPR_PROJECT_PATH`
83
81
environment variable.
@@ -126,7 +124,12 @@ formatting might no succeed on incomplete/illegal code.
126
124
127
125
***Toooling support**: we currently provide minimal support for *SPARK* (see *Prove/Examine* tasks in the [Auto-detected tasks](#auto-detected-tasks) section), but there is no support for tools such as *CodePeer*, *GNATcheck*, *GNATtest* or *GNATcoverage*.
128
126
129
-
***Project support**: there is no `Scenario` view: users should configure scenarios via the *ada.scenarioVariables* setting (see the settings list available [here](doc/refactoring_tools.md)). You can execute the *Developper: Reload Window* command to reload your project after saving the new scenario values (use the *Ctrl+P* shortcut to invoke the **Command Palette**, allowing you to execute commands).
127
+
***Alire support**: if the root folder contains an `alire.toml` file and
128
+
there is `alr` executable in the `PATH`, then the language server fetches
129
+
the project's search path, environment variables and the project's file
130
+
name from the crate description.
131
+
132
+
***Project support**: there is no `Scenario` view: users should configure scenarios via the *ada.scenarioVariables* setting (see the settings list available [here](doc/refactoring_tools.md)). You can execute the *Ada: Reload project* command to reload your project after saving the new scenario values (use the *Ctrl+P* shortcut to invoke the **Command Palette**, allowing you to execute commands).
130
133
131
134
Source directories from imported projects should be added in a [workspace file](https://code.visualstudio.com/docs/editor/workspaces#_multiroot-workspaces). If you already have a workspace file, the extension will propose you to automatically add all the source directories coming from imported projects to your workspace automatically at startup.
132
135
@@ -224,7 +227,9 @@ Here is an example config file from the gnatcov project:
224
227
}
225
228
```
226
229
227
-
## Integration with Coc.NVim
230
+
## Integration with other editors and IDEs
231
+
232
+
### Integration with Coc.NVim
228
233
229
234
If you want to use the Ada Language Server with Vim/Neovim, you can use the
230
235
[Coc.NVim](https://github.com/neoclide/coc.nvim). You'll have to
@@ -252,7 +257,7 @@ configure the Ada Language Server with `:CocConfig`:
252
257
}
253
258
```
254
259
255
-
## Integration with vim-lsp
260
+
###Integration with vim-lsp
256
261
257
262
If you want to integrate the Ada Language Server into vim, you can use the
0 commit comments