Comments (10)
So basically this repo isn't maintained by Microsoft anymore and needs to be forked and moved into the @styled organization. We should also update the dependencies while we're at it.
I don't have much time these days and don't know when i would get around to doing it. But that is the task.
As there's many issues cropping up about this issue I will try to see what I can do.
Once done i will need some people to test the changes have worked. I will also try to link this issue once we've migrated
from typescript-styled-plugin.
Seems like at least some of these would be resolved by running npm run update-data
in vscode-css-languageservice
, as mentioned here:
from typescript-styled-plugin.
Now that microsoft/vscode-css-languageservice#319 is merged, maybe this new version 6.2.1
will trickle in to typescript-styled-plugin
at some point!
Edit: Oh, it seems like vscode-css-languageservice
is stuck on an old version, can this be updated?
typescript-styled-plugin/package.json
Line 24 in 4f6ad2a
from typescript-styled-plugin.
@karlhorky are you on the styled components discord? Could you ping me there if so
from typescript-styled-plugin.
Ok great, are @probablyup or other Styled Components maintainers available to help with any of this migration? Maybe even Emotion maintainers like @emmatown or @Andarist would be able to lend a hand, since this tooling also directly benefits Emotion users.
I can probably devote a bit of time to testing extension updates 👍
from typescript-styled-plugin.
2 things..
- There's a pre-release version here https://marketplace.visualstudio.com/items?itemName=styled-components.vscode-styled-components 1.7.6. This uses the latest version of css language server. However, i don't know if all of those properties will work. I didn't have them working when using the latest version.
- Please feedback in https://github.com/styled-components/typescript-styled-plugin as this has now been forked and used in 1.7.6
from typescript-styled-plugin.
Ok, I'll test this, and reply with my feedback in this PR (at least this looks like the correct place 🤔):
from typescript-styled-plugin.
Just copying part of my comment over here for visibility:
Seems like this is actually fixed in the normal release version of [email protected]
already, when using VS Code 1.74.0 (the error + warning below is actually a real typo, just to test that the error checking is working):
from typescript-styled-plugin.
Ran into the problem with a different CSS property just now - accent-color
doesn't appear to work, in either the normal [email protected]
Release version or the [email protected]
Pre-Release version (see below).
Maybe the property is too new and not yet in the vscode-css-languageservice
data?
The error message is "Unknown property: 'accent-color".
from typescript-styled-plugin.
Closing as this package has been deprecated in favor of the official styled-components/typescript-styled-plugin fork
After updating to that fork, follow up in the styled-components repo if this is still an issue
from typescript-styled-plugin.
Related Issues (20)
- ts-styled-plugin(9999) HOT 6
- Unknown property: accent-color HOT 1
- } expected (9999) when using @property & @scroll-timeline syntax HOT 1
- Autocomplete Custom Properties HOT 2
- Selecting Intellisense suggestion results in doubled content being typed HOT 1
- `emmet.showExpandedAbbreviation: never` doesn't disable Emmet abbreviation autocomplete HOT 1
- Send correct replacement range information (use OptionalReplacementSpan) HOT 2
- ) expected , { expected (9999) when using @supports not ( not backdrop-filter : blur(10px)) { } HOT 1
- Version 1.70 intellisense does not work HOT 2
- [Feature Request] allow detecting of plain template strings HOT 1
- semi-colon expected when using props in "${...}" - ts-styled-plugin(9999) HOT 1
- Update dependency from `vscode-emmet-helper` to `@vscode/emmet-helper`. HOT 1
- Error with multiline selectors with Subsitutions HOT 2
- How to avoid ts-styled-plugin(9999) when i am not even using styled components and don't have the plugin installed anywhere? HOT 1
- Doesn't recognize @layer at-rule HOT 2
- How to fail a commit to Git based on errors from ts-styled-plugin? HOT 1
- Support suppression/ignore comments HOT 2
- How to disable entirely without affecting other TS checking in VS Code HOT 4
- Unknown property: 'y'ts-styled-plugin(9999) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-styled-plugin.