File tree 1 file changed +6
-5
lines changed 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ Here are some ideas for what you can try with these scripts:
13
13
14
14
- ** Integrated syntax checks** from the PowerShell engine and ** integrated
15
15
rule-based analysis** using PowerShell Script Analyzer
16
- - Try opening ` DebugTest.ps1 ` and ` StopTest.ps1 ` by double-clicking on their
17
- file names. You will see red and green squiggles for rule-based checks.
18
- You can introduce a syntax error somewhere to see the red squiggle for
19
- that as well. To see a list of all errors and warnings, try pressing
20
- ` Ctrl+Shift+M ` .
16
+ - Try opening ` DebugTest.ps1 ` by double-clicking on its file name in the
17
+ Explorer view. You will see a green squiggle on the function name ` Do-Work `
18
+ indicating that ` Do ` is not an approved verb. These rule-based checks use
19
+ PSScriptAnalyzer to analyze/lint your scripts. You can introduce a syntax
20
+ error somewhere to see a red squiggle for that as well. To see a list of
21
+ all errors and warnings, try pressing ` Ctrl+Shift+M ` .
21
22
- ** Go to definition ` (F12) ` ** and ** Peek definition ` (Alt+F12) ` **
22
23
for cmdlet and variable names
23
24
- Try this on the ` Stop-Process2 ` cmdlet in ` StopTest.ps1 `
You can’t perform that action at this time.
0 commit comments