Skip to content

Commit 7292022

Browse files
committed
edit instructions
1 parent 9aa514b commit 7292022

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,26 @@ Support for the MS PowerShell programming language.
1616

1717
# Development
1818

19-
1. Open the Sublime Text packages folder (`Ctrl + Shift + P` + `browse packages`)
20-
1. Clone [this repo][this_repo] to the packages folder
21-
Now your local version of this package is available in Sublime Text.
19+
20+
## Generating `PowerShell.sublime-package`
21+
22+
First of all, you need to create a config file:
23+
24+
```
25+
~/.sublime-package-dev
26+
```
27+
28+
Add this content:
29+
30+
```
31+
global-win editor ~/path/to/sublime_text.exe
32+
global-win installed-packages ~/path/to/sublime-text/Installed Packages
33+
```
34+
35+
- Clone [this repo][this_repo] to a folder of your choice
36+
- Open the `PowerShell.sublime-project` included as a project
37+
- Select Tools --> Build Systems --> Run
38+
- Press <kbd>F7</kbd> to build and publish locally a new dev version
2239

2340

2441
## Syntax

0 commit comments

Comments
 (0)