Skip to content

Commit ea597f0

Browse files
committed
- removed this. becuase of intellisnse conflict with true
1 parent 737d3a7 commit ea597f0

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ All notable changes to the "JavaScript and TypeScript Snippets" extension will b
55

66
### Added
77
- Added to JSON `"key": false`, `"key": 0`, `"key": ""` and `"key": [ ... ]`.
8-
- Added `this.`.
8+
- Added `super.`.
99

1010
### Changed
1111
- Changed `return ` to `return;`.
1212
- Removed `;` from `new Promise( ... )`.
1313

14+
### Removed
15+
- Removed `class NAME { ... }` and `class NAME extends PARENT { ... }`.
16+
1417
## [0.18.0] - 2020-08-02
1518

1619
### Added

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ This extension contains keyword snippets and micro patterns for JavaScript, Type
55
## What's new in JavaScript and TypeScript Snippets 0.19.0
66

77
- Added to JSON `"key": false`, `"key": 0`, `"key": ""` and `"key": [ ... ]`.
8-
- Added `this.`.
8+
- Added `super.`.
99
- Changed `return ` to `return;`.
1010
- Removed `;` from `new Promise( ... )`.
11+
- Removed `class NAME { ... }` and `class NAME extends PARENT { ... }`.
1112

1213
## Index
1314

SNIPPETS.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Complete list of all JavaScript and TypeScript snippets for Visual Studio Code.
3131
| `r` | `return$0;` |
3232
| `s` | `super.` |
3333
| `t` | `true` |
34-
| `t` | `this.` |
3534
| `u` | `undefined` |
3635
| `v` | `void ` |
3736
| `y` | `yield` |
@@ -111,8 +110,6 @@ Complete list of all JavaScript and TypeScript snippets for Visual Studio Code.
111110
| `ef_` | `export function ${1:name} ($2) { $0 }` |
112111
| `eaf_` | `export async function ${1:name} ($2) { $0 }` |
113112
| `edf_` | `export default function ($1) { $0 }` |
114-
| `c_` | `class ${1:name} { $0 }` |
115-
| `ce_` | `class ${1:name} extends ${2:parent} { $0 }` |
116113
| `ec_` | `export class ${1:name} { $0 }` |
117114
| `ece_` | `export class ${1:name} extends ${2:parent} { $0 }` |
118115
| `edc_` | `export default class { $0 }` |

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"displayName": "JavaScript and TypeScript Snippets",
44
"description": "Keyword snippets and micro patterns for JavaScript and TypeScript",
55
"version": "0.19.0",
6+
"preview": true,
67
"publisher": "L13RARY",
78
"license": "SEE LICENCE IN LICENCE.md",
89
"homepage": "https://github.com/l13/vscode-js-snippets/blob/master/README.md",

snippets/javascript.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"return;": { "prefix": "r", "body": ["return$0;"], "description": "" },
1010
"super": { "prefix": "s", "body": ["super."], "description": "" },
1111
"true": { "prefix": "t", "body": ["true"], "description": "" },
12-
"this.": { "prefix": "t", "body": ["this."], "description": "" },
1312
"undefined": { "prefix": "u", "body": ["undefined"], "description": "" },
1413
"void": { "prefix": "v", "body": ["void "], "description": "" },
1514
"yield": { "prefix": "y", "body": ["yield"], "description": "" },
@@ -115,8 +114,6 @@
115114
"export async function () {}": { "prefix": "eaf_", "body": ["export async function ${1:name} ($2) {", "\t", "\t$0", "\t", "}"], "description": "" },
116115
"export default function () {}": { "prefix": "edf_", "body": ["export default function ($1) {", "\t", "\t$0", "\t", "}"], "description": "" },
117116

118-
"class NAME {}": { "prefix": "c_", "body": ["class ${1:name} {", "\t", "\t$0", "\t", "}"], "description": "" },
119-
"class NAME extends PARENT {}": { "prefix": "ce_", "body": ["class ${1:name} extends ${2:parent} {", "\t", "\t$0", "\t", "}"], "description": "" },
120117
"export class NAME {}": { "prefix": "ec_", "body": ["export class ${1:name} {", "\t", "\t$0", "\t", "}"], "description": "" },
121118
"export class NAME extends PARENT {}": { "prefix": "ece_", "body": ["export class ${1:name} extends ${2:parent} {", "\t", "\t$0", "\t", "}"], "description": "" },
122119
"export default class {}": { "prefix": "edc_", "body": ["export default class {", "\t", "\t$0", "\t", "}"], "description": "" },

0 commit comments

Comments
 (0)