Skip to content

Commit 76d8645

Browse files
author
mergerepo
committed
Merge remote branch 'origin/master' into edge
(no-precommit-check no-tn-check)
2 parents ac44491 + cbbe8d1 commit 76d8645

File tree

6 files changed

+90
-3
lines changed

6 files changed

+90
-3
lines changed
94.9 KB
Loading
251 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# 🔨 Build a project
2+
3+
Use "auto-detected tasks" to
4+
* ⚙ Build whole project
5+
* ✅ Check errors in the current file
6+
* 🔎 Lauch `gnatprove` to verify the code
7+
8+
## 🚀 Launch
9+
10+
Use embedded terminal to launch your executable.
11+
12+
## 🐞 Debug
13+
14+
Install Native Debug and configure `launch.json` to run the debugger.
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Configure the extension
2+
3+
☝ Make sure to configure active project file `*.gpr`.
4+
Otherwise the extension will use a project file in the root project filder.
5+
6+
⚙ You can change settings per project or per user.
7+
8+
📋 [List of Ada settings](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md)
9+
10+
## ⌨ Find or change key shortcuts
11+
12+
* `alt+O` to go from `.ads` to `.adb` and back
13+
* `alt+shift+B` to paste a "subprogram box"
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ☀ Welcome to Ada!
2+
3+
Take a few minutes to find about Ada extension features.
4+
5+
Use this extension to enable Ada/SPARK support in VS Code editor.
6+
7+
📖 Take a look at our [WiKi site](https://github.com/AdaCore/ada_language_server/wiki) with tutorials and demos:
8+
* [Tutorial: Using Ada in VS Code](https://github.com/AdaCore/ada_language_server/wiki/Getting-Started)
9+
* [Auto detection Tasks video](https://github.com/AdaCore/ada_language_server/wiki/auto_detected_tasks.mp4)
10+
* [Custom colors in VS Code](https://github.com/AdaCore/ada_language_server/wiki/Custom-colors-in-VS-Code)
11+
* [Working in a Docker container](https://github.com/AdaCore/ada_language_server/tree/master/integration/vscode/Code%20Samples/docker)
12+
* [Working on a remote machine](https://github.com/AdaCore/ada_language_server/wiki/Working-on-a-remote-machine)
13+

integration/vscode/ada/package.json

+50-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"Programming Languages",
1313
"Extension Packs"
1414
],
15-
"extensionPack": ["webfreak.debug"],
15+
"extensionPack": [
16+
"webfreak.debug"
17+
],
1618
"activationEvents": [
1719
"onLanguage:ada",
1820
"onLanguage:gpr",
@@ -449,7 +451,52 @@
449451
"when": "editorLangId == ada"
450452
}
451453
]
452-
}
454+
},
455+
"walkthroughs": [
456+
{
457+
"id": "als-get-stated",
458+
"title": "Ada in VS Code",
459+
"description": "Introduction to Ada in VS Code support",
460+
"steps": [
461+
{
462+
"id": "als-get-stated-welcome",
463+
"title": "Welcome to Ada extension!",
464+
"description": "This short walkthrough introduces Ada extension.",
465+
"media": {
466+
"markdown": "media/welcome.md"
467+
}
468+
},
469+
{
470+
"id": "als-get-stated-setting",
471+
"title": "Set a project file",
472+
"description": "Set active project file in the `ada.projectFile` setting.\n [Open Settings](command:workbench.action.openSettings)",
473+
"media": {
474+
"markdown": "media/settings.md"
475+
}
476+
},
477+
{
478+
"id": "als-get-stated-debug",
479+
"title": "Launch and debug",
480+
"description": "Install **Native Debug** extension to run debugger.\n [Install extension](command:workbench.extensions.search)",
481+
"media": {
482+
"markdown": "media/launch-debug.md"
483+
},
484+
"completionEvents": [
485+
"extensionInstalled:webfreak.debug"
486+
]
487+
},
488+
{
489+
"id": "als-get-stated-github",
490+
"title": "Report issues or contribute",
491+
"description": "This extension is an open source software. Feel free to [open an issue](https://github.com/AdaCore/ada_language_server/issues) or [contribute on GitHub](https://github.com/AdaCore/ada_language_server/pulls)!",
492+
"media": {
493+
"image": "media/github.jpg",
494+
"altText": "Github snapshot"
495+
}
496+
}
497+
]
498+
}
499+
]
453500
},
454501
"devDependencies": {
455502
"@types/glob": "7.2.0",
@@ -484,4 +531,4 @@
484531
"vscode-languageclient": "7.0.0",
485532
"ws": "8.5.0"
486533
}
487-
}
534+
}

0 commit comments

Comments
 (0)