mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
* 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
Emmet integration in Visual Studio Code
Features
See Emmet in Visual Studio Code
How to build and run from source?
Read the basics about extension authoring from Extending Visual Studio Code
- Read Build and Run VS Code from Source to get a local dev set up running for VS Code
- Open the
extensions/emmetfolder in the vscode repo in VS Code - Press F5 to start debugging
Running tests
Tests for Emmet extension are run as integration tests as part of VS Code.
- Read Build and Run VS Code from Source to get a local dev set up running for VS Code
- Run
./scripts/test-integration.shto run all the integrations tests that include the Emmet tests.