typescript-styled-plugin icon indicating copy to clipboard operation
typescript-styled-plugin copied to clipboard

TypeScript server plugin that adds intellisense to styled component css strings

Results 15 typescript-styled-plugin issues
Sort by recently updated
recently updated
newest added

The docs currently use two different plugin names in the configuration examples. I had to use the `@styled/` prefix in order to get the config to work for me in...

When using `css`, the syntax highlighting breaks. Example code: ```ts const StylesWithCss = css` margin: 0; background: red; & > * { /* valid highlight */ margin: 10px; } `;...

As per title, plugin won't load when on any 4.x version of Typescript. Works fine when using v5.x. ``` Info 23 [20:10:28.576] Enabling plugin typescript-styled-plugin from candidate paths: /Users/dylan/Code/web/frontend/node_modules/typescript/lib/tsserver.js/../../..,/Users/dylan/.vscode/extensions/svelte.svelte-vscode-108.3.0,/Users/dylan/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.30 Info...

Hi there, first of all, thanks for this plugin! Very nice to have CSS features in JS/TS 🙌 I am using this plugin via the vscode-styled-components extension (https://github.com/styled-components/vscode-styled-components/pull/57 introduced Emmet...

Repost of: https://github.com/styled-components/vscode-styled-components/issues/440 Reproduction when running the vscode extension: ```ts const test = '' const StyledDiv = styled.div` .${test}:before { //

The **:nth-last-child()** psudeo-class supports an optional selector argument: the [`of ` syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-child#the_of_selector_syntax). Here is an example: ```tsx export const Example = styled.div` & > *:nth-last-child(-n + 3 of li.important) {...

I use Prettier to make my styled components look nice. Unfortunately sometimes Prettier wraps certain lines and that causes issue with the plugin which marks them as errors. For example:...

I am facing an issue CSS props not working properly they are rendering as `Hello` When i use the typescript plugin as below code then it does not work ```js...

Hello. Does it support neovim's lsp?

For context: I am trying to use this with the helix editor, so that I can have styled-components in ts files with CSS autocomplete. Helix does not support plugins yet,...