Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #175 from microsoft/dev/mjbvz/0.18.3
Browse files Browse the repository at this point in the history
0.18.3 — Pick up new typescript-template-language-service-decorator
  • Loading branch information
mjbvz committed Apr 4, 2023
2 parents c49935a + b26170e commit f237d71
Show file tree
Hide file tree
Showing 4 changed files with 2,631 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.18.3 - April 4, 2023
- Pick up latest `typescript-template-language-service-decorator` with fix for TS 5.0
- Mark package as deprecated in favor of https://github.com/styled-components/typescript-styled-plugin.

## 0.18.2 - December 06, 2021
- Include completion spans in responses. Thanks @jasonwilliams!
- Don't trigger completions when opening template tags. Thanks @jasonwilliams!
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ TypeScript server plugin that adds intellisense to [styled component](https://st
- Quick fixes for misspelled property names.

## Usage
This plugin requires TypeScript 2.4 or later. It can provide intellisense in both JavaScript and TypeScript files within any editor that uses TypeScript to power their language features. This includes [VS Code](https://code.visualstudio.com), [Sublime with the TypeScript plugin](https://github.com/Microsoft/TypeScript-Sublime-Plugin), [Atom with the TypeScript plugin](https://atom.io/packages/atom-typescript), [Visual Studio](https://www.visualstudio.com), and others.
This plugin requires TypeScript 2.4 or later. It can provide intellisense in both JavaScript and TypeScript files within any editor that uses TypeScript to power their language features. This includes [VS Code](https://code.visualstudio.com), [Sublime with the TypeScript plugin](https://github.com/Microsoft/TypeScript-Sublime-Plugin), [Atom with the TypeScript plugin](https://atom.io/packages/atom-typescript), [Visual Studio](https://www.visualstudio.com), and others.

### With VS Code
Just install the [VS Code Styled Components extension](https://github.com/styled-components/vscode-styled-components). This extension adds syntax highlighting and IntelliSense for styled components in JavaScript and TypeScript files.
Just install the [VS Code Styled Components extension](https://github.com/styled-components/vscode-styled-components). This extension adds syntax highlighting and IntelliSense for styled components in JavaScript and TypeScript files.

If you are using a [workspace version of TypeScript]((https://code.visualstudio.com/Docs/languages/typescript#_using-newer-typescript-versions)) however, you must manually install the plugin along side the version of TypeScript in your workspace:

Expand Down Expand Up @@ -198,7 +198,7 @@ To disable error reporting, set `"validate": false` in the plugin configuration:
}
```

You can also configure how errors are reported using linter settings.
You can also configure how errors are reported using linter settings.

```json
{
Expand Down Expand Up @@ -353,11 +353,11 @@ Selectors should not contain IDs because these rules are too tightly coupled wit

### Emmet in completion list

You can now see your Emmet abbreviations expanded and included in the completion list.
An [upstream issue](https://github.com/Microsoft/TypeScript/issues/21999) with typescript blocks the Emmet entry in the completion list to get updated as you type.
You can now see your Emmet abbreviations expanded and included in the completion list.
An [upstream issue](https://github.com/Microsoft/TypeScript/issues/21999) with typescript blocks the Emmet entry in the completion list to get updated as you type.
So for now you will have to press `Ctrl+Space` after typing out the abbreviation.

The below settings which are in sync with general Emmet settings in VS Code control the expanded Emmet abbreviations in the auto-completion list.
The below settings which are in sync with general Emmet settings in VS Code control the expanded Emmet abbreviations in the auto-completion list.

#### showExpandedAbbreviation
```
Expand Down

0 comments on commit f237d71

Please sign in to comment.