typescript-embedded-css-plugin
v0.5.0
Published
TypeScript Language Service Plugin for embedded CSS template strings
Downloads
7
Maintainers
Readme
TypeScript language service Plugin - Embedded CSS
TS language service plugin that provides programatic language features within CSS template strings.
Features
- [x] CSS Autocomplete
TODO
- [ ] Configurable template string tags, eg "styles"
Development
The /test
directory contains an example setup to develop against.
Start the compiler in watch mode for the plugin
npm run watch --workspace=typescript-embedded-css-plugin
Open the test directory
Oen the /test
directory and install the dependencies. Then to develop against the
workspace plugin instance you must be using the workspace version of TypeScript. Open the
test/example.ts
file, then run the TypeScript: Select TypeScript Version command and
select "Use workspace version"
You should now be able to edit the CSS in the template string and see autocomplete suggestions.
Attribution
This package is only possible thanks to the following packages: