Skip to content

Commit 58f5a0e

Browse files
committed
Include info about building the extension from source
1 parent 799ef06 commit 58f5a0e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,16 @@ There's only a couple of them but the list will grow in the future.
3737

3838
The `Run` command triggers `tns run` on emulator or device. You can run your app both on iOS and Android.
3939

40-
If your version of NativeScript is incompatible with the extension you will see a warning the first time you run a command.
40+
If your version of NativeScript is incompatible with the extension you will see a warning the first time you run a command.
41+
42+
### Get the latest bits
43+
44+
1. Clone the [extension repository](https://github.com/NativeScript/nativescript-vscode-extension): `git clone [email protected]:NativeScript/nativescript-vscode-extension.git`
45+
2. To build the extension run the following commands in the root repository folder
46+
```
47+
npm install # installs npm dependencies
48+
./node_modules/.bin/tsd install # fetches TypeScript definitions
49+
./node_modules/.bin/gulp # Builds the extension and produces 'out' folder
50+
./node_modules/.bin/vsce package # produces nativescript-*.*.*.vsix in the root folder
51+
```
52+
3. To install the extension drag and drop the `nativescript-*.*.*.vsix` package in the VS Code.

0 commit comments

Comments
 (0)