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
Copy file name to clipboardExpand all lines: doc/vscode-ug.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,20 @@ Here are some links that will help you get familiar with the VS Code extension f
36
36
37
37
*[Tutorial: Using Ada in VS Code](./Getting-Started.md).
38
38
39
+
40
+
## Environment Setup
41
+
42
+
The following environment variables influence the operation of the Ada extension:
43
+
44
+
*`PATH` should include the path to the GNAT compiler installation in order to benefit from auto-completion and navigation into the standard runtime.
45
+
Without it, auto-completion and navigation will work only on the sources visible in the project closure, but not on the packages of the standard library `Ada.*`.
46
+
47
+
*`GPR_PROJECT_PATH` provides paths to other `.gpr` Ada projects that your project depends on.
48
+
49
+
When running VS Code locally, you can provide these environment variables by exporting them in a terminal, and starting VS Code from that same terminal with the `code` command.
50
+
51
+
If you are running VS Code to develop on a remote machine, please refer to the [dedicated section](#vs-code-remote) to setup your environment properly.
52
+
39
53
## Configuration
40
54
41
55
[ALS settings](./settings.md) can be specified in various ways. For example:
Copy file name to clipboardExpand all lines: integration/vscode/ada/README.md
-11Lines changed: 0 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,17 +56,6 @@ The `gnatprove` crate provides GNATprove.
56
56
Both tools are available for Linux, Windows and macOS (Intel and Apple silicon)
57
57
* On Windows with [msys2](https://www.msys2.org/) you can install the `gcc` and `gprbuild` packages.
58
58
59
-
## Environment Setup
60
-
61
-
The following environment variables influence the operation of the Ada extension:
62
-
63
-
*`PATH` should include the path to the GNAT compiler installation in order to benefit from auto-completion and navigation into the standard runtime.
64
-
Without it, auto-completion and navigation will work only on the sources visible in the project closure, but not on the packages of the standard library `Ada.*`.
65
-
66
-
*`GPR_PROJECT_PATH` provides paths to other `.gpr` Ada projects that your project depends on.
67
-
68
-
When running VS Code locally, you can provide these environment variables by exporting them in a terminal, and starting VS Code from that same terminal with the `code` command.
69
-
70
59
## Documentation
71
60
72
61
*[Ada Language Server README.md: VS Code Extension](https://github.com/AdaCore/ada_language_server/blob/master/README.md#vs-code-extension)
0 commit comments