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

Process block inside a function is not explained #89

Closed
LaurentDardenne opened this issue Jul 1, 2022 · 1 comment
Closed

Process block inside a function is not explained #89

LaurentDardenne opened this issue Jul 1, 2022 · 1 comment

Comments

@LaurentDardenne
Copy link

With

Function Expand-zipFile2 { param( )  Begin {1} Process{2} End{3}}

image

@Jawz84
Copy link
Owner

Jawz84 commented Jul 1, 2022

The function keyword does not have an explanation in code yet, and I consciously mute explanation of named blocks, because they greatly clobber any normal explanation, because by default every scriptblock (the starting point of all epxlanations) is by defenition an EndBlock unless specified otherwise etc.

We could add a special situation where named blocks are shown when their parent is a function keyword.

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

No branches or pull requests

2 participants