Commit Graph

31 Commits

Author SHA1 Message Date
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Matt Bierner
b911788593 Mark a few more arrays in vscode.d.ts readonly
This makes it clear that you can't modify these arrays to add items, such as calling `breakpoints.push(...)` to add a breakpoint
2021-11-10 17:53:27 -08:00
Raymond Zhao
b5cd082cd4 Emmet refactor toggle comment (#113557) 2020-12-29 15:02:55 -08:00
Raymond Zhao
273a5cdf5a Emmet comment spacing fixup, fixes #112835 2020-12-18 18:41:12 +00:00
Raymond Zhao
6ad2dccc78 Emmet Toggle Comment HTML 💄 2020-12-18 18:02:01 +00:00
Matt Bierner
b4964bcf35 Replace some common index based for loops with for-of loops
Replaces many loops of the form:

```js
for (let i = 0; i < elements.length; ++i) {
    const i = elements[i];
   ...
}
```

with:

```js
for (const element of elements) {
    ...
}
```

Mix of a horrible regex based find/replace and manual touch ups
2019-01-03 19:11:18 -08:00
Ramya Achutha Rao
6ad61f018a Getting closer to shared config #59803 2018-10-02 20:00:19 -07:00
Jackson Kearl
21c02bad2e Enable emmet to function inside script templates. #51180 (#51256) 2018-06-06 14:14:24 -07:00
gushuro
e10ce07e3a Emmet - Fixing bug in toggle comment with multi cursor (#42857)
* Fixing issue with toggleComment on multiple nested cursors

* Fix error when an edit is empty

* reordering

* adding a test for toggleComment on nested selections

* Adding test for stylesheet files

* Removing change that was making integration tests fail
2018-02-08 11:45:52 -08:00
Ramya Achutha Rao
719d7b92f4 Add strictNullChecks for emmet #38820 2017-11-20 16:25:15 -08:00
Matt Bierner
86999bb82b Fix a few more emmet errors for strict null 2017-11-20 14:34:32 -08:00
Matt Bierner
37c3cd1117 Start moving emmet extension to strict mode (#37740)
* Start moving emmet to strict mode

First part of moving the emmet extension to strict mode TypeScript. This change focuses on adding annotations when things can be undefined and removing jsdoc type comments

* Fix a few more errors

* Fix compile errors

* Tiny updates
2017-11-07 16:28:35 -08:00
Ramya Achutha Rao
81cca6cc60 Lazy load emmet helper to ease startup #35120 2017-10-30 20:56:19 -07:00
Ramya Achutha Rao
f39385b832 Treat style tag contents as css when commenting fixes #31685 2017-07-31 17:27:43 -07:00
Ramya Achutha Rao
478a82e133 Emmet Toggle Comment CSS Improvements 2017-07-30 14:54:32 -07:00
Ramya Achutha Rao
cfe354d268 Toggle comment shld ignore whitespace when fetching nodes 2017-07-26 19:45:28 -07:00
Ramya Achutha Rao
d83273825d Tests for Emmet Toggle Comment 2017-07-26 18:42:00 -07:00
Ramya Achutha Rao
bf634bf4e7 Renaming utilties for clarity 2017-07-24 14:45:02 -07:00
Ramya Achutha Rao
0ee00cbd2a Emmet Error handling Fixes #29897 2017-06-29 18:35:53 -07:00
Ramya Achutha Rao
915e1eb8cb Return if there was parsing error 2017-06-26 14:18:38 -07:00
Ramya Achutha Rao
fc6c69311d Add typing for emmet node 2017-06-26 14:18:38 -07:00
Ramya Achutha Rao
07c5fe39dd Moved emmet completion provider to vscode-emmet-helper 2017-06-21 16:21:54 -07:00
Ramya Achutha Rao
1a11b9dd4f getNode is not needed by the helper module 2017-06-21 14:47:42 -07:00
Ramya Achutha Rao
b7afeff71d More prep for moving completion provider out 2017-06-21 14:33:59 -07:00
Ramya Achutha Rao
a057a5974a Prepping to move completion provider to a re-usable module 2017-06-21 14:22:30 -07:00
Ramya Achutha Rao
6cc63cdf15 Use stream reader for TextDocument for more efficient parsing 2017-06-15 11:21:35 -07:00
Ramya Achutha Rao
c47b702fa5 Refactoring toggleComment 2017-06-07 10:28:03 -07:00
Ramya Achutha Rao
66212c6328 toggle comment across css nodes #27629 2017-06-06 19:18:07 -07:00
Ramya Achutha Rao
0da90fcc62 toggle comment across html nodes #27629 2017-06-06 19:18:07 -07:00
Ramya Achutha Rao
1d93668c0e Fixes #27630 2017-05-30 18:02:05 -07:00
Ramya Achutha Rao
8e0f07fd38 Initial commit for builtin emmet extension #21943 2017-05-23 22:41:55 -07:00