Commit Graph

150 Commits

Author SHA1 Message Date
Raymond Zhao
1846f69774 Await insertSnippet calls (#169570)
* await insertSnippet calls

Fixes #146171

* Exclude eslint file from PR
2022-12-19 12:09:07 -08:00
Raymond Zhao
968026a46d Use includes instead of indexOf (#167778) 2022-11-30 22:44:10 +00:00
Raymond Zhao
096f4de76e Use includes instead of indexOf (#167608)
Tests microsoft/vscode-pull-request-github#4257
2022-11-29 11:24:18 -08:00
Raymond Zhao
7f3a7edf0f Localize emmet using l10n.t (#165568)
Ref #164438
2022-11-04 17:42:01 -07:00
Raymond Zhao
50140a53cc Revert "Fix language-specific tab expansion and polish (#157035)" (#160233)
This reverts commit 9f80085795.
2022-09-06 15:21:34 -07:00
Raymond Zhao
9f80085795 Fix language-specific tab expansion and polish (#157035)
* Fix language-specific tab expansion and polish

Fixes #156075

* Add back check
2022-08-03 16:31:19 -07:00
Matt Bierner
b911788593 Mark a few more arrays in vscode.d.ts readonly
This makes it clear that you can't modify these arrays to add items, such as calling `breakpoints.push(...)` to add a breakpoint
2021-11-10 17:53:27 -08:00
Raymond Zhao
68013971ff Add language mapping as param to getEmmetMode
Fixes #127996
2021-10-11 15:38:12 -07:00
Raymond Zhao
9627b4ea63 Emmet identify CDATA for wrap, fixes #123136 2021-05-20 13:20:50 -07:00
Raymond Zhao
29b9648b3e Emmet fix #122231 2021-05-03 13:39:38 -07:00
Raymond Zhao
551daf412e Polish and fix #120245 2021-04-06 10:57:48 -07:00
Jean Pierre
c95389a7b2 Fix emmet completions in scss (#118666)
Part of #112675
2021-03-22 11:42:06 -07:00
Raymond Zhao
8e37e4722e Fixes #74505 (#117807) 2021-03-01 22:06:34 +00:00
Jean Pierre
5d2c9bf299 Consolidate wrapWithAbbreviation and wrapIndividualLinesWithAbbreviation in one command (#116603)
fixes #109191, fixes #116738
2021-02-19 11:33:47 -08:00
Raymond Zhao
b2575665d8 Emmet wrap update, fixes #113930 2021-01-15 11:23:44 -08:00
Raymond Zhao
a1d5ea876c Polish, also fix #113930 2021-01-13 16:09:17 -08:00
Raymond Zhao
dc5a3da3ab Upgrade to latest Emmet (#113848) 2021-01-05 15:14:33 -08:00
Raymond Zhao
15ba9aee0e Emmet improve Expand Abbreviation perf (#113558) 2020-12-29 16:15:55 -08:00
Raymond Zhao
7065675056 Fix #109177 2020-11-10 17:10:46 +00:00
Raymond Zhao
d10e2fc0e6 Use new helper extractAbbreviation function 2020-10-19 11:27:17 -07:00
Raymond Zhao
0c50806e8c Refactor Emmet abbrevationAction files 2020-10-19 11:27:16 -07:00
ChaseKnowlden
e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Aman Gupta
d9b4226acc empty-line-wrap-fix 2020-07-31 11:53:44 +05:30
Martin Aeschlimann
9b1773e013 emmet serverless 2020-07-09 17:23:16 +02:00
Maira Wenzel
71ed221b0e fix typo 2020-01-15 16:35:58 -08:00
Pine Wu
181ba10e5f Fix #71996 2019-11-06 16:03:19 -08:00
Pine Wu
1c623c163d Part of #71996 2019-09-03 10:54:02 -07:00
Pine Wu
99d5ff9c0f Redo emmet change 2019-07-30 11:10:23 -07:00
pi1024e
c757f491e5 Respelling "WhiteSpace" as "Whitespace", in functions, as Whitespace is one word 2019-07-23 13:52:11 -04:00
pi1024e
e89ea5c965 Revert "respelling WhiteSpace as Whitespace, as Whitespace is one word"
This reverts commit d60b16c82e3ab83d6b1f2787a176d5a2e38b829b.
2019-07-23 13:52:11 -04:00
pi1024e
467fe58c6a respelling WhiteSpace as Whitespace, as Whitespace is one word 2019-07-23 13:52:11 -04:00
Waldir Pimenta
f3e4e47164 Fix spelling of the example abbreviation (e.g.) 2019-06-05 16:00:26 +02: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
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
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
f1c7c19a36 Fixing some strict mode typing issues in emmet 2018-10-01 16:07:55 -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
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
Ramya Achutha Rao
c3ad978982 Escape $ when wrapping Fixes #52640 2018-06-22 14:57:03 -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
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