- Bug fix, update typescript styled plugin to re-enable auto completion
- Test fixtures needed to be updated to accommodate theme update
- Fixed fixtures and tests from upstream VSCode changes
- Dependencies were updated
- TypeScript Styled Plugin has been forked and updated to use the latest CSS Language Server
- calc(), var(), hba() now supported in intellisense
- Only insert semicolons inside of CSS #375
- Fix colours not working after update.
- Fix broken auto completion #362
- Update dependencies
- Update test fixtures due to high contrast change.
- Support multiple percentages in keyframes. #345
- Support nextjs <style> tag attributes in highlighting. Thanks @Pika-Pool #340
- Small fixes
PLEASE READ: Styled Components has moved! Make sure you're downloading it from here:
https://marketplace.visualstudio.com/items?itemName=styled-components.vscode-styled-components. The jpoissonnier.vscode-styled-components
version will recieve no more updates. It will soon be unpublished.
You will need at least v1.60 for this release. This release contains many bug fixes plus UX improvements.
- Returned to npm from yarn. This should remove barriers for contribution, plus npm has improved.
- Bumped minimum version to v1.60 for ES2020 usage.
- [BUG] Autocomplete when writing % and then ; is broken. #322
- [BUG] Selecting Intellisense suggestion results in doubled content being typed #325
- [BUG] Suggestions broken on embedded languages 134328
- [BUG] No code autocompletion for @media queries. 302
- [BUG/PERF] Don't fetch completions on opening template tag, this stops (expensive) completions being fetched when opening backticks. This should also help fix [#276] below. SP#157
- [BUG] Pressing return after back-ticks does not jump to new line, selects first result of intellisense #276
- Add support for globalStyles. #320
- Update typescript-styled-plugin. #323
- Fix URLS in css. #323
- Bump CSS Language Server #333
- Fixed regression on keyframes intellisense. #317
- Migrated to ESBuild (from Webpack)
- Set an alert if vscode-styled-jsx is installed. See #310
- Migrated from vscode-test to @vscode/test-electron
- Upgraded to styled plugin 0.18
- Fixed "Expand Template String" which should automatically open up the backticks
- Guard insert colon with when clause. Thanks @phyllisstein! 297
- Cursor control has returned but only with CSS Functions
- Fix color matching issues, match multiple colors per-line and reduce false-positives on named color matches
- Revert styled plugin back to v0.16 so keyframes errors are supressed
- Respect user's "acceptSuggestionOnEnter" configuration
- Remove cursor control until issue can be fixed
- Updated typescript-styled-plugin to v0.17
- Improved Syntax support
- Added support for keyframes
- Updated colorProvider to support alpha values on hex colors
- Adds a colon or semicolon on Enter. Also moves the cursor to the middle of a () function 284
- Updated documentation
- Improved support for Next style tags
- Added support for highlighting :focus-visible and :user-invalid pseudoclasses, thanks wojtekmaj! 289
- Updated typescript-styled-plugin to v0.16
- Fixed color provider bug on matching wrong strings 260
- npm script postinstall should use prepare 253
- Updated CONTRIBUTING.md for how to use regexes and how to debug 251
- Allow destructuring property arrow function 250
- Updated color provider to better support colors in CSS 249
- Added support for astroturf
stylesheet
(Thanks @mikestopcontinues) 245
- Allows spaces before function call parenthesis (fixes ESLint
func-call-spacing
) 238 - Supports function calls inside of
styled
237
- We're 1.0.0!
- We have a more stable test system, moving to Github actions
- Support added for more type parameters 236
- Addition of completion provider 232
- Contribution Guide added 223
- TS Generics support for
.attr
syntax - Single line comments now supported
- Fixed issue with
aspect-ratio
not working 190
As it's Hacktoberfest we appreciate any contributions and have plenty of issues to work on, take a look
- support custom-at-rules 230, thanks to @vxna
- support .withConfig() 225, thanks to @auver
- Fix release issue
- fix for space before , thanks to @mrGibi
- Add support for css prop #173, thanks to @njdancer
- Update typescript-styled-plugin #195, thanks to @mjbvz
- Enable plugin with workspace version by default, thanks to @mjbvz
- Add support for TypeScript type parameters, thansk to @antoinerousseau
- Fix #137, thanks to @jbm1991
- Upgrade to typescript-styled-plugin 0.13.0, thanks to @mjbvz
- Upgrade to typescript-styled-plugin 0.12.0, thanks to @mjbvz
- Upgrade to typescript-styled-plugin 0.11.0, thanks to @mjbvz
- Add support for new createGlobalStyle API, thanks to @probablyup
- Add support for .vue file extension, thanks to @jaxx2104
- Upgrade to typescript-styled-plugin 0.10.0
- Try making highlighting of template tag more consistent with other tagged templates
- Fix language mode inside js expression, thanks to @mjbvz
- Upgrade to typescript-styled-plugin 0.8.1
- Update to styled plugin 0.6.3, thansk to @mjbvz
- Add support for emotion-style TypeScript declarations, thanks to @dstaley
- Fix highlighting after
withComponent
, thanks to @Cu3PO42 - Enable highlighting after
Component.extend.attrs
, thanks to @Cu3PO42 - Don't inject highlighting grammar into strings, thanks to @Cu3PO42
- Add Emmet CSS Suggestions, thanks to @mjbvz and @ramya-rao-a and the awesome TypeScript Styled Plugin
- Support @import rules in injectGlobal, thanks to @Cu3PO42
- Update typescript-styled-plugin to 0.5.1, adding quick fixes for misspelled properties, thanks to @mbjvz
- Replace the CSS grammar by one built on language-sass and language-css to ensure syntax highlighting works as in (S)CSS files, thanks to @Cu3PO42
- Rewrites the injection grammar to utilise the built-in highlighting for the JS/TS parts, thanks to @Cu3PO42
- Only change language mode to CSS inside of a template literal, thanks to @Cu3PO42
- Add support attrs support, thanks to @bsutt123
- Support highlighting in media templates, thanks to @trevorwright
- Detailed CSS IntelliSense while working in styled strings and syntax error reporting, thanks to @matb. Note that this requires VSCode 1.20+
- Fix highlighting in VS Code 1.18, thanks to @mbjvz
- Fix highlighting of display: flex, thanks to @chinclubi
- Styled string contents are now marked as CSS embeddedLanguage, enabling proper CSS comments and better bracket matching, thanks to @mjbvz
- Add support for Typescript, thanks to @misantronic
- Add support for
.withComponent()
, thanks to @bessey - Add support for
.extend
- Allow space before
in the styled regex
- Fix
styled
regex
- Update CSS grammar to latest version from https://github.com/gandm/language-babel
- Make styled-components default export matching case insensitive, fixes #10
Don't highlight inside comments, thanks to @wmertens and @alpyre
Add suport for string tagnames, injectGlobal and keyframes
Initial release of vscode-styled-components