Commit 1dcbdb5
committed
(GH-530) Enable extension on workspace load
This commit updates the `activationEvents` array to activate the
extension if there are any Puppet manifests or module metadata.json
files present. This results in the extensions starting when a folder
containing Puppet code is opened, not only after Puppet code is opened.
This is a better user experience, as it enables the features a user
would want to use without having to have them know to open a Puppet file
first.1 parent b8f6f31 commit 1dcbdb5
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
0 commit comments