Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.05 KB

IDE.md

File metadata and controls

31 lines (27 loc) · 1.05 KB

Ide setup for DCE

VS Code Copy into `.vscode/settings.json`
{
  "html.customData": [
    "./node_modules/@epa-wg/custom-element/ide/customData-dce.json",
    "./node_modules/@epa-wg/custom-element/ide/customData-xsl.json",
    "./customData.json"
  ],
}

After editing the DCE in the HTML sources, update ./customData.json with project' custom tags and attributes.

IntelliJ Append into `package.json`
{
    "web-types":[   "./node_modules/@epa-wg/custom-element/ide/web-types-dce.json",
                    "./node_modules/@epa-wg/custom-element/ide/web-types-xsl.json",
                    "./web_types.json"
                ],
}

After editing the DCE in the HTML, update ./web-types.json with project' custom tags and attributes.

Publishing your components

When preparing your package for publishing, make sure the instructions on IDE support with your package and DCE package tags covered in IntelliJ and VS Code format.