5 Commits

Author SHA1 Message Date
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
BTNDev
2b75c3d5ac
updated javascript for in snippet (#111062)
Updated javascript for in snippet to use Object.hasOwnProperty insted of object.hasOwnProperty because of this vulnerability: https://eslint.org/docs/rules/no-prototype-builtins
2020-11-20 15:37:46 -08:00
Milo Moisson
d213eb2d07
Fix JS snippets trailing commas. (#104153)
Fix JS snippets trailing commas, introduced by #100657 and observed by #104141.
2020-08-06 11:42:47 -07:00
Milo Moisson
fc8b56a966
Update logging
Remove enter after console.log/warn/error.
Really ennoying...
2020-06-20 18:26:14 +02:00
Martin Aeschlimann
d5e12a12dd Use code-snippet suffix for extension snippets. Fixes #94625 2020-04-08 10:12:23 +02:00