Commit Graph

281 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
Matthew Kwiecien
7221f92ee2 Get syntax from arguments and document editor language when wrapping. 2019-02-09 12:59:16 -06:00
Ubuntu
35eae99ec3 Fix more lgtm.com issues 2019-01-17 18:06:23 +00:00
Matt Bierner
873fc8fc38 Enable tslint number-literal-format 2019-01-04 15:45:28 -08:00
Matt Bierner
a131278f4a Enabling no-redundant-jsdoc for tslint 2019-01-04 15:34:50 -08:00
Matt Bierner
b4964bcf35 Replace some common index based for loops with for-of loops
Replaces many loops of the form:

```js
for (let i = 0; i < elements.length; ++i) {
    const i = elements[i];
   ...
}
```

with:

```js
for (const element of elements) {
    ...
}
```

Mix of a horrible regex based find/replace and manual touch ups
2019-01-03 19:11:18 -08:00
Matt Bierner
5cc00861fc Enable no-var-keyword tslint rule 2019-01-03 18:02:48 -08:00
vim88
510d90d11e Fixes typo and occurrences of double words in comments. 2018-11-26 19:57:48 +02:00
Ramya Achutha Rao
dcc243c992 Better readability for util.ts 2018-11-18 19:42:02 -08: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
26365c8957 Add typings for emmet #59803 2018-10-03 12:55:55 -07:00
Ramya Achutha Rao
6ad61f018a Getting closer to shared config #59803 2018-10-02 20:00:19 -07:00
Matt Bierner
ff957050db Remove use strict in extensions (part 2)
We compile using alwaysStrict so this directive is not needed
2018-10-02 16:23:27 -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
c0973b5fa1 Wrap with abbreviation should work in non html files Fixes #57754 2018-09-12 14:20:31 -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
James
b7e6e04666 fix #51768 (#51849) 2018-06-21 17:36:25 -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
0e97f85c39 Make Emmet: "update image size" consistant with "follow link" (#51630) 2018-06-11 11:46:06 -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
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
Jean Pierre
7f274127ff Fix for #49138 (#49501)
* Fixes #49138

* Updated comment

* Renaming variables for readability
2018-05-13 20:31:50 -07:00
Ramya Achutha Rao
aaf7b29625 Dont treat => as possible tag Fixes #48887 2018-05-11 14:44:20 -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
57d9f26123 Disable live preview of wrap feature when multiple selections in same line #49138 2018-05-06 16:54:41 -07:00
Ramya Achutha Rao
0b634c4a87 Use specific document filters for file and untitled 2018-04-26 11:29:43 -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
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
1b4886dda9 Adding setting for disabling partial parsing in stylesheets (#46979)
* Adding setting for disabling partial parsing in stylesheets

* Added description
2018-03-30 11:24:54 -07:00