Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix #1177 - Added function-advanced snippet #1182

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

Conversation

@Benny1007
Copy link
Contributor

@Benny1007 Benny1007 commented Feb 1, 2018

Added a function-advanced snippet based on the existing cmdlet snippet.

Leaves option to have more basic 'function' snippet based on the ISE 'function' snippet if required.

First PR, so grateful for further guidance.

Copy link

msftclas commented Feb 1, 2018
edited
Loading

CLA assistant check
All CLA requirements met.

Copy link

timoline commented Feb 2, 2018

only renaming cmdlet and ex-cmdlet would fix this thing, or am I wrong?

rkeithhill reacted with thumbs up emoji

Copy link
Contributor

This is practically identical to the existing cmdlet snippet. A number of the existing snippet names (including cmdlet) where taken from the ISE snippets.

Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for contributing!

I opened an issue on vscode to support an array of prefixes so that we don't need two snippets:
microsoft/vscode#42838

but we wont block this PR on that.

@TylerLeonhardt TylerLeonhardt merged commit daef966 into PowerShell:master Feb 7, 2018
Copy link
Member

Merged! Congrats on your 1st contribution @Benny1007!

Copy link

timoline commented Sep 23, 2018
edited
Loading

microsoft/vscode#42838 is added,

snippits can be merged now

TylerLeonhardt reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers

@TylerLeonhardt TylerLeonhardt TylerLeonhardt approved these changes

@rkeithhill rkeithhill rkeithhill approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /