Commit Graph

100 Commits

Author SHA1 Message Date
Matthew Kwiecien
6fb4ef694a PR Review: moving expected output to relevant tests. 2019-02-12 18:39:17 -06:00
Matthew Kwiecien
45f686fadc Refactoring the wrap with abbrev unit test class to be less repetitive. 2019-02-10 10:11:48 -06:00
Matthew Kwiecien
0b3c33b801 Adding unit tests to check for className when file is jsx. 2019-02-10 10:09:56 -06:00
vim88
510d90d11e Fixes typo and occurrences of double words in comments. 2018-11-26 19:57:48 +02:00
Ramya Achutha Rao
6f139c79ad Test for multiline selection for wrap 2018-11-05 17:45:40 -08:00
Matt Q
19ac31a246 Fixed #59395 - Emmet Syntax Profiles tag_nl produces no extra space (#60108)
* fix

* fixed typo

* Formatting
2018-10-22 19:39:49 -07:00
Ramya Achutha Rao
6ad61f018a Getting closer to shared config #59803 2018-10-02 20:00:19 -07:00
Matt Bierner
dd3e2d94f8 Remove use strict directives in extension code
We compile with alwaysStrict so these directives are not needed
2018-10-02 16:02:44 -07:00
Matt Bierner
f1c7c19a36 Fixing some strict mode typing issues in emmet 2018-10-01 16:07:55 -07:00
Matt Bierner
02e4aada63 Remove unused 2018-10-01 15:59:20 -07:00
Matt Bierner
dece532913 Prefix unused with _ 2018-10-01 15:57:07 -07:00
Matt Bierner
90041e8bc7 Use await for tests
Testing convert to async quick fix
2018-10-01 15:56:44 -07:00
Matt Bierner
e87867c917 Convert to async 2018-10-01 15:44:58 -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
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
Mathieu Déziel
f8420b48df Fixed emmet validation when open angle bracket is followed by space (#55762)
* Fixed emmet validation when open angle bracket is followed by space

* Fixed space check to support every kind of whitespace

* Added test
2018-08-05 15:36:31 -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
Ramya Achutha Rao
f200964ed5 Fix Select next/item bug when cursor is at tag boundary 2018-06-27 21:48:05 -07:00
Ramya Achutha Rao
c3ad978982 Escape $ when wrapping Fixes #52640 2018-06-22 14:57:03 -07:00
Joao Moreno
8a3ffed0ab vsts: report smoketest results 2018-06-12 17:37:53 +02:00
Joao Moreno
4dc738593b complete integration test results 2018-06-12 17:24:23 +02: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
90581c7f94 Dont trigger emmet for # in selectors Fixes #49269 2018-05-30 17:04:28 -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
Ramya Achutha Rao
979efb6b76 Allow ! as css abbreviation in property value Fixes #49214 2018-05-11 14:24:12 -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
cfb6059563 Refactoring few emmet unit tests 2018-04-19 17:26:47 -07:00
Ramya Achutha Rao
efb3aefd99 temporary disabling failing tests 2018-04-13 18:03:30 -07:00
Ramya Achutha Rao
34adcb749a Dont depende on workspace settings for tests 2018-04-13 16:26:07 -07:00
Ramya Achutha Rao
e6b61067f2 Validate surrounding text before providing emmet completions in jsx/xml Fixes #47612 2018-04-10 16:14: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
Gus Hurovich
e252da3861 Adding tests for stylesheets partial parsing (#46977) 2018-03-29 17:48:32 -07:00
Ramya Achutha Rao
2792b8f437 Skip emmet inside comments in stylesheets when running the command 2018-03-26 20:47:09 -07:00
Ramya Achutha Rao
871e610848 Respect selfClosingStyle when joining tags Fixes #44417 2018-03-26 15:05:04 -07:00
Ramya Achutha Rao
7db6419d78 Avoid re-parsing for emmet completions when triggered for incomplete completions 2018-03-26 13:33:38 -07:00
Ramya Achutha Rao
e7ce1f53ea Do not lookahead when extracting css abbreviations Fixes #46452 2018-03-23 17:38:38 -07:00
Ramya Achutha Rao
fa6a57bf47 Fix emmet tests 2018-03-13 00:07:05 -07:00
Gus Hurovich
16b91c78f4 Emmet: when wrapping, skip lines with no characters selected (#45224)
* When wrapping using Emmet, don't consider lines with no characters selected.

* Adding unit tests

* Adding support for multicursors in wrapIndividualLinesWithAbbreviation

* Moving check in multicursor wrapIndividualLines

* Make sure when expanding several abbreviations with different snippets that the edits are applied in reverse order.
2018-03-09 16:49:07 -08:00
Gus Hurovich
7420a04c64 Fix for Emmet's wrap with abbreviation inserting extra spaces (#43345)
* Fixing trailing spaces in expansion

* Emmet - Fixing extra spaces when wrapping with abbreviation

* Avoid fetching tag if there's no need to ezpand again

* Replacing several 'indexof's with regexp

* Making regexp for tagname stricter. Removing unnecessary check.

* Removing extra call to expand.

* tiny changes

* tinitiny changes
2018-02-14 17:08:44 -08:00
Ramya Achutha Rao
bfbbe132cf Fix css emmet abbreviations with : Fixes #43544 2018-02-12 14:48:56 -08:00
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
7a5045618e Skip emmet in selectors #42245 2018-01-27 22:10:58 -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
65f1bd4b25 Allow hex color completions from emmet 2018-01-12 16:07:53 -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
a1b377e423 Skip emmet when open tag is not closed even when no parent node #35128 2017-12-06 15:05:06 -08:00