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
Anyone should feel free to fork/PR this. Open source for the win!
3
-
Please make sure and explain your changes thoroughly, update version and changelog where needed.
4
2
5
-
_Note_: HubL tags, functions, expression tests and filters are all pulled from the `cos-rendering/v1/hubldoc` api, so do not update any `snippets/auto-gen/...` json files manually. Run `npm run generate` to re-generate these JSON files when HubL changes occur. `snippets/man_gen/...` files are for any extra/helpful snippets used in HubL - these files are maintained manually.
3
+
Anyone should feel free to fork/PR this. Open source for the win! Please make sure and explain your changes thoroughly, update version and changelog where needed.
4
+
5
+
_Note_: HubL tags, functions, expression tests and filters are all pulled from the `cos-rendering/v1/hubldoc` api, so do not update any `snippets/auto-gen/...` json files manually. Run `yarn generate` to re-generate these JSON files when HubL changes occur. `snippets/man_gen/...` files are for any extra/helpful snippets used in HubL - these files are maintained manually.
6
6
7
7
### To run this extension locally:
8
+
8
9
-`git clone` repo
9
-
- Compile the extension with `npm run dev`
10
+
- Install dependencies with `yarn install`
11
+
- Compile the extension with `yarn dev`
10
12
- Open this project in Visual Studio Code
11
13
- Press `f5` to launch a new VSCode window with the extension installed
12
14
- Press `CMD` + `R` to reload the window after having made any changes
13
15
14
16
### Debugging
17
+
15
18
Debugging grammar scopes can be done line-by-line using the [VSCode scope inspector](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#scope-inspector).
16
19
17
20
### Publishing
21
+
18
22
_Note: In order to publish you'll need to be added as a user in the HubSpot Azure Devops organization_
19
23
20
24
- Install the [vsce](https://github.com/microsoft/vscode-vsce) command line tool
@@ -24,6 +28,8 @@ _Note: In order to publish you'll need to be added as a user in the HubSpot Azur
24
28
- Run `vsce publish minor`, which will increment the version number in `package.json` and publish the extension to the VS Code Marketplace
0 commit comments