Skip to content

Commit 2d6ef9b

Browse files
authored
Merge pull request #129 from ATiltedTree/att-typescript
Fixed Typescript support
2 parents b27548b + af34976 commit 2d6ef9b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,26 @@ Missing CSS support for HTML documents.
2626
- nunjucks
2727
- javascript
2828
- javascriptreact
29+
- typescript
30+
- typescriptreact
2931

3032
## Remote Style Sheets
3133

3234
Remote style sheets can be specified in VS Code settings:
3335

34-
```
36+
```json
3537
"css.remoteStyleSheets": [
3638
"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css"
3739
]
3840
```
41+
3942
## Style Sheet File Extensions
4043

4144
By default, `css` and `scss` files in the project are parsed. You may configure this in VS Code Settings
4245

4346
Remote style sheets can be specified in VS Code settings:
4447

45-
```
48+
```json
4649
"css.fileExtensions": [ "css", "scss"]
4750
```
4851

@@ -51,4 +54,5 @@ Remote style sheets can be specified in VS Code settings:
5154
[Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css)
5255

5356
## Usage
57+
5458
You can view a list of attributes via `ctrl + space`.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@
6060
"onLanguage:md",
6161
"onLanguage:nunjucks",
6262
"onLanguage:javascript",
63-
"onLanguage:javascriptreact"
63+
"onLanguage:javascriptreact",
64+
"onLanguage:typescriptreact",
65+
"onLanguage:typescript"
6466
],
6567
"main": "./out/src/extension",
6668
"scripts": {

0 commit comments

Comments
 (0)