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: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
*.sublime-project
dist/
MANIFEST

# Ignore YAML syntax file:
# plist is a master file for syntax.
Support/PowershellSyntax.YAML-tmLanguage
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,22 @@ PowerShell
==========
Copy link
Member

Choose a reason for hiding this comment

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

Let's try to use semantic linefeeds:

http://rhodesmill.org/brandon/2012/one-sentence-per-line/


Support for the MS PowerShell programming language.

# Install
1. Install [package control](https://sublime.wbond.net/installation) for Sublime Text.
1. Install package **PowerShell** (`Ctrl + Shift + P` + `install` + `powershell`)

# Development
1. Open sublime packages folder (`Ctrl + Shift + P` + `browse packages`)
1. Clone [this repo](https://github.com/SublimeText/PowerShell) to packages folder.
Now your local version of package is available in sublime.

## Syntax
Plist file [PowershellSyntax.tmLanguage](Support/PowershellSyntax.tmLanguage) is the master file for syntax.
But the [recommended way](http://sublime-text-unofficial-documentation.readthedocs.org/en/latest/extensibility/syntaxdefs.html) to develop syntax is YAML.

1. Install `AAAPackageDev` package.
1. Open **PowershellSyntax.tmLanguage**
1. Call `Ctrl + Shift + P` + `convert to Yaml and Rearrange`. You will get new file **Support/PowershellSyntax.YAML-tmLanguage**.
1. Make your changes in YAML file.
1. Call `Ctrl + Shift + P` + `convert (YAML, JSON, Plist) to`. You will get updated version of plist file.
350 changes: 0 additions & 350 deletions Support/PowershellSyntax.YAML-tmLanguage

This file was deleted.

Loading