Harald Kirschner
ea5b244abd
File snippets for HTML and PHP ( #161881 )
...
* Adding file snippets for HTML and PHP to start small.
* Adding TS
2022-09-27 08:15:57 -07:00
Matt Bierner
e9636bbce1
Don't have space in snippet
...
Fixes #146503
2022-04-01 11:15:25 -07:00
Daniel Rosenwasser
4fb22d76cf
"Surround with" in TS/JS snippets ( #138565 )
...
* Preserve selected text in snippets to provide "surround-with"-like functionality.
* Add the same "surround with"-like functionality to JS snippets.
2021-12-06 18:01:09 -08:00
Danylo Shevchenko
6d07984577
fix(typescript-snippet): fixed "newpromise" snippet
...
Fixed "newpromise" snippet
2021-03-10 06:13:14 +02:00
Jack Works
5d9647d4bc
Improve typescript.code-snippets for async ( #99544 )
...
* Update typescript.code-snippets
* Update typescript.code-snippets
* Update typescript.code-snippets
* Update typescript.code-snippets
2020-08-19 12:07:13 -07:00
Robert Massaioli
f3ffbedd41
Update for-in loop to work with eslint:recommended ( #99721 )
...
The code in the automatic template will fail this eslint rule: https://eslint.org/docs/rules/no-prototype-builtins . This is just plain annoying.
This change will make the snippet generated code not fail the linter. It will also avoid the subtle bugs that the eslint rule was made to avoid in the first place.
2020-06-09 23:52:58 -07:00
Jack Works
ece530adcf
Update typescript.code-snippets ( #98521 )
2020-05-27 11:41:23 -07:00
Martin Aeschlimann
d5e12a12dd
Use code-snippet suffix for extension snippets. Fixes #94625
2020-04-08 10:12:23 +02:00
Matt Bierner
c9c2d9e80b
Remove return statement snippets for ts
...
Fixes #45217
These snipepts do not add much value and do not seem like a good fit for core vscode
2018-03-08 15:14:27 -08:00
Matt Bierner
e23c58b3ab
Split out ts syntax and grammar to ts basics
2018-02-23 13:29:52 -08:00