GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BryanCuneo/EditorSyntax: PowerShell syntax highlighting for VS Code and GitHub!

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

212 Commits
212 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
examples
examples
 
 
testfiles
testfiles
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
ISSUE_TEMPLATE.md
ISSUE_TEMPLATE.md
 
 
LICENSE
LICENSE
 
 
PowerShellSyntax.tmLanguage
PowerShellSyntax.tmLanguage
 
 
README.md
README.md
 
 
Third Party Notices.txt
Third Party Notices.txt
 
 
WHATS_NEW.md
WHATS_NEW.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

PowerShell Syntax Definition for Editors

This project establishes the central development and maintenance of syntax definition files for the PowerShell language used by editors that leverage the XML version of the TextMate language grammar format.

Currently this syntax definition is used by GitHub and by the following editors and extensions:

Editor Extension Developer
Visual Studio Code PowerShell Microsoft
Pulsar language-powershell James Sconfitto

In the future we may find a more common syntax that allows us to generate syntax definitions for editors that don't leverage the TextMate format.

What's New

This branch includes fixes and improvements to the syntax grammar as well as new tooling for unit tests. See the overview in WHATS_NEW.md.

Install Dependencies, Build, and Test

Prerequisites

  • Node.JS - tested on the current LTS (26.x at the time of writing) but may work on other versions.

Install dependencies

PS> npm install

Rebuild the grammar and run all tests

PS> npm run full

Just build the grammar

PS> npm run build

Just run the tests

PS> npm run test

Run a specific test file

PS> npx textmate-grammar-test testfiles/operators/format.ps1

Contributing

We would love to have community contributions to this project to make PowerShell syntax highlighting great in as many editors as we can. Please feel free to file issues or send pull requests if you'd like to contribute.

Maintainers

  • Andy Jordan
  • Nick James

License

This extension is licensed under the MIT License. Please see the third-party notices file for details on the original source of the TextMate definition that we use.

Code of Conduct

Please see our Code of Conduct before participating in this project.

Security Policy

For any security issues, please see our Security Policy.

About

PowerShell syntax highlighting for VS Code and GitHub!

Topics

powershellsyntax-highlightingtextmate-grammarvisual-studio-code

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.