Commit Graph

103 Commits

Author SHA1 Message Date
Ramya Achutha Rao
4f10555e3c Skip emmet inside comments in stylesheets #46434 2018-03-26 18:30:37 -07:00
Gus Hurovich
91416ffab8 Stylesheet partial parse (#46376)
* First draft at partial parsing of css for emmet

* Partial parsing of stylesheets for Emmet

* Addressing feedback

* Refactoring and fixing little bug

* Liitle fix

* Equals are now equals

* We don't want emmet in selectors

* Skip comments when preparsing

* Addressing feedback, refactoring and cleaning up code.

* Update endPosition only if not eof

* Use function to find closing comment

* Don't check more than 5000 characters back
2018-03-26 18:14:28 -07:00
Ramya Achutha Rao
6e1574671a Use copy of config object to avoid making changes to the readonly objects 2018-03-05 10:22:01 -08:00
Ramya Achutha Rao
4392d2efff Trigger emmet in js files on ! Fixes #43841 2018-03-02 16:22:07 -08:00
Ramya Rao
00f2d8ed71 Get emmet completions from css extension (#41652)
* Get emmet completions from html,css extensions

* Resolve extensionsPath, use emmet results even if empty

* Support css abbr with :

* Refactoring

* Add some basic emmet tests

* Refactoring

* More tests
2018-02-12 21:40:10 -08:00
Ramya Achutha Rao
611b4b365f Support vendor prefix in emmet #35951 2018-01-31 17:05:02 -08:00
Ramya Achutha Rao
02526ccf61 Semicolon is nolonger required to reset emmet 2018-01-31 17:05:01 -08:00
Ramya Achutha Rao
f57b024b18 Use latest emmet helper that has fixes #33818 2018-01-19 10:51:24 -08:00
Ramya Achutha Rao
05854360cc Fix typo 2018-01-14 12:35:38 -08:00
Ramya Achutha Rao
ca023a700f Move absolute path check to avoid dependency on path in emmet helper 2018-01-11 19:01:53 -08: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
81cca6cc60 Lazy load emmet helper to ease startup #35120 2017-10-30 20:56:19 -07:00
Ramya Achutha Rao
dd7f603376 Trigger emmet completion for numbers Fixes #34877 2017-09-23 23:48:29 -07:00
Ramya Achutha Rao
3e23c21af9 Self closing tags for jsx,xml,xsl in emmet Fixes #32698 2017-09-04 11:03:42 -07:00
Ramya Achutha Rao
74d3d0cde0 Trigger Emmet for abbreviations ending with a number Fixes #33726 2017-09-04 10:02:11 -07:00
Ramya Achutha Rao
377ad58a81 Trigger emmet on closing square brackets 2017-08-30 14:20:25 -07:00
Ramya Achutha Rao
a915f4b3d8 Reset css emmet suggestions on semi colon Fixes #32911 2017-08-30 14:20:25 -07:00
Ramya Achutha Rao
4d7a7a15ca Support partial emmet preferences #32496 2017-08-29 17:27:04 -07:00
Ramya Achutha Rao
7e539de2f4 Trigger emmet for ! in xsl as it is a snippet prefix 2017-08-20 12:33:13 -07:00
Ramya Achutha Rao
40bd5d9859 Continue emmet expand even if parsing doc fails 2017-08-19 18:10:21 -07:00
Ramya Rao
593ecbef58 Deprecating old emmet (#31783)
* Deprecate old emmet

* Update translations
2017-07-31 15:59:59 -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
Ramya Achutha Rao
0bee43b5be Emmet Update Image Size command 2017-07-23 11:19:00 -07:00
Ramya Achutha Rao
f2a9356417 Absorb changes to the vscode-emmet-helper 0.0.19 2017-07-17 19:25:12 -07:00
Ramya Achutha Rao
d66d6738be Removing dead code 2017-06-29 18:43:51 -07:00
Ramya Achutha Rao
0ee00cbd2a Emmet Error handling Fixes #29897 2017-06-29 18:35:53 -07:00
Ramya Achutha Rao
e7de8b2536 More trigger chars #29758 2017-06-29 17:18:33 -07:00
Ramya Achutha Rao
42ae1fc0f6 Emmet html suggestions after typing : #29758 2017-06-29 11:02:06 -07:00
Ramya Achutha Rao
280ea0b10c Fix infinite loop when node doesnt have non comment children. #27763 2017-06-28 16:02:46 -07:00
Ramya Achutha Rao
2f77f9fd6a Stop supporting both syntaxProfiles, includeLanguage settings in new emmet #29678 2017-06-28 14:51:57 -07:00
Ramya Achutha Rao
04f25df845 Emmet suggestions for jsx only when expicitly asked for #29532 2017-06-28 14:39:44 -07:00
Ramya Achutha Rao
7ba1dcff0c Emmet suggestions in non markup/stylesheet languages #29532 2017-06-28 13:59:28 -07:00
Ramya Achutha Rao
63def6eb98 Support both syntaxProfiles and includeLanguages until #29678 is resolved 2017-06-27 20:00:12 -07:00
Ramya Achutha Rao
b69887c107 Use emmet.includeLanguages to enable emmet abbr in non supported languages #29678 2017-06-27 19:23:46 -07:00
Ramya Achutha Rao
fc6c69311d Add typing for emmet node 2017-06-26 14:18:38 -07:00
Ramya Achutha Rao
9483e9fa6a Honor emmet.excludeLanguages setting 2017-06-22 07:08:30 -07:00
Ramya Achutha Rao
93de2bd8df Remove emmet autocomplete for jsx Fixes #29185 2017-06-21 17:00: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
a49a42680a Explicit mapping for langs whose parent are emmet supported #28545 2017-06-20 18:49:55 -07:00
Ramya Achutha Rao
ac60143aa9 Honor emmet.extensionsPath setting for variables and profile 2017-06-20 15:51:06 -07:00
Ramya Achutha Rao
5e2d92d269 Support xhtml as output profile 2017-06-20 11:43:35 -07:00
Ramya Achutha Rao
8902a30b12 Consolidate emmet expand action and emmet completion 2017-06-19 17:35:05 -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
0da90fcc62 toggle comment across html nodes #27629 2017-06-06 19:18:07 -07:00