Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Add styled-component support #5

Open
tsujp opened this issue Dec 31, 2019 · 3 comments
Open

Add styled-component support #5

tsujp opened this issue Dec 31, 2019 · 3 comments

Comments

@tsujp
Copy link

tsujp commented Dec 31, 2019

This is probably out of scope for this repo, but I cannot use styled-components with this as there are of course no syntax definitions for it. For .tsx files it'd be nice to support styled-components and I suppose, for other people, other CSS types commonly used in React projects.

As far as I know this need not be included in .ts, purely .tsx TypeScriptReact since React complains if you use JSX with TypeScript in anything other than a .tsx extension file, whereas for pure JS and JSX it's only a convention that JSX is in .jsx files.

Screen Shot 2019-12-31 at 5 06 41 pm

@willstott101
Copy link

This is definitely out of scope in this repo sorry. This repo is just a stripped down version of the TypeScript package and isn't really for additional development.

See here for upstream issue (unfortunately closed): microsoft#342

@willstott101
Copy link

@tsujp
Copy link
Author

tsujp commented Jan 8, 2020

I figured it might be but wanted to ask anyway. I'm going to port over some Stlyed Components sublime text syntax definitions and use this package as a baseline for that. It'll take a bit as I have other things on my plate but once done I'll link back here so if anyone has a similar query they can find a solution also.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants