Styled-components support

It would be nice if styled-components are recognized as css and have autocomplete support like a normal css file

2
7 comments

will be very appreciated 😏😊

0

Hi Shmuel Eckstein

Could you please describe the case in a bit more detail? It seems like it should work in most cases. 

Thanks! 

0

I’m using styled-components in rider. and it’s not recognized as css. so i don’t have autocomplete 

as i have in the webStorm 
for example if I'll write in webStorm margin and have a mistake in the word like margim instead of margin I'll get a TC error
in the rider it’s not working. as well the autocomplete is not suggesting the correct property in the rider

0

Hi Shmuel Eckstein

Thank you for the details.  What kind of project do you work with? Could you please add some code/project samples? 

 

0

like this?

export const Container = styled.div`
display: flex;
justify-content: center;
width: 100%;
`;
0

do you have some updates ?

0
Hello,

I reproduced this issue. It is indeed not supported. And there is an issue on our tracker to fix it: https://youtrack.jetbrains.com/issue/RIDER-52944/Support-completion-and-navigation-for-component-specific-CSS-styles-in-Blazor.
0

Please sign in to leave a comment.