Commit Graph

17 Commits

Author SHA1 Message Date
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
4f870afa58 Enforce node boundaries in places where it matters (#53192)
* Enfoce node boundries in places where it matters

* Flip defualt emmet includeBoundries to true

Explicitly set getNode's include boundries where needed

* Remove defualt papameter

* Add update image boundry tests

* Add tests for bondries on some of the tag actions

* Rest of tag tests
2018-06-29 13:40:38 -07:00
Ramya Achutha Rao
f200964ed5 Fix Select next/item bug when cursor is at tag boundary 2018-06-27 21:48:05 -07:00
Jackson Kearl
21c02bad2e Enable emmet to function inside script templates. #51180 (#51256) 2018-06-06 14:14:24 -07:00
Matt Bierner
b305ca7254 Fix a few more simple emmet strict null checks errors 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
0ee00cbd2a Emmet Error handling Fixes #29897 2017-06-29 18:35:53 -07:00
Ramya Achutha Rao
e2a18e4b6d Fixes #29802 Corner cases of Select next/prev item feature 2017-06-28 15:30:33 -07:00
Ramya Achutha Rao
fc6c69311d Add typing for emmet node 2017-06-26 14:18:38 -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
bd544519ab Ignore comments when select next/prev. Fixes #27763 2017-06-06 16:11:11 -07:00
Ramya Achutha Rao
5be2260d22 Select single words in property value 2017-05-26 09:28:04 +02:00
Ramya Achutha Rao
8e0f07fd38 Initial commit for builtin emmet extension #21943 2017-05-23 22:41:55 -07:00