Skip to content
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

Feature request: generate help for Input and Output #768

Open
lipkau opened this issue May 19, 2017 · 4 comments
Open

Feature request: generate help for Input and Output #768

lipkau opened this issue May 19, 2017 · 4 comments
Labels
Area-Snippets Issue-Enhancement A feature request (enhancement). Up for Grabs Will shepherd PRs.

Comments

@lipkau
Copy link
Contributor

lipkau commented May 19, 2017

Description

With the new feature of auto generating the help comments, I would appreciate the following features:

  • generating .INPUT
  • generating .OUTPUT
  • appending [OutputType()]
@daviwil
Copy link
Contributor

daviwil commented May 19, 2017

Thanks Oliver!

@ArieHein
Copy link
Contributor

Same as we have function and function-advanced
and for the help comments we have help-function and comment-help
Can create a help-function-advanced and comment-help-advanced that can include the components @lipkau mentioned or even more

@JustinGrote JustinGrote added the Up for Grabs Will shepherd PRs. label Oct 16, 2024
@JustinGrote
Copy link
Collaborator

JustinGrote commented Oct 16, 2024

I'm going to flag this as up-for-grabs and will shepherd a PR that adds snippets for function-help and function-advanced-help. These are one of the lowest barrier items to contribute to vscode and don't require a lot of understanding of the extension to contribute, so I encourage to give it a shot!

https://code.visualstudio.com/docs/editor/userdefinedsnippets

Here is the file to edit:
https://github.com/PowerShell/vscode-powershell/blob/main/snippets/PowerShell.json

Preferred if in the PR you include a screen capture of the snippet in action and showing all the tab stops working correctly.

@ArieHein
Copy link
Contributor

Anticipated this, so have a PR. Ill just add the screen captures you mentioned :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Snippets Issue-Enhancement A feature request (enhancement). Up for Grabs Will shepherd PRs.
Projects
None yet
Development

No branches or pull requests

4 participants