0.4.0 • Published 1 year ago
typescript-css-template-string-plugin v0.4.0
TypeScript language service Plugin - CSS template string
TS language service plugin that provides TS support for working with embedded CSS template strings.
Features
- Suggest classes from same file
TODO
- Configurable PostCSS plugins
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-css-template-string-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.