Commit Graph

62 Commits

Author SHA1 Message Date
ABHIJEET PANDEY
5aeafe2b20 Fix Emmet issue where incorrect abbreviation is displayed in an html document (#117759) 2021-03-01 13:26:13 -08:00
Raymond Zhao
b84858babe Emmet remove dependency on vscode-html-languageservice (#113599) 2020-12-30 10:14:23 -08:00
Raymond Zhao
15ba9aee0e Emmet improve Expand Abbreviation perf (#113558) 2020-12-29 16:15:55 -08:00
Raymond Zhao
d10e2fc0e6 Use new helper extractAbbreviation function 2020-10-19 11:27:17 -07:00
ChaseKnowlden
e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Martin Aeschlimann
9b1773e013 emmet serverless 2020-07-09 17:23:16 +02:00
Pine Wu
23d234d919 Fix #86941 2019-12-13 15:00:38 -08:00
Pine Wu
8cafaf5900 Fix #79766 2019-08-28 12:58:08 -07:00
Pine Wu
99d5ff9c0f Redo emmet change 2019-07-30 11:10:23 -07:00
Pine Wu
09bfb693f6 Revert "Fix #70731"
This reverts commit c25e395ace.
2019-07-29 23:21:06 -07:00
Rob Lourens
5caff73e1f Fix build 2019-07-29 21:45:45 -07:00
Pine Wu
c25e395ace Fix #70731 2019-07-29 15:56:53 -07:00
Ramya Achutha Rao
6ad61f018a Getting closer to shared config #59803 2018-10-02 20:00:19 -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
e6b61067f2 Validate surrounding text before providing emmet completions in jsx/xml Fixes #47612 2018-04-10 16:14:56 -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
Gus Hurovich
95b0cffe72 Fix for #46745 (#46788)
* Fix for #46745

* If { found in selector, don't partial parse.
Adding sanity checks
2018-03-27 18:32:46 -07:00
Ramya Achutha Rao
c07abc03f7 Avoid parsing file when abbr is invalid #43470 2018-03-27 12:12:22 -07:00
Ramya Achutha Rao
65e502e8ef Remove unused variables 2018-03-26 21:19:35 -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
4f10555e3c Skip emmet inside comments in stylesheets #46434 2018-03-26 18:30:37 -07:00
Gus Hurovich
91416ffab8 Stylesheet partial parse (#46376)
* First draft at partial parsing of css for emmet

* Partial parsing of stylesheets for Emmet

* Addressing feedback

* Refactoring and fixing little bug

* Liitle fix

* Equals are now equals

* We don't want emmet in selectors

* Skip comments when preparsing

* Addressing feedback, refactoring and cleaning up code.

* Update endPosition only if not eof

* Use function to find closing comment

* Don't check more than 5000 characters back
2018-03-26 18:14:28 -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
Ramya Achutha Rao
6d5739d3ec Remove obsolete code as html emmet completions are now coming from html extension 2018-03-12 23:47:09 -07:00
Ramya Achutha Rao
9d578694d0 Validate position for emmet using best guess fixes #45634 2018-03-12 23:39:38 -07:00
Ramya Achutha Rao
b7cf44841a Remove obsolete code as html emmet completions are now coming from html extension 2018-03-12 23:39:25 -07:00
Ramya Achutha Rao
4199874acb Skip parsing docs when emmet suggestions are disabled 2017-12-12 14:24:03 -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
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
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
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
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
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
db05d0ff1a Add option to show emmet suggestions as snippets #32346 2017-08-30 16:26:43 -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
621011796a Avoid emmet suggestions for abbr that match document symbols #32647 2017-08-28 15:04:03 -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
fa413ff008 Move the checks on abbreviations to helper module 2017-08-12 20:25:17 -07:00
Ramya Achutha Rao
5cd4766fa9 Disable emmet for excluded languages, add tests #31453 2017-07-26 11:57:33 -07:00
Ramya Achutha Rao
bf634bf4e7 Renaming utilties for clarity 2017-07-24 14:45:02 -07:00