33* NOTE: For a more comfortable reading experience, use the key combination ` Ctrl+Shift+V ` *
44
55This folder contains a few basic PowerShell script files that you can use
6- to experiment with the new PowerShell editing and debugging capabilities.
6+ to experiment with the new PowerShell editing and debugging capabilities.
77Here are some ideas for what you can try with these scripts:
88
99## Language Features
1010
11- - ** Integrated syntax checks** from the PowerShell engine and ** integrated
11+ - ** Integrated syntax checks** from the PowerShell engine and ** integrated
1212 rule-based analysis** using PowerShell Script Analyzer
1313 - Try opening ` DebugTest.ps1 ` and ` StopTest.ps1 ` by double-clicking on their
1414 file names. You will see red and green squiggles for rule-based checks.
1515 You can introduce a syntax error somewhere to see the red squiggle for
16- that as well. To see a list of all errors and warnings, try pressing
16+ that as well. To see a list of all errors and warnings, try pressing
1717 ` Ctrl+Shift+M ` .
18- - ** Go to definition ` (F12) ` ** and ** Peek definition ` (Alt+F12) ` **
18+ - ** Go to definition ` (F12) ` ** and ** Peek definition ` (Alt+F12) ` **
1919 for cmdlet and variable names
2020 - Try this on the ` Stop-Process2 ` cmdlet in ` StopTest.ps1 `
2121- ** Find all references ` (Shift+F12) ` ** for cmdlet and variable names
@@ -28,7 +28,7 @@ Here are some ideas for what you can try with these scripts:
2828You can run scripts under the debugger by going to the debug workspace
2929` (Ctrl+Shift+D) ` and clicking the ` Start ` button or just by pressing ` F5 ` .
3030By default the debugger will start the ` DebugTest.ps1 ` script. You can
31- set breakpoints, pause execution, look at the call stack, inspect variables,
31+ set breakpoints, pause execution, look at the call stack, inspect variables,
3232and set specific variables to be watched.
3333
3434Try these steps:
@@ -38,7 +38,7 @@ Try these steps:
38383 . Press the blue ** Pause** button at the top of the screen. The debugger
3939 will stop executing wherever it is at the moment and will bring you to the
4040 file and line where it stopped.
41- 4 . Check out the ** Variables** pane at the top left of the window. Scroll
41+ 4 . Check out the ** Variables** pane at the top left of the window. Scroll
4242 through the list and inspect some of the variables there.
43435 . Find the variable ` i ` in the Variables list, right click it and select
4444 ** Add to Watch** . The variable should appear in the ** Watch** pane now.
@@ -57,12 +57,12 @@ when `F5` is pressed.
5757
5858## Feedback
5959
60- We would love to hear your feedback! Please post feature requests or issue
60+ We would love to hear your feedback! Please post feature requests or issue
6161reports on our [ GitHub issues page] ( http://github.com/PowerShell/vscode-powershell ) .
6262
63- If you are experiencing any errors or crashes, please include the
63+ If you are experiencing any errors or crashes, please include the
6464following two log files:
6565
66- - The language service log file: ` $env:USERPROFILE \.vscode\extensions\ms-vscode.PowerShell\bin\EditorServices.log `
67- - The debugging service log file: ` $env:USERPROFILE \.vscode\extensions\ms-vscode.PowerShell\bin\DebugService.log `
68- - NOTE: This file may not exist if you haven't use the debugger yet.
66+ - The language service log file: ` $Home \.vscode\extensions\ms-vscode.PowerShell-<version> \bin\EditorServices.log `
67+ - The debugging service log file: ` $Home \.vscode\extensions\ms-vscode.PowerShell-<version> \bin\DebugService.log `
68+ - NOTE: This file may not exist if you haven't use the debugger yet. Replace ` <version> ` in the paths above with the version number of the extension.
0 commit comments