Skip to content

Add syntax highlighting for 'clean {}' block - #208

Merged
Andy Jordan (andyleejordan) merged 1 commit into
PowerShell:masterfrom
daxian-dbw:block-name
Oct 14, 2021
Merged

Andy Jordan (andyleejordan) merged 1 commit into
PowerShell:masterfrom
daxian-dbw:block-name

Conversation

@daxian-dbw

@daxian-dbw Dongbo Wang (daxian-dbw) commented Jul 16, 2021

Copy link
Copy Markdown
Member

This is a follow-up PR of #186, because of the renaming of the new named block.

function Get-Foo {
    [CmdletBinding()]
    param()

    begin { }
    process { }
    end { }
    clean { }
}

Reference PowerShell/PowerShell#15177 for indication on when the feature will become available.
PowerShell/PowerShell#15177 did some design changes based on the original PR PowerShell/PowerShell#9900

/cc Andy Jordan (@andschwa) and Rain Sallow (/u/ta11ow) (@vexx32)

@andyleejordan

Copy link
Copy Markdown
Member

Thanks for this Dongbo Wang (@daxian-dbw)! We'll get it merged closer to the timeline of the feature itself being merged.

@daxian-dbw

Copy link
Copy Markdown
Member Author

Andy Jordan (@andschwa) PowerShell/PowerShell#15177 has been merged, so can you please review this PR and maybe merge it as well?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Heck yeah! I see no reason not to merge this now.

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