styled-components / vscode-styled-components

Syntax highlighting for styled-components
MIT License
917 stars 117 forks source link

Annoying intelissense suggestion replacing while writing #429

Open JoaoBelem opened 1 year ago

JoaoBelem commented 1 year ago

I have a problem where every time I'm writing css code( styled component ) in my .jsx, suddenly what I'm writing is replaced by intellissense's suggestion. For example: when I start writing "margin" and press enter, and keep writing what i want for margin, intelissense suggest "auto" and then "auto" is automatically written, so it looks like: "margin: auto.5rem", i never meant to write "auto", but intellissense put it there. This does not happen in .css files.

This is quite annoying as it happens a lot of times while writing any css property.

JSX I did not press enter to write "auto". jsx

CSS Here, it does not occur. Suggestions just hide when i start writing. css

ghost commented 10 months ago

I have a problem where every time I'm writing css code( styled component ) in my .jsx, suddenly what I'm writing is replaced by intellissense's suggestion. For example: when I start writing "margin" and press enter, and keep writing what i want for margin, intelissense suggest "auto" and then "auto" is automatically written, so it looks like: "margin: auto.5rem", i never meant to write "auto", but intellissense put it there. This does not happen in .css files.

This is quite annoying as it happens a lot of times while writing any css property.

JSX I did not press enter to write "auto". jsx jsx

CSS Here, it does not occur. Suggestions just hide when i start writing. css css

Hi. I have the same problem. Did you get it solved?