Skip to content

Commit 5b3df82

Browse files
Fix some warnings in documentation
For eng/ide/ada_language_server#1705
1 parent 071b64d commit 5b3df82

File tree

4 files changed

+20
-43
lines changed

4 files changed

+20
-43
lines changed

README.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,6 @@ extension at
4646
- [Supported LSP Server Requests](#supported-lsp-server-requests)
4747
- [Protocol Extensions](#protocol-extensions)
4848
- [VS Code Extension](#vs-code-extension)
49-
- [Getting Started](#getting-started)
50-
- [Configuration](#configuration)
51-
- [Refactoring](#refactoring)
52-
- [Tasks](#tasks)
53-
- [Task Customization](#task-customization)
54-
- [Tasks for Project Mains](#tasks-for-project-mains)
55-
- [Status Bar](#status-bar)
56-
- [Alire Support](#alire-support)
57-
- [GNATtest Support](#gnattest-support)
58-
- [Using multi-root workspaces for test development](#using-multi-root-workspaces-for-test-development)
59-
- [Limitations](#limitations)
60-
- [GNATcoverage Support](#gnatcoverage-support)
61-
- [Cross and Embedded Support](#cross-and-embedded-support)
62-
- [GNATemulator Support](#gnatemulator-support)
63-
- [Remote Debugging](#remote-debugging)
64-
- [Working with Multiple Projects in the Same VS Code Workspace](#working-with-multiple-projects-in-the-same-vs-code-workspace)
65-
- [Commands and Shortcuts](#commands-and-shortcuts)
66-
- [Ada: Go to other file](#ada-go-to-other-file)
67-
- [Ada: Add subprogram box](#ada-add-subprogram-box)
68-
- [Ada: Reload project](#ada-reload-project)
69-
- [Tasks with keyboard shortcuts](#tasks-with-keyboard-shortcuts)
70-
- [Bug Reporting](#bug-reporting)
71-
- [Limitations and Differences with GNAT Studio](#limitations-and-differences-with-gnat-studio)
7249
- [Integration with other editors and IDEs](#integration-with-other-editors-and-ides)
7350
- [Integration with Coc.NVim](#integration-with-cocnvim)
7451
- [Integration with vim-lsp](#integration-with-vim-lsp)

doc/Set-workspace-specific-environment-variables.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
This small tutorial will help you to create a workspace-specific environment, allowing you to set and/or modify environment variables for your project (e.g: put the needed toolchain in front of your `PATH`).
55

6-
This is particularly useful when working on [remote machines](Working-on-a-remote-machine) in order
6+
This is particularly useful when working on [remote machines](Working-on-a-remote-machine) in order
77
to avoid modifying the environment globally just to work on a given project.
88

99
## Prerequisites
@@ -23,33 +23,33 @@ Extensions view (`Ctrl+Shift+X`).
2323

2424
Basically you just need to specify your environment variables and their associated values via the `terminal.integrated.env.*` VS Code settings in your workspace file (or your `settings.json` file), like in the following example:
2525

26-
```
27-
// Set a workspace-specific environment for OSX platforms.
28-
"terminal.integrated.env.osx": {
29-
// Set MAIN_NUMBER scenario variable to MAIN_2 directly from the environment
30-
"MAIN_NUMBER": "MAIN_2",
26+
```json
27+
// Set a workspace-specific environment for OSX platforms.
28+
"terminal.integrated.env.osx": {
29+
// Set MAIN_NUMBER scenario variable to MAIN_2 directly from the environment
30+
"MAIN_NUMBER": "MAIN_2",
3131

3232
// Set custom GPR_PROJECT_PATH
33-
"GPR_PROJECT_PATH": "${workspaceFolder}/imported:${env:GPR_PROJECT_PATH}:"
33+
"GPR_PROJECT_PATH": "${workspaceFolder}/imported:${env:GPR_PROJECT_PATH}:"
3434
},
3535

36-
// Set a workspace-specific environment for Linux platforms.
37-
"terminal.integrated.env.linux": {
38-
// Set MAIN_NUMBER scenario variable to MAIN_2 directly from the environment
39-
"MAIN_NUMBER": "MAIN_2",
36+
// Set a workspace-specific environment for Linux platforms.
37+
"terminal.integrated.env.linux": {
38+
// Set MAIN_NUMBER scenario variable to MAIN_2 directly from the environment
39+
"MAIN_NUMBER": "MAIN_2",
4040

4141
// Set custom GPR_PROJECT_PATH
42-
"GPR_PROJECT_PATH": "${workspaceFolder}/imported:${env:GPR_PROJECT_PATH}:"
42+
"GPR_PROJECT_PATH": "${workspaceFolder}/imported:${env:GPR_PROJECT_PATH}:"
4343
},
4444

45-
// Set a workspace-specific environment for Windows
46-
"terminal.integrated.env.windows": {
47-
// Set MAIN_NUMBER scenario variable to MAIN_2 directly from the environment
48-
"MAIN_NUMBER": "MAIN_2",
45+
// Set a workspace-specific environment for Windows
46+
"terminal.integrated.env.windows": {
47+
// Set MAIN_NUMBER scenario variable to MAIN_2 directly from the environment
48+
"MAIN_NUMBER": "MAIN_2",
4949

5050
// Set custom GPR_PROJECT_PATH
51-
"GPR_PROJECT_PATH": "${workspaceFolder}\\imported;${env:GPR_PROJECT_PATH}:"
52-
}
51+
"GPR_PROJECT_PATH": "${workspaceFolder}\\imported;${env:GPR_PROJECT_PATH}:"
52+
}
5353
```
5454

5555
## Example

doc/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Settings understood by the Ada Language Server itself, independently from the LS
106106
* [defaultCharset](#defaultcharset)
107107
* [relocateBuildTree](#relocatebuildtree)
108108
* [rootDir](#rootdir)
109-
* [enableDiagnostics](#enableddiagnostics)
109+
* [enableDiagnostics](#enablediagnostics)
110110
* [adaFileDiagnostics](#adafilediagnostics)
111111
* [gprFileDiagnostics](#gprfilediagnostics)
112112
* [sourceInfoDiagnostics](#sourceinfodiagnostics)

doc/tips_and_tricks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Tips and tricks
99
Custom-colors-in-VS-Code
1010
Project-file-editing
1111
Set-workspace-specific-environment-variables
12-
Working-on-a-remote-machine.md
12+
Working-on-a-remote-machine.md

0 commit comments

Comments
 (0)