Commit Graph

69 Commits

Author SHA1 Message Date
Waldir Pimenta
f3e4e47164 Fix spelling of the example abbreviation (e.g.) 2019-06-05 16:00:26 +02:00
Sebastian De Deyne
0b0c2ceb95 Fix types in Emmet comments 2019-02-21 09:45:05 +01:00
Matt Bierner
a131278f4a Enabling no-redundant-jsdoc for tslint 2019-01-04 15:34:50 -08:00
Ramya Achutha Rao
dcc243c992 Better readability for util.ts 2018-11-18 19:42:02 -08:00
Ramya Achutha Rao
6ad61f018a Getting closer to shared config #59803 2018-10-02 20:00:19 -07:00
Ramya Achutha Rao
067ed91b79 Allow emmet inside script tag with js mime if js is mapped to html Fixes #58562 2018-09-14 10:44:44 -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
James
b7e6e04666 fix #51768 (#51849) 2018-06-21 17:36:25 -07:00
Jackson Kearl
21c02bad2e Enable emmet to function inside script templates. #51180 (#51256) 2018-06-06 14:14:24 -07:00
Jackson Kearl
cc84951f1e Allow Emmet "Go to matching pair" to work inside script tags (#51173)
* Allow Emmet "Go to matching pair" to work inside script tags

* Refactor template script detection and node extraction.

* Futher refactoring of Emmet template identification logic.

* Emmet: select entire script tag when unable to idnetify an inner element

* Remove redundant nullity check
2018-06-05 17:00:39 -07:00
Ramya Achutha Rao
79a2512769 Emmet: Allow css completions in style tag/attribute, html completions in script tags with html type 2018-04-22 21:49:56 -07:00
Ramya Achutha Rao
c314388da2 Move emmet from html extenstion to emmet extension 2018-04-22 21:49:56 -07:00
Ramya Achutha Rao
a786ed344e Cannot assign to read only property in nested settings #47316 2018-04-09 14:38:03 -07:00
Ramya Rao
2de91fdce5 Css partial parse refactoring (#46894)
* Refactor parsePartialStylesheet

* More refactoring

* To avoid errors, parse line comments char by char and no when getting to previous line.

* Revert "To avoid errors, parse line comments char by char and no when getting to previous line."

This reverts commit f353dba4c7.

* Fix for inline comments inside block comments
2018-03-28 18:12:07 -07:00
Gus Hurovich
95b0cffe72 Fix for #46745 (#46788)
* Fix for #46745

* If { found in selector, don't partial parse.
Adding sanity checks
2018-03-27 18:32:46 -07:00
Ramya Achutha Rao
c2dc46c1ce Offset is relative to position when finding comment 2018-03-27 12:28:20 -07:00
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