Skip to content

Add CodeLens support for function/cmdlet references and Pester tests #846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 8, 2017

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Jun 8, 2017

No description provided.

daviwil added 2 commits June 8, 2017 10:54
This change adds support for CodeLenses that display the number of
references of a given function or cmdlet defined in a script file.  The
actual implementation of this behavior is on the server side but we had
to write a LanguageClient middleware to translate the arguments of the
references command when it was sent from the server.

Resolves PowerShell#507
Resolves PowerShell#827 (unrelated to CodeLenses but related to LanguageClient
output)
This change adds a new PowerShell.RunPesterTests command which can be
invoked by CodeLenses which appear on Describe blocks in Pester test
files.  This allows the user to run or debug all of the tests in a
particular Describe block.
@daviwil daviwil added this to the 1.3.0 milestone Jun 8, 2017
@daviwil daviwil merged commit c558cc1 into PowerShell:master Jun 8, 2017
@daviwil daviwil deleted the code-lenses branch June 8, 2017 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants