Update PowerShell File Extensions

The three core PowerShell language extensions are .psd1, .ps1 and .psm1 -- plus two xml file extensions: .ps1xml and .clixml which are for formatting rules and serialization.
.psm1 modules files use exactly the same syntax as scripts, but are imported rather than executed.
.psd1 are metadata files which use a subset of the same syntax (they can be highlighted using the same highlighter, it's just some commands, variables, and types aren't allowed in data files)
This commit is contained in:
Jaykul
2013-10-12 16:37:49 -04:00
parent c7933537b1
commit 921ceaa221

View File

@@ -1050,6 +1050,9 @@ PowerShell:
aliases:
- posh
primary_extension: .ps1
extensions:
- .psm1
- .psd1
Processing:
type: programming
@@ -1424,6 +1427,7 @@ XML:
extensions:
- .axml
- .ccxml
- .clixml
- .dita
- .ditamap
- .ditaval
@@ -1433,6 +1437,7 @@ XML:
- .mxml
- .plist
- .pt
- .ps1xml
- .rdf
- .rss
- .scxml