Skip to content

Conversation

@fflaten
Copy link
Contributor

@fflaten fflaten commented Aug 17, 2022

PR Summary

Adds document symbols for setup and teardown blocks used in Pester to improve navigation using outline and sticky scroll (experimental VSCode feature).

Sticky scroll and breadcrumbs:
image

Outline:
image
image

Setup/teardown symbols are excluded from workspace symbol search to avoid filling it up with thousand identical symbols like "BeforeAll { }".

PR Context

Fix #1892

@fflaten fflaten requested a review from a team August 17, 2022 15:00
@ghost ghost added Area-Pester Issue-Enhancement A feature request (enhancement). labels Aug 17, 2022
Copy link
Member

@andyleejordan andyleejordan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic work, thank you again!

@andyleejordan andyleejordan enabled auto-merge (squash) August 17, 2022 16:49
@andyleejordan
Copy link
Member

Hey @fflaten, those two completion tests are now failing pretty much 100% of the time, which indicates to me something updated on the CI machines, but yeah, no idea. Anyway, I've reverted the .NET rollback which initially fixed it, and instead have skipped the tests: #1884

@andyleejordan
Copy link
Member

andyleejordan commented Aug 18, 2022

Ok @fflaten that PR is in, can you please rebase and force-push this real quick?

@andyleejordan
Copy link
Member

Ah ha! I could rebase this one myself too.

@andyleejordan andyleejordan merged commit 17d56d9 into PowerShell:main Aug 18, 2022
@fflaten fflaten deleted the pester-symbols branch August 18, 2022 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Pester Issue-Enhancement A feature request (enhancement).

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Pester symbols for setup/teardown blocks

2 participants