Skip to content

Commit b76aa20

Browse files
committed
Add Install and Development sections to README.md
1 parent 2757e03 commit b76aa20

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,19 @@ PowerShell
22
==========
33

44
Support for the MS PowerShell programming language.
5+
6+
# Install
7+
1. Install [package control](https://sublime.wbond.net/installation) for Sublime Text.
8+
1. Install package **PowerShell** (`Ctrl + Shift + P` + `install` + `powershell`)
9+
10+
# Development
11+
1. Open sublime packages folder (`Ctrl + Shift + P` + `browse packages`)
12+
1. Clone [this repo](https://github.com/SublimeText/PowerShell) to packages folder. Now your local version of package is available in sublime.
13+
14+
## Syntax
15+
1. Plist file [PowershellSyntax.tmLanguage]([tree/master/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.
16+
1. Install `aaapackagedev` package.
17+
1. Open **PowershellSyntax.tmLanguage**
18+
1. Call `Ctrl + Shift + P` + `convert to YAML`. You will get new file **Support/PowershellSyntax.YAML-tmLanguage**.
19+
1. Make your changes in YAML file.
20+
1. Call `Ctrl + Shift + P` + `convert YAML to`. You will get updated version of plist file.

0 commit comments

Comments
 (0)