Commit Graph

20 Commits

Author SHA1 Message Date
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
Stephen Sigwart
e2dbe9747f Update select to matching bracket direction 2021-07-17 23:56:38 -04:00
Raymond Zhao
c7dbab59ff Emmet create new html-matcher override instead of using LS (#113508) 2020-12-28 15:06:23 -08:00
Raymond Zhao
483bd40550 Update several Emmet commands (#112597)
For match tag, update tag, and balance in/out, we now have the following:

- vscode-html-languageservice parse is being used to speed up file parse times
- Balance balance-in after balance-out behaviour is now more consistent
- These commands now work in markup files with unclosed tags
- Implemented a cache for these commands to prevent multiple document parses on the same version of the document
2020-12-16 10:20:57 -08:00
Ramya Achutha Rao
31bf4ccab3 Balance inward should go to inner contents even when no selection Fixes #58173 2018-09-11 19:31:06 -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
Jackson Kearl
21c02bad2e Enable emmet to function inside script templates. #51180 (#51256) 2018-06-06 14:14:24 -07:00
Heldenkrieger01
30bcdffcb3 Fix #49777 - Emmet balance In after balance out should go back to initial selection and not first child (#49996)
* Update Emmet - balance.ts

* Cover all cases
2018-05-29 17:29:30 -07: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
6030187b6c Tests for Emmet Balance In/Out 2017-07-25 17:16:10 -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
8e0f07fd38 Initial commit for builtin emmet extension #21943 2017-05-23 22:41:55 -07:00