Skip to content

Commit 72e163d

Browse files
committed
rework tools.
1 parent dd11895 commit 72e163d

File tree

2 files changed

+3
-36
lines changed

2 files changed

+3
-36
lines changed

README.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,16 @@ for more details.
4343
npm run build-grammar
4444
```
4545
46-
3. The .json file will be output to `./syntaxes/` at the root of the directory. You can use the vscode.ps1 script to load it or do it manually.
47-
48-
**Install - script**
49-
50-
```PowerShell
51-
PS tools> .\vscode.ps1 -InstallSyntax
52-
```
53-
54-
**Revert - script**
55-
56-
```PowerShell
57-
PS tools> .\vscode.ps1 -RevertSyntax
58-
```
59-
60-
**Install - manually**
46+
3. The .json file will be output to `./syntaxes/` at the root of the directory. You will need to copy it to VS Code manually.
6147
6248
1. Locate the VS Code installation directory and navigate to to `resources/app/extensions/powershell/syntaxes`
6349
6450
2. Rename `powershell.tmLanguage.json` to `powershell.tmLanguage.json_default`
6551
6652
3. Copy `powershell.tmLanguage.json` from `./syntaxes/` within this project folder to where you just renamed the file under VS Code's path.
6753
54+
4. If VS Code is already running you will need to run "Reload Window" from the command pallete.
55+
6856
## Contributing
6957
7058
We would love to have community contributions to this project to make PowerShell syntax

tools/vscode.ps1

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

0 commit comments

Comments
 (0)