Commit graph

529 commits

Author SHA1 Message Date
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
Gus Hurovich e252da3861 Adding tests for stylesheets partial parsing (#46977) 2018-03-29 17:48:32 -07:00
Ramya Rao 2de91fdce5
Css partial parse refactoring (#46894)
* Refactor parsePartialStylesheet

* More refactoring

* To avoid errors, parse line comments char by char and no when getting to previous line.

* Revert "To avoid errors, parse line comments char by char and no when getting to previous line."

This reverts commit f353dba4c7.

* Fix for inline comments inside block comments
2018-03-28 18:12:07 -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 7cf6969bd0 Absorb upstream fix for #45790 2018-03-27 17:17:21 -07:00
Ramya Achutha Rao c2dc46c1ce Offset is relative to position when finding comment 2018-03-27 12:28:20 -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 f5b569b633 Use partial parsing for stylesheets for Emmet command #43470 2018-03-27 09:51:19 -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 871e610848 Respect selfClosingStyle when joining tags Fixes #44417 2018-03-26 15:05:04 -07:00
Ramya Achutha Rao 9d95fbae98 Use latest emmet helper to fix #46305 2018-03-26 14:19:22 -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
Jean Pierre af21dc7925 Fix for #46106 (#46309) 2018-03-22 14:19:53 -07:00
Ramya Achutha Rao a406976823 Upstream bug fix for Fixes #44256 2018-03-14 19:13:41 -07:00
Gus Hurovich a716373aaa Adding Live Preview for Wrapping Individual Lines with Abbreviation (#45453)
* Adding Live Preview to wrapIndividualLinesWithAbbreviation

* Refactoring

* Re-arranging code
2018-03-13 21:34:52 -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
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 0caed6b927 Emmet in Interactive Playground (#45434)
Emmet commands will no longer appear in non-editor contexts.
2018-03-09 12:53:12 -08:00
Gus Hurovich 3817c899ca Adding Emmet preference for changing fuzzySearchMinScore (#45240)
* Adding Emmet preference for changing fuzzySearchMinScore

* Changing name and description of the new setting.

* Updating version of vscode-emmet-helper
2018-03-08 18:02:33 -08:00
Gus Hurovich 2e746d8118 Emmet - Wrap with abbreviation with live preview (#45092)
* Revert "Fix for Emmet's wrap with abbreviation inserting extra spaces (#43345)"

This reverts commit 7420a04c64.

* Adding ability for emmet to wrap with abbreviation in real time.

Currently it's only working for single cursor.

* Fixes to wrap in real time:

- Removed flickering when typing abbreviation
- Removed tabstops
- Fixed bug when wrapping multiline text

* Fixes to a few issues.

- Added checks for not reverting previews more times than needed, that was causing extra text to be deleted.
- Fixed issue when wrapping nodes with multiple level of indentation.
- Removed all the undo commands. Now all the logic of going back to the original state is handled by revertPreview.

* Ammend for previous revert

* Reapplying reverted commit, fixing the bug for this branch's version

Refactoring some of the code, now a single object contains the current and original ranges, as well as the original content to wrap

* Adding multicursor support

* Renaming, refactoring and other stuff

* More refactorings

* More renaming and refactoring

* Replacing placeholders when previewing, simplifying the extracting of preceeding whitespace, added a check for validity of expandedtext on each selection.

* More refactoring

* Adding a comment.

* Readding test removed by mistake.

* Refactoring

* Carefully reverting changes in yarn.lock

* carefully but right
2018-03-06 17:11:07 -08:00
Ramya Achutha Rao 6e1574671a Use copy of config object to avoid making changes to the readonly objects 2018-03-05 10:22:01 -08:00
Ramya Achutha Rao 4392d2efff Trigger emmet in js files on ! Fixes #43841 2018-03-02 16:22:07 -08:00
Ramya Rao d7dca142ad
Allow css emmet completions when abbr contains period Fixes #44352 (#44781)
* Allow css emmet completions when abbr contains period Fixes #44352

* Move css related workaround to cssMode #44352

* getEmbeddedParsedDocument is now not needed

* Show emmet completions everywhere inside the embedded css doc
2018-03-01 16:44:28 -08:00
Ramya Achutha Rao ba38492bfd Add emmet icon as png #44626 2018-03-01 15:25:43 -08:00
Ramya Achutha Rao c16869d804 Revert move of emmet to css extension Fixes #44840 2018-03-01 12:59:47 -08:00
Benjamin Pasero 9a04587cc6 Revert "Update icon for Emmet"
This reverts commit 31f3a21523.
2018-03-01 07:30:52 +01:00
Ramya Achutha Rao 31f3a21523 Update icon for Emmet 2018-02-28 11:17:56 -08:00
Ramya Achutha Rao 9c1a05e26a Update ReadMe for Emmet 2018-02-27 17:40:37 -08:00
Ramya Achutha Rao dcbeb21cb3 Update displayName, description for Emmet #43978 2018-02-27 16:42:46 -08:00
Ramya Achutha Rao f10b71e994 Avoid setting completion items as undefined 2018-02-26 17:52:27 -08:00
Ramya Achutha Rao 57572a12e9 Use latest emmet helper 2018-02-26 14:59:25 -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 Rao 00f2d8ed71
Get emmet completions from css extension (#41652)
* Get emmet completions from html,css extensions

* Resolve extensionsPath, use emmet results even if empty

* Support css abbr with :

* Refactoring

* Add some basic emmet tests

* Refactoring

* More tests
2018-02-12 21:40:10 -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 b8a11e9349 Upstream emmet fixes 2018-02-06 17:55:40 -08:00
Dániel Tar 64b30f38c8 Stylistic and grammar fixes in Emmet messages (#42893)
* Stylistic and grammar fixes in Emmet messages

Also emphasize vendor prefixes with an apostrophe to make them stand out.

* Add missing space
2018-02-05 09:14:09 -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 0155dca759 Move default vendor prefix whitelist to emmet helper 2018-01-30 14:18:38 -08:00
gushuro 3625e8f879 Adding default values for CSS vendor prefixes in emmet (#42385) 2018-01-29 21:12:11 -08:00
Ramya Achutha Rao 4f5a256a4b Allow vendor prefix in emmet #35951 2018-01-29 17:29:31 -08:00
Dirk Baeumer e91b851ca8 Upgrade to latest language pack format 2018-01-30 00:11:57 +01:00
Dirk Baeumer 62fc2a1230 Fix yarn.lock for emmet. 2018-01-28 21:47:46 +01:00
Ramya Achutha Rao 7a5045618e Skip emmet in selectors #42245 2018-01-27 22:10:58 -08:00
Ramya Achutha Rao 41e7dbc0df Absorb upstream bug fixes for emmet 2018-01-26 15:30:56 -08:00
Dirk Baeumer 04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01: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 8f99f1d18e Allow - in classnames when using bem in emmet. Fixes #38768 2017-12-19 15:13:11 -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 66a439e253 Absorb upstream fix for #39789 2017-12-17 23:37:16 -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 b1d931fef1 Update lang server in emmet to the same version as others Fixes #40104 2017-12-12 11:08:27 -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 cac292bc5c Add the newly supported emmet preferences in package.json 2017-12-05 10:57:24 -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 3c470706de Absorb latest changes from emmet helper 2017-11-26 17:32:28 -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
Joao Moreno b635672331 remove shrinkwrap references 2017-11-14 10:04:36 +01:00
Joao Moreno 0a8b6fb706 yarn: replace most shrinkwrap files 2017-11-13 23:03:52 +01:00
Nehal J Wani ecb2beb5bf Make v8-profiler, css-parser URI http-proxy friendly (#38181) 2017-11-13 09:44:37 -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 583e14c2ec Add noUnusedLocals to emmet extension #37212 2017-11-07 11:16:38 -08:00
Ramya Achutha Rao 63675c2286 Fix for #36367 2017-11-02 10:58:08 -07:00
Ramya Achutha Rao cc7dfaf65a Add finalstop for emmet snippets Fix for #33491 2017-11-01 17:57:04 -07: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 b735e1ff45 Update emmet helper version to absorb bug fixes 2017-10-29 20:19:31 -07:00
Ramya Achutha Rao 8bc02c7443 Activate emmet on * instead of type command #36575 2017-10-25 21:40:58 -07:00
Ramya Achutha Rao 2fc0bf43df Activate emmet on expand abbr cmd Fixes #36267 2017-10-19 10:42:28 -07:00
Dániel Tar de68b077b5 Improve consistency of Emmet messages (#36251)
- Start Emmet with capital E
- Write BEM with all caps like in the official documentation
2017-10-15 10:56:52 -07:00
Ramya Achutha Rao 36b598c047 Fix typos for descriptions of emmet prefrerences #35676 2017-10-14 17:37: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 fd77f04352 Include recent emmet preferences in settings suggestions Fixes #35676 2017-10-11 10:26:34 -07:00
Ramya Achutha Rao f53b3556a8 Get latest emmet helper 2017-10-05 10:20:04 -07:00
Ramya Achutha Rao aafdfaec2a Use strict version-identifier for @types/node in emmet #35561 2017-10-04 10:37:10 -07:00
Ramya Achutha Rao caa5656df9 Absorb fix for bem modifier customization in emmet 2017-09-28 21:45:20 -07:00
Ramya Achutha Rao 70fed03068 Revert damage from npm 5 2017-09-27 23:27:04 -07:00
Ramya Achutha Rao 9f042bf99c Activate Emmet on type instead of * #35120 2017-09-27 22:31:17 -07:00
Ramya Achutha Rao 67174e8b95 Fixes #35267 2017-09-27 15:35:42 -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 43c99472b9 Use bem preferences #33631 2017-09-25 17:20:25 -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 5ae1dc4496 Pull fixes for #33994 and #34906 2017-09-25 11:54:23 -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
isidor efdc328058 ${workspaceRoot} -> ${workspaceFolder} 2017-09-19 11:21:49 +02: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 68040fa300 Use 1.1.8 version of vscode emmet helper Fixes #34216 Fixes #33898 2017-09-13 17:18:34 -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 a23fe87f6b Update shrinkwrap for emmet 2017-09-02 22:35:35 -07:00
Ramya Achutha Rao b73495b071 Avoid error for invalid css emmet abbr 2017-08-31 19:17:22 -07:00
Ramya Achutha Rao 3c2f2e7ccc Latest emmet helper for fixing #33579 and #33601 2017-08-31 13:48:39 -07:00
Ramya Achutha Rao c8ac27164e Fix error thrown from missing null check Fixes #33554 2017-08-30 18:02:30 -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 b4235a8237 Use name of custom emmet snippets as suggestion label Fixes #33072 2017-08-30 14:20:25 -07:00
Ramya Achutha Rao 0078400b07 Allow css custom snippets to have any name Fixes #22072 2017-08-29 20:48:11 -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
Ramya Achutha Rao 4d7a7a15ca Support partial emmet preferences #32496 2017-08-29 17:27:04 -07:00
Ramya Achutha Rao 8ff21bf1ac Absorb bug fixes from upstream 2017-08-28 15:27:10 -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 5b87035854 Convert old style markup emmet snippets to new format 2017-08-27 20:55:53 -07:00
Ramya Achutha Rao 41f0c5a526 Show err msg when extensionsPath is not found or snippets.json has invalid json Fixes #33073 2017-08-26 13:22:24 -07:00
Ramya Achutha Rao 905a3081e9 Allow mapping of default modes to other modes in Emmet completion provider Fixes #32260 2017-08-24 15:24:19 -07:00
Ramya Achutha Rao 06753de2dd Update imgSize tests to not use local file to fix build break 2017-08-23 23:07:32 -07:00
Johannes Rieken 0417a75e4f know decorations using command links v2, #29076 2017-08-23 12:23:39 +02:00
Benjamin Pasero 9c5d505c99 disable failing test 2017-08-21 09:57:28 +02:00
Ramya Achutha Rao 1aff34003a Inlcude checks at-rule for emmet css suggestions Fixes #32703 2017-08-20 18:05:31 -07:00
Ramya Achutha Rao 7e539de2f4 Trigger emmet for ! in xsl as it is a snippet prefix 2017-08-20 12:33:13 -07:00
Ramya Achutha Rao 0c079cb7df Support for canvas,td,tr,th in emmet suggestions 2017-08-20 12:22:26 -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 40bd5d9859 Continue emmet expand even if parsing doc fails 2017-08-19 18:10:21 -07:00
Ramya Achutha Rao a1a198e730 Fix parsing error in less files with loop #32354 2017-08-16 22:13:20 -07:00
Ramya Achutha Rao 9ec087df26 Upstream fix for #32263 2017-08-14 14:18:53 -07:00
Ramya Achutha Rao 6822a81494 Escape $ when not a tabstop or #32420 2017-08-14 13:42:08 -07:00
Ramya Achutha Rao 1531c8d2f4 lookahead not needed when running emmet expand #32478 2017-08-14 09:58:07 -07:00
Ramya Achutha Rao 9c86eb33f9 Fixes to getCurrentWord in emmet helper Fixes #32254 2017-08-13 12:41:55 -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 77d373e39b Remove fallback to html as this will enable emmet everywhere 2017-08-11 23:45:25 -07:00
Ramya Achutha Rao e190b10074 When file cannot be parsed, dont try validations #32354 2017-08-11 15:02:05 -07:00
Ramya Achutha Rao 78809b70fb Fallback to tab for non empty selections 2017-08-11 11:25:54 -07:00
Ramya Achutha Rao e3238c4583 Avoid error when tabbing on selection that is not abbreviation 2017-08-11 11:10:30 -07:00
Ramya Achutha Rao bb9bbeb3dc More checks on css abbr 2017-08-11 09:49:49 -07:00
Ramya Achutha Rao eded868aa2 Fix for #1623 in new emmet when tab is back 2017-08-11 08:41:05 -07:00
Ramya Rao 02bbc149cf Option to trigger emmet expansion on tab (#32334) 2017-08-11 08:21:37 -07:00
Ramya Achutha Rao 90b6859f37 Remove validation based on location for sass file #32281 2017-08-10 22:18:38 -07:00
Ramya Achutha Rao a4b47f9451 Return promise from emmet expand method 2017-08-10 18:27:38 -07:00
Ramya Achutha Rao ec58dc2212 Absorb fix where bem should be applied before jsx addon Fixes #32183 2017-08-09 11:32:15 -07:00
Ramya Achutha Rao 14f6f4c0b3 README for Emmet 2017-08-08 16:45:52 -07:00
Ramya Achutha Rao dd7adcc161 Default for showExpandedAbbr setting to always #29968 2017-08-05 20:13:37 -07:00
Ramya Achutha Rao 5278a69ae1 Use latest emmet css parser Fixes #31990 2017-08-03 13:55:52 -07:00
Ramya Achutha Rao ded9f62a27 Fallback to html only if emmet supported 2017-08-02 18:31:15 -07:00
Ramya Achutha Rao 310339fb1e Fallback to html when syntax is not supported by emmet 2017-08-02 15:31:45 -07:00
Ramya Achutha Rao 7727460c6d Use emmet helper from Microsoft repo 2017-08-02 13:33:41 -07:00
Ramya Achutha Rao a65e0d390c Support trim filter when wrapping abbreviations Fixes #31893 2017-08-02 12:28:48 -07:00
Ramya Achutha Rao 6add313e08 Fix emmet custom snippets for html Fixes #29146 2017-08-02 11:15:11 -07:00
Ramya Achutha Rao 23118ef434 Tests for the new wrap abbreviation command 2017-08-01 22:08:40 -07:00
Ramya Achutha Rao 211ffdf184 Emmet wrap individual lines with abbr #31814 2017-08-01 21:50:04 -07:00
Ramya Achutha Rao e73bb91dc1 Since wrap with abbr is not supported in css, it can fallback to html 2017-08-01 18:24:30 -07:00
Ramya Achutha Rao f41fc0134c test for nested groups in emmet 2017-08-01 17:13:30 -07:00
Ramya Achutha Rao f748ce1f32 Absorbing fixes from upstream 2017-08-01 16:55:13 -07:00
Ramya Achutha Rao e6c89af29a Use umd module for expand abbreviation 2017-08-01 16:55:13 -07:00
Ramya Achutha Rao f39385b832 Treat style tag contents as css when commenting fixes #31685 2017-07-31 17:27:43 -07:00
Ramya Rao 593ecbef58 Deprecating old emmet (#31783)
* Deprecate old emmet

* Update translations
2017-07-31 15:59:59 -07:00
Ramya Achutha Rao 426e428218 No need to use our own fork as upstream fixes are now in 2017-07-31 15:52:49 -07:00
Ramya Achutha Rao b535426bba Use fork of emmet modules to get latest fixes 2017-07-31 14:15:55 -07:00
Ramya Achutha Rao 400a1c91b4 Use TextEdit in Emmet extension 2017-07-31 10:43:51 -07:00
Ramya Achutha Rao da83dff300 Emmet: Show error when failed to eval math expression Fixes #31281 2017-07-30 18:51:05 -07:00
Ramya Achutha Rao c5c70fc876 Move emmet config to extension 2017-07-30 16:29:31 -07:00
Ramya Achutha Rao 478a82e133 Emmet Toggle Comment CSS Improvements 2017-07-30 14:54:32 -07:00
Ramya Achutha Rao e4a82c30fc Emmet Merge Lines improvements 2017-07-29 20:20:13 -07:00
Ramya Achutha Rao 1a48c8510b Get latest for emmet output-renderer module Fixes #27784 2017-07-29 20:02:21 -07:00
Ramya Achutha Rao cf17ddaf59 Tests for Emmet Merge Lines 2017-07-29 19:39:47 -07:00
Ramya Achutha Rao ca281a409c Remove whitespace between lines when merging Fixes #31684 2017-07-28 17:03:46 -07:00
Ramya Achutha Rao 6328bae2bf Add vscode-nls to shrinkwrap 2017-07-26 23:49:09 -07:00
Ramya Achutha Rao cfe354d268 Toggle comment shld ignore whitespace when fetching nodes 2017-07-26 19:45:28 -07:00
Ramya Achutha Rao d83273825d Tests for Emmet Toggle Comment 2017-07-26 18:42:00 -07:00
Ramya Achutha Rao 4cbe0d35ea Move non abbr emmet cmds from core to extension #29969 2017-07-26 16:31:47 -07:00
Ramya Achutha Rao 3ac721148d Support bem filter in emmet fixes #30395 2017-07-26 14:52:15 -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 70d8aaa0a6 Use built-in snippet formatting instead of custom for emmet 2017-07-25 23:36:55 -07:00
Ramya Achutha Rao b67fee36de Fixing build break 2017-07-25 21:02:01 -07:00
Ramya Achutha Rao d48f9ea782 Tests for Wrap with Abbreviation 2017-07-25 20:15:45 -07:00
Ramya Achutha Rao 34ac5c28d6 Renaming for clarity 2017-07-25 20:15:45 -07:00
Ramya Achutha Rao 01c6d17ca7 Tests for Expand Abbreviation 2017-07-25 20:15:45 -07:00
Ramya Achutha Rao 6030187b6c Tests for Emmet Balance In/Out 2017-07-25 17:16:10 -07:00
Ramya Achutha Rao 0a4fa1e7a6 Emmet Tests for Next/Prev Item for scss with nested rules 2017-07-25 16:06:30 -07:00
Ramya Achutha Rao 8c82205724 Emmet Tests for Next/Prev Item for css 2017-07-25 15:59:52 -07:00
Ramya Achutha Rao 745e05d079 Emmet Tests for Next/Prev Item/Editpoint for html 2017-07-25 15:59:52 -07:00
Ramya Achutha Rao 4ea86cf148 Updating name of the command in tests 2017-07-25 15:59:52 -07:00
Ramya Achutha Rao 4a4226e453 Refining position validations for emmet completions in scss #30188 2017-07-25 13:01:05 -07:00
Ramya Achutha Rao bde92c49a3 Map reflect css value command to the one in emmet extension 2017-07-25 10:53:54 -07:00
Ramya Achutha Rao c73d4d3476 Escape $ when its not a placeholder 2017-07-24 23:46:02 -07:00
Ramya Achutha Rao 5159c7d05d Escape $ only when wrapping with abbreviation 2017-07-24 19:31:42 -07:00
Ramya Achutha Rao 24ca702d23 Escape $ so that it doesnt get treated as variable Fixes #31032 2017-07-24 19:02:05 -07:00
Ramya Achutha Rao 764dd415ad Support multi cursor in Emmet Update Image Size 2017-07-24 18:35:28 -07:00
Ramya Achutha Rao 6f36994285 Absorb upstream emmet snippet changes Fixes #30496 2017-07-24 16:10:09 -07:00
Ramya Achutha Rao 7a0f65bea1 Tests for Remove, Split, Join and Match tags 2017-07-24 15:59:11 -07:00
Ramya Achutha Rao bf634bf4e7 Renaming utilties for clarity 2017-07-24 14:45:02 -07:00
Ramya Achutha Rao 76392ae91f Emmet Reflect CSS Value in html files 2017-07-24 14:42:24 -07:00
Ramya Achutha Rao 5db74cd3de Tests for Emmet Reflect CSS Value in css files 2017-07-24 14:20:52 -07:00
Ramya Achutha Rao 283a790c88 Emmet: Reflect CSS Value in extension #31298 2017-07-24 12:01:43 -07:00
Ramya Achutha Rao 8328939058 Emmet update dependencies 2017-07-24 11:29:11 -07:00
Ramya Achutha Rao 9b6cc9f774 Emmet: Locate number even when there is a selection Fixes #31281 2017-07-23 16:37:40 -07:00
Ramya Achutha Rao afcfc03ff3 Treat inline as block only for multi line text #29898 2017-07-23 12:26:52 -07:00
Ramya Achutha Rao 559bc4560e Updating shrinkwrap for emmet 2017-07-23 11:48:00 -07:00
Ramya Achutha Rao 5178d1ae85 Refactoring UpdateImageSize.ts for simplicity 2017-07-23 11:45:33 -07:00
Ramya Achutha Rao 56eebb2b9b Emmet Update ImageSize inside style tag 2017-07-23 11:19:00 -07:00
Ramya Achutha Rao 0bee43b5be Emmet Update Image Size command 2017-07-23 11:19:00 -07:00
Ramya Achutha Rao dac7e15aba Treat inline elements as block when wrapping with abbr Fixes #29898 2017-07-22 18:21:02 -07:00
Ramya Achutha Rao 2932125ae3 Indent adjustment not required for single line #29898 2017-07-22 17:33:14 -07:00
Jens Hausdorf 4e6c429030 support hot registration emmet (#29986)
* register new included languages in emmet on the fly

* no need to export the function

* only register default completion on startup

* fix tests
2017-07-22 15:40:24 -07:00
Ramya Achutha Rao ad92e3f1c4 Provide commonly used tags as suggestions 2017-07-21 16:44:50 -07:00
Matt Bierner 5c4f3b9761 Disable failing emmet test 2017-07-21 15:47:24 -07:00
Ramya Achutha Rao 5ed98351ed Test for Emmet Update Tag #8454 2017-07-21 15:05:37 -07:00
Ramya Achutha Rao e1f7580199 First set of tests for Emmet commands #8454 2017-07-21 11:38:46 -07:00
Ramya Achutha Rao a34f7db970 Absorb abbr validations change from helper Fixes #31003 2017-07-20 11:38:44 -07:00
Ramya Achutha Rao b9e491d2bf Emmet: Fix issue when last letter in the line is not picked up 2017-07-19 17:57:30 -07:00
Ramya Achutha Rao 277d295b62 Use when wrapping different text with abbr Fixes #30067 2017-07-19 15:06:26 -07:00
Ramya Achutha Rao 5fb80bb933 Combine custom snippets from base syntax #29146 2017-07-19 13:16:37 -07:00
Ramya Achutha Rao 94f73b3f00 Fix emmet issue when cursor is in between the abbreviation 2017-07-18 21:56:59 -07:00
Ramya Achutha Rao b896d25097 Emmet: Support custom snippets Fixes #29146 2017-07-18 17:10:33 -07:00
Ramya Achutha Rao 05e653d61e Fixes #29473 Over eager matching of emmet in css 2017-07-18 14:45:35 -07:00
Ramya Achutha Rao ed1101ce15 Fix expand abbr command 2017-07-18 14:22:28 -07:00
Ramya Achutha Rao c189b621fd Fixes #29943 Skip default emmet expansion when text is not abbreviation 2017-07-18 12:26:38 -07:00
Ramya Achutha Rao d58f798cc6 Emmet expand should autocomplete tags like <div Fixes #29774 2017-07-18 11:06:31 -07:00
Ramya Achutha Rao 44072eb058 Fixes #30265 skip emmet expand when text is not snippet or abbreviation 2017-07-18 10:37:27 -07:00
Ramya Achutha Rao e1325259e3 Add null check before updating extensionsPath for emmet 2017-07-17 20:42:32 -07:00
Ramya Achutha Rao f2a9356417 Absorb changes to the vscode-emmet-helper 0.0.19 2017-07-17 19:25:12 -07:00
Ramya Achutha Rao 3924e454fa Fallback to document lang when no args are passed to emmet cmd #30600 2017-07-16 23:30:22 -07:00
Ramya Achutha Rao b36b00f99f Updated comments on the new emmet settings 2017-06-30 11:41:13 -07:00
Ramya Achutha Rao c3643f00e8 Updating version to absorb the change in url 2017-06-30 11:18:01 -07:00
Ramya Achutha Rao 158270d998 Updated setting value to be more intutive 2017-06-30 09:07:22 -07:00
Ramya Achutha Rao d66d6738be Removing dead code 2017-06-29 18:43:51 -07:00