Commit Graph

7 Commits

Author SHA1 Message Date
Raymond Zhao
433833fbe0 Emmet refactor reflect CSS and update image commands (#113550) 2020-12-29 12:44:12 -08: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
Matt Bierner
7965160a6d Emmet strict mode move, part 2 (#37840)
Continue moving emmet extension to strict mode. This change does the following:

- Remove jsdoc types. These are unused in ts files and can easily get out of date
- Annotate when something can return undefined
- Add null checks for when something can be undefined
- Add explicit types when something can be any
2017-11-20 14:08:49 -08:00
Ramya Achutha Rao
4cbe0d35ea Move non abbr emmet cmds from core to extension #29969 2017-07-26 16:31:47 -07:00
Ramya Achutha Rao
bf634bf4e7 Renaming utilties for clarity 2017-07-24 14:45:02 -07:00
Ramya Achutha Rao
76392ae91f Emmet Reflect CSS Value in html files 2017-07-24 14:42:24 -07:00
Ramya Achutha Rao
283a790c88 Emmet: Reflect CSS Value in extension #31298 2017-07-24 12:01:43 -07:00