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
Matt Bierner
1d3f3bc247
Restore whitespace in emmet test
2017-11-07 15:46:00 -08:00
Matt Bierner
69832fddf6
use import mocha instead of <reference> for some tests
2017-11-07 14:54:20 -08:00
Matt Bierner
04f322fc89
Resolve merge conflict around unused locals
2017-11-07 11:29:48 -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
a3aa704423
Emmet completions in script of type text/template
2017-10-30 10:47:57 -07:00
jmdowns2
49e570e136
Fix for #32342 ( #35463 )
...
* When expanding abbreviations, do so from bottom to top. This way a change higher up will not interfere with text below.
* When expanding abbreviations, do so from bottom to top. This way a change higher up will not interfere with text below.
2017-10-12 10:26:55 -07:00
Ramya Achutha Rao
a0139b47f4
Allow emmet in script tag if mimetype is html, plain or x-template #34921
2017-09-26 11:40:47 -07:00
Ramya Achutha Rao
67df88dbce
Enable emmet inside script tag if mimetype is html Fixes #34921
2017-09-25 15:09:54 -07:00
Ramya Achutha Rao
dd7f603376
Trigger emmet completion for numbers Fixes #34877
2017-09-23 23:48:29 -07:00
Ramya Achutha Rao
de7ce81e76
Alternate fix for #34162 using minscore for fuzzymatching
2017-09-23 23:41:44 -07:00
Ramya Achutha Rao
4571d387c9
No emmet at value part of property Fixes #34162
2017-09-18 18:24:21 -07:00
Matt Bierner
38853832f8
Fix compile error
2017-09-13 23:39:30 -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
db05d0ff1a
Add option to show emmet suggestions as snippets #32346
2017-08-30 16:26:43 -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
93ec3c6f77
Refine noise check on js variables in emmet
2017-08-29 19:07:22 -07:00
Ramya Achutha Rao
5769bebb3c
Enable the use of comment filter in emmet
2017-08-29 18:50:04 -07:00
Ramya Achutha Rao
4d7a7a15ca
Support partial emmet preferences #32496
2017-08-29 17:27:04 -07:00
Ramya Achutha Rao
621011796a
Avoid emmet suggestions for abbr that match document symbols #32647
2017-08-28 15:04:03 -07:00
Ramya Achutha Rao
41f0c5a526
Show err msg when extensionsPath is not found or snippets.json has invalid json Fixes #33073
2017-08-26 13:22:24 -07:00
Ramya Achutha Rao
905a3081e9
Allow mapping of default modes to other modes in Emmet completion provider Fixes #32260
2017-08-24 15:24:19 -07:00
Ramya Achutha Rao
06753de2dd
Update imgSize tests to not use local file to fix build break
2017-08-23 23:07:32 -07:00
Benjamin Pasero
9c5d505c99
disable failing test
2017-08-21 09:57:28 +02:00
Ramya Achutha Rao
1aff34003a
Inlcude checks at-rule for emmet css suggestions Fixes #32703
2017-08-20 18:05:31 -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
9a263229b3
No emmet suggestions inside script tag fixes #32732
2017-08-20 12:18:42 -07:00
Ramya Achutha Rao
40bd5d9859
Continue emmet expand even if parsing doc fails
2017-08-19 18:10:21 -07:00
Ramya Achutha Rao
6822a81494
Escape $ when not a tabstop or #32420
2017-08-14 13:42:08 -07:00
Ramya Achutha Rao
1531c8d2f4
lookahead not needed when running emmet expand #32478
2017-08-14 09:58:07 -07:00
Ramya Achutha Rao
fa413ff008
Move the checks on abbreviations to helper module
2017-08-12 20:25:17 -07:00
Ramya Achutha Rao
77d373e39b
Remove fallback to html as this will enable emmet everywhere
2017-08-11 23:45:25 -07:00
Ramya Achutha Rao
e190b10074
When file cannot be parsed, dont try validations #32354
2017-08-11 15:02:05 -07:00
Ramya Achutha Rao
78809b70fb
Fallback to tab for non empty selections
2017-08-11 11:25:54 -07:00
Ramya Achutha Rao
e3238c4583
Avoid error when tabbing on selection that is not abbreviation
2017-08-11 11:10:30 -07:00
Ramya Achutha Rao
bb9bbeb3dc
More checks on css abbr
2017-08-11 09:49:49 -07:00
Ramya Achutha Rao
eded868aa2
Fix for #1623 in new emmet when tab is back
2017-08-11 08:41:05 -07:00
Ramya Rao
02bbc149cf
Option to trigger emmet expansion on tab ( #32334 )
2017-08-11 08:21:37 -07:00
Ramya Achutha Rao
90b6859f37
Remove validation based on location for sass file #32281
2017-08-10 22:18:38 -07:00
Ramya Achutha Rao
a4b47f9451
Return promise from emmet expand method
2017-08-10 18:27:38 -07:00
Ramya Achutha Rao
ded9f62a27
Fallback to html only if emmet supported
2017-08-02 18:31:15 -07:00
Ramya Achutha Rao
310339fb1e
Fallback to html when syntax is not supported by emmet
2017-08-02 15:31:45 -07:00
Ramya Achutha Rao
a65e0d390c
Support trim filter when wrapping abbreviations Fixes #31893
2017-08-02 12:28:48 -07:00
Ramya Achutha Rao
23118ef434
Tests for the new wrap abbreviation command
2017-08-01 22:08:40 -07:00
Ramya Achutha Rao
211ffdf184
Emmet wrap individual lines with abbr #31814
2017-08-01 21:50:04 -07:00
Ramya Achutha Rao
e73bb91dc1
Since wrap with abbr is not supported in css, it can fallback to html
2017-08-01 18:24:30 -07:00
Ramya Achutha Rao
f41fc0134c
test for nested groups in emmet
2017-08-01 17:13:30 -07:00
Ramya Achutha Rao
e6c89af29a
Use umd module for expand abbreviation
2017-08-01 16:55:13 -07:00