Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PowerShell.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ contexts:
(?xi:
^\s*(\.)
(
Component | Description | Example | ForwardHelpTargetName
| Functionality | Inputs | Notes | Outputs | RemoteHelpRunSpace
Component | Description | Example | ExternalHelp | ForwardHelpCategory | ForwardHelpTargetName
| Functionality | Inputs | Link | Notes | Outputs | Parameter | RemoteHelpRunSpace
| Role | Synopsis
)
)
Expand Down
47 changes: 47 additions & 0 deletions Tests/syntax_test_PowerShell.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1534,3 +1534,50 @@ get-thing | Out-WithYou > $null # destroy
# ^^^^^^^^^^^^^^^^^ variable.language - punctuation
# ^ variable.language punctuation
# ^^^^^^^^^^^^^^^^ variable.language - punctuation
<#
.SYNOPSIS
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^^ keyword.other.documentation
.DESCRIPTION
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^^^^^ keyword.other.documentation
.PARAMETER
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^^ keyword.other.documentation
.EXAMPLE
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^ keyword.other.documentation
.INPUTS
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^ keyword.other.documentation
.OUTPUTS
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^ keyword.other.documentation
.NOTES
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^ keyword.other.documentation
.LINK
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^ keyword.other.documentation
.COMPONENT
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^^^ keyword.other.documentation
.ROLE
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^ keyword.other.documentation
.FUNCTIONALITY
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^^^^^^^ keyword.other.documentation
.FORWARDHELPTARGETNAME
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^^^^^^^^^^^^^^^ keyword.other.documentation
.FORWARDHELPCATEGORY
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^^^^^^^^^^^^^ keyword.other.documentation
.REMOTEHELPRUNSPACE
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^^^^^^^^^^^^ keyword.other.documentation
.EXTERNALHELP
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
#^^^^^^^^^^^^ keyword.other.documentation
#>