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

Fix help completion at the beginning of function body #477

Merged
merged 2 commits into from
May 31, 2017

Conversation

kapilmb
Copy link

@kapilmb kapilmb commented May 31, 2017

Resolves #478

Comment help auto-completion does not work correctly for block comment ('<#') trigger characters at the beginning of function body - the auto-completed help does not contain the parameters. When the user types '<', it invalidates the following param block such that the parser does not recognize it as a param block, which results in the help not containing the parameters.

# the '<' before the param block leads the parser to not recognize the param block.
function foo {
  <    
  param($param1)
}

@daviwil daviwil merged commit b2d0974 into PowerShell:master May 31, 2017
@kapilmb kapilmb deleted the fix-help-completion branch June 7, 2017 07:06
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.

3 participants