5.0.3 • Published 3 months ago

@genesiscommunitysuccess/cep-fast-plugin v5.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

The Genesis Global Community Success initiative is committed to open-sourcing select technologies that we believe the open-source community would benefit from.

NPM version License

CEP FAST Plugin

This is a @genesiscommunitysuccess/custom-elements-lsp (CEP) plugin which adds enhancements to support FAST. Enhancements include:

  • Support for property bindings autocompletion and diagnostics for :prop. Extra info in quickinfo window.
  • Support for boolean attribute bindings in templates ?attr.
  • Support for event bindings autocompletion and diagnostics for @events. Extra info in quickinfo window.

Setup

  1. You need to follow the setup guide for the CEP here.
  2. You need to install this plugin.
npm i @genesiscommunitysuccess/cep-fast-plugin --save-dev
  1. You need to configure this plugin within the CEP. See instructions here.

If using this plugin and you're using a design system you'll likely want to configure designSystemPrefix as specified in the main instructions too.

At minimum you'll need the following configuration to enable FAST enhancements:

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "@genesiscommunitysuccess/custom-elements-lsp",
        "designSystemPrefix": "example",
        "parser": {
          "fastEnable": true,
        },
        "plugins": ["@genesiscommunitysuccess/cep-fast-plugin"]
      }
    ]
  }
}

Contributing

Thanks for taking interest in contributing to the Custom Elements Plugin. See the contributing guidelines (CONTRIBUTING.md) at the root of the monorepo.

License

See here.

5.0.3

3 months ago

5.0.2

5 months ago

5.0.1

5 months ago

5.0.0

5 months ago

4.1.3

5 months ago

4.1.2

5 months ago

4.1.1

6 months ago

4.1.0

6 months ago

4.0.1

6 months ago

4.0.0

6 months ago

3.1.0

6 months ago

2.1.1-prerelease.2

6 months ago

3.0.0

6 months ago