You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,33 @@ for [Nushell](http://nushell.sh), a data driven document language.
6
6
7
7
## Features
8
8
9
-
* Syntax highlighting
10
-
*Auto-indentation
9
+
* Syntax highlighting grammar
10
+
*Nushell theme that tries to match Nushell's coloring
11
11
12
12
## Known Issues
13
13
14
14
See [our Github repository](https://github.com/nushell/vscode-nushell-lang)
15
15
for active issues.
16
16
17
+
## Regex Engine
18
+
19
+
VSCode uses a regular expressions that is based on Ruby for syntax highlighting. [This is a good site](https://rubular.com/) to test and try out these regular expressions.
20
+
21
+
## Build Process
22
+
23
+
We pretty much followed [these instructions](https://code.visualstudio.com/api/get-started/your-first-extension) for building this extension. And [this link](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) for packaging the extension.
24
+
25
+
To summarize:
26
+
1. npm install -g yo generator-code
27
+
2. yo code
28
+
3. chose `New Language Support` and filled out the rest of the questions
29
+
4. npm install -g vsce
30
+
5. update the readme and package.json
31
+
6. vsce package
32
+
7. code --install-extension vscode-nushell-lang-0.0.2.vsix or alternatively you can do ctrl/cmd-shift-p Extensions:Install From VSIX...
33
+
34
+
If you have all these tools already installed you should be able to clone this repo and just do a `vsce package` to get a vsix file that you can install in vscode.
35
+
36
+
## Help
37
+
38
+
We are happily accepting pull requests to make this better. :)
0 commit comments