IntelliSense for new CSS property names and values
See original GitHub issuehi I’m using styled components in react native
tsconfig.json
"plugins": [
{
"name": "typescript-styled-plugin",
"lint": {
"validProperties": [
"aspect-ratio",
"elevation",
"margin-vertical",
"margin-horizontal",
"padding-horizontal",
"padding-vertical",
"resize-mode",
"shadow-color",
"shadow-opacity",
"shadow-offset",
"shadow-radius",
"text-align-vertical",
"tint-color"
]
}
}
]
but not give me IntelliSense code for new specific properties
example: aspect-ratio elevation margin-vertical margin-horizontal padding-horizontal padding-vertical resize-mode shadow-color shadow-opacity shadow-offset shadow-radius text-align-vertical tint-color
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:9 (3 by maintainers)
Top Results From Across the Web
IntelliSense in Visual Studio Code
IntelliSense is a general term for various code editing features including: code completion, parameter info, quick info, and member lists. IntelliSense features ...
Read more >Using CSS custom properties (variables) - MDN Web Docs
Custom properties allow a value to be stored in one place, then referenced in multiple other places. An additional benefit is semantic ...
Read more >vs code and intellisense for CSS Grid and CSS Modules
Fixes content and cursor property names being tokenized as tag ... To make the VS Code recognise these custom CSS directive/properties, ...
Read more >Web Essentials: CSS Attribute Intellisense - YouTube
JSON Schema introduction in Visual Studio · Gulp and Grunt Intellisense in Visual Studio · Kubernetes 101 workshop - complete hands-on · NULL ......
Read more >6 Awesome CSS Extensions for VS Code - DigitalOcean
6 Awesome CSS Extensions for VS Code · HTML CSS Support · Intellisense for CSS Class Names · Autoprefixer · CSS Peek ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
Ran into the problem with a different CSS property just now -
accent-color
doesn’t appear to work, in either the normalstyled-components.vscode-styled-components@1.7.5
Release version or thestyled-components.vscode-styled-components@1.7.6
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”.