Commit Graph

204 Commits

Author SHA1 Message Date
Matt Bierner
308c1887df Update extensions for TS 2.7
Update src to build with TS 2.7

Explicitly assign this.message in the else body
2018-02-08 14:28:55 -08:00
gushuro
e10ce07e3a Emmet - Fixing bug in toggle comment with multi cursor (#42857)
* Fixing issue with toggleComment on multiple nested cursors

* Fix error when an edit is empty

* reordering

* adding a test for toggleComment on nested selections

* Adding test for stylesheet files

* Removing change that was making integration tests fail
2018-02-08 11:45:52 -08:00
Ramya Achutha Rao
a31d226c54 Fix emmet for sass,stylus #42904 2018-02-03 20:12:25 -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
7a5045618e Skip emmet in selectors #42245 2018-01-27 22:10:58 -08:00
Ramya Achutha Rao
f57b024b18 Use latest emmet helper that has fixes #33818 2018-01-19 10:51:24 -08:00
Pascal Fong Kye
b36655544f fix: wrap current node when no selection and cursor on opening or closing tag (#41602) 2018-01-14 16:52:47 -08:00
Ramya Achutha Rao
05854360cc Fix typo 2018-01-14 12:35:38 -08:00
Ramya Achutha Rao
65f1bd4b25 Allow hex color completions from emmet 2018-01-12 16:07:53 -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
Ramya Achutha Rao
f4ed56b0d6 Ignore php tag when deciding if cursor is inside open tag Fixes #41216 2018-01-08 18:56:51 -08:00
Ramya Achutha Rao
bdeb370602 Apply comment filter when wrap with abbr fixes #40471 2017-12-19 13:46:42 -08:00
Ramya Achutha Rao
4913e7f68f Split emmet abbreviation tests 2017-12-15 15:25:58 -08:00
Ramya Achutha Rao
5503b0b92f Avoid emmet when typing css property values Fixes #34162 2017-12-14 16:02:52 -08:00
Ramya Achutha Rao
4199874acb Skip parsing docs when emmet suggestions are disabled 2017-12-12 14:24:03 -08:00
Ramya Achutha Rao
a1b377e423 Skip emmet when open tag is not closed even when no parent node #35128 2017-12-06 15:05:06 -08:00
Ramya Achutha Rao
f4d549e757 Fix unused code errors 2017-12-04 15:43:35 -08:00
Ramya Achutha Rao
813b2d91a7 Fix broken emmet tests 2017-12-04 15:14:17 -08:00
Ramya Achutha Rao
021e95d747 Fix #39578 Add completion provider tests for emmet 2017-12-04 14:29:56 -08:00
Ramya Achutha Rao
8a12b294de Skip emmet when open tag is not closed Fixes #35128 2017-12-03 18:14:07 -08:00
Ramya Achutha Rao
699a12cb78 Mapped languages shld be excluded if in emmet excludes for expand cmd #39369 2017-12-01 11:36:49 -08:00
Ramya Achutha Rao
8e3c444be7 Absorb upstream fix for #38766 2017-12-01 11:07:07 -08:00
Ramya Achutha Rao
700c3bd6b8 Mapped languages shld be excluded if in emmet excludes Fixes #39369 2017-11-30 20:31:24 -08:00
Ramya Achutha Rao
fafcb48f71 Allow emmet autocompletion when no parent node Fixes #38973 2017-11-24 11:44:01 -08:00
Ramya Achutha Rao
719d7b92f4 Add strictNullChecks for emmet #38820 2017-11-20 16:25:15 -08:00
Matt Bierner
d65cf91e9f Fix failing emmet expand test 2017-11-20 15:28:13 -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
86999bb82b Fix a few more emmet errors for strict null 2017-11-20 14:34:32 -08:00
Matt Bierner
7965160a6d Emmet strict mode move, part 2 (#37840)
Continue moving emmet extension to strict mode. This change does the following:

- Remove jsdoc types. These are unused in ts files and can easily get out of date
- Annotate when something can return undefined
- Add null checks for when something can be undefined
- Add explicit types when something can be any
2017-11-20 14:08:49 -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
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