Metadata of Oracle JET components for code completion in Visual Studio Code (1.31+)
Starting with Visual Studio Code 1.31, there is (at this moment) experimental support for custom elemements/attributes (see [https://code.visualstudio.com/updates/v1_31#_html-and-css-custom-data-support) for details)
This repository contains file dist/tags.json
that contains OJET components and their attributes:
- Download this JSON file to your PC
- Open VS Code settings and reference this file in following way:
"html.experimental.customData": [
"/path/to/downloaded/file/tags.json"
]
- Optionally restart VS
- In HTML code, try code completion for OJET components and attributes
- Clone this repo
- Run command
$ cd OJET-4-Code
$ npm start
- This will create a new file
OJET-4-Code/dist/tags.json
with up to date definitions