Skip to content

Commit 69fb111

Browse files
committed
Fix trigerring Ada compilation on save
1 parent fe0a1c9 commit 69fb111

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.vscode/settings.json.tmpl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@
7878
// Allow GitLab-specific Yaml tags in .gitlab-ci.yml
7979
"yaml.customTags": ["!reference sequence"],
8080
"triggerTaskOnSave.tasks": {
81-
"ada: Compile current file": ["*.adb"],
82-
"ada: Check current file": ["*.ads"]
81+
// To work with automatically provided tasks, they
82+
// must be provided without the `ada: ` prefix.
83+
"Compile current file": ["*.adb"],
84+
"Check current file": ["*.ads"]
8385
},
8486
"triggerTaskOnSave.restart": true,
8587
"files.watcherExclude": {

.vscode/tasks.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@
88
"problemMatcher": ["$ada"],
99
"group": "test"
1010
},
11-
{
12-
"type": "ada",
13-
"configuration": {
14-
"kind": "checkFile",
15-
"projectFile": "${config:ada.projectFile}"
16-
},
17-
"problemMatcher": ["$ada"],
18-
"group": "build",
19-
"label": "ada: Check current file"
20-
},
2111
{
2212
"type": "npm",
2313
"script": "watch",

0 commit comments

Comments
 (0)