Skip to content

Commit ac418af

Browse files
committed
Merge pull request #32 from vors/readme
Update Readme, remove yaml
2 parents 312b05b + 500ff7c commit ac418af

File tree

4 files changed

+39
-350
lines changed

4 files changed

+39
-350
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
*.sublime-project
44
dist/
55
MANIFEST
6+
7+
# Ignore YAML syntax file:
8+
# plist is a master file for syntax.
9+
Support/PowershellSyntax.YAML-tmLanguage

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,22 @@ 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.
13+
Now your local version of package is available in sublime.
14+
15+
## Syntax
16+
Plist file [PowershellSyntax.tmLanguage](Support/PowershellSyntax.tmLanguage) is the master file for syntax.
17+
But the [recommended way](http://sublime-text-unofficial-documentation.readthedocs.org/en/latest/extensibility/syntaxdefs.html) to develop syntax is YAML.
18+
19+
1. Install `AAAPackageDev` package.
20+
1. Open **PowershellSyntax.tmLanguage**
21+
1. Call `Ctrl + Shift + P` + `convert to Yaml and Rearrange`. You will get new file **Support/PowershellSyntax.YAML-tmLanguage**.
22+
1. Make your changes in YAML file.
23+
1. Call `Ctrl + Shift + P` + `convert (YAML, JSON, Plist) to`. You will get updated version of plist file.

Support/PowershellSyntax.YAML-tmLanguage

Lines changed: 0 additions & 350 deletions
This file was deleted.

0 commit comments

Comments
 (0)