Skip to content

Commit dbd29d8

Browse files
committed
Include navigation features in VSCode
1 parent 4ac85d2 commit dbd29d8

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed
13.3 KB
Loading
2.42 KB
Loading

docs/usage/vscode.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,16 @@ You can control the output verbosity level in VSCode output, or let it inherit f
2424

2525
![Shows a run with normal preference that shows only errors](images/minimal-output.gif)
2626

27-
### Outline view
27+
### Navigation
2828

29-
You can easily navigate larger tests files using the Outline view. This includes all your Pester blocks, tests and setup/teardown as you'd expect.
29+
Pester-blocks are recognized by the PowerShell-extenstion to simplify navigation in your test files. You can see the strcuture of your Pester file using the Outline view.
3030

3131
![Shows a outline of Pester block structure in the sidepanel](images/vscode-outline.png)
32+
33+
Your current location in nested blocks are shown in the breadcrumbs and sticky scroll features:
34+
35+
![Shows nested blocks as sticky lines above the current line in the editor](images/vscode-breadcrumbs.png)
36+
37+
`Context`, `Describe` and `It` blocks are all searchable using Go to symbol commands
38+
39+
![Shows a search result for Help is found-test using the Go To Symbol in Workspace command](images/vscode-symbol.png)

0 commit comments

Comments
 (0)