Commit 447b447
committed
Include PSScriptAnalyzer rule name in marker message
This change adds the PSScriptAnalyzer rule name to any marker messages
that are returned so that it's easy to know which rule to suppress or
disable in settings. It also makes the rule source more clear in marker
messages, distinguishing between PowerShell syntax markers and
PSScriptAnalyzer's semantic markers.
Resolves PowerShell/vscode-powershell#781.1 parent f9fc163 commit 447b447
File tree
2 files changed
+14
-8
lines changed- src
- PowerShellEditorServices.Protocol/Server
- PowerShellEditorServices/Workspace
2 files changed
+14
-8
lines changedLines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
1119 | 1118 | | |
1120 | 1119 | | |
1121 | 1120 | | |
1122 | | - | |
1123 | | - | |
| 1121 | + | |
1124 | 1122 | | |
1125 | 1123 | | |
1126 | 1124 | | |
| |||
1482 | 1480 | | |
1483 | 1481 | | |
1484 | 1482 | | |
1485 | | - | |
1486 | | - | |
| 1483 | + | |
| 1484 | + | |
1487 | 1485 | | |
1488 | 1486 | | |
1489 | 1487 | | |
| |||
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | 89 | | |
| |||
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
94 | | - | |
| 100 | + | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
153 | 160 | | |
154 | 161 | | |
155 | 162 | | |
156 | | - | |
| 163 | + | |
157 | 164 | | |
158 | 165 | | |
159 | | - | |
| 166 | + | |
| 167 | + | |
160 | 168 | | |
161 | 169 | | |
162 | 170 | | |
| |||
0 commit comments