-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(emmet): port VSCode emmet extension client logic #95
Merged
+1,273
−83
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
johnsoncodehk
commented
May 14, 2024
renovate bot
referenced
this pull request
in slipmatio/toolbelt
May 20, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.12.11` -> `20.12.12`](https://renovatebot.com/diffs/npm/@types%2fnode/20.12.11/20.12.12) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`14.10.1` -> `14.11.0`](https://renovatebot.com/diffs/npm/happy-dom/14.10.1/14.11.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://togithub.com/vuejs/language-tools) ([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.17` -> `2.0.19`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.17/2.0.19) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v14.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.3...v14.11.0) ##### 🎨 Features - Adds support for `HTMLTimeElement` - By **[@​r-thomson](https://togithub.com/r-thomson)** in task [#​1431](https://togithub.com/capricorn86/happy-dom/issues/1431) ### [`v14.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.2...v14.10.3) ##### 👷♂️ Patch fixes - Adds check for if Window and MutationObserver has been destroyed when triggering listeners - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1436](https://togithub.com/capricorn86/happy-dom/issues/1436) ### [`v14.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.1...v14.10.2) ##### 👷♂️ Patch fixes - `HTMLAnchorElement`, `HTMLButtonElement`, `HTMLInputElement` and `HTMLLabelElement` checked that click events triggering native behavior was of type `PointerEvent`, but should check that they are of type `MouseEvent` - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1397](https://togithub.com/capricorn86/happy-dom/issues/1397) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.19`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2019-2024-05-16) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.18...v2.0.19) ##### Bug Fixes - **language-core:** property 'xyz' does not exist on type 'abc' when using v-for ([#​4386](https://togithub.com/vuejs/language-tools/issues/4386)) - **language-core:** avoid report error when events do not accept parameters ([#​4387](https://togithub.com/vuejs/language-tools/issues/4387)) - **language-core:** inline dynamic event handlers should not expect commas ([#​4387](https://togithub.com/vuejs/language-tools/issues/4387)) ### [`v2.0.18`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2018-2024-05-15) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.17...v2.0.18) ##### Features - feat(language-core): report unknown events when strictTemplates is enabled ([#​3718](https://togithub.com/vuejs/language-tools/issues/3718)) - feat(language-core): add `compileSFCScript` plugin hook ([#​3200](https://togithub.com/vuejs/language-tools/issues/3200)) - feat(vscode): add coffeescript syntax highlight support ##### Bug Fixes - fix(language-core): fix event handler type for hyphen-case event names - fix(language-core): allow binding multiple events with the same name ([#​4369](https://togithub.com/vuejs/language-tools/issues/4369)) - fix(language-core): variable used in `key` appears as unused in v-for template tag ([#​329](https://togithub.com/vuejs/language-tools/issues/329)) ([#​3421](https://togithub.com/vuejs/language-tools/issues/3421)) - fix(language-core): generics with slots don't work with Vue 2.7 ([#​3241](https://togithub.com/vuejs/language-tools/issues/3241)) - fix(language-core): template language of .md files should be markdown ([#​4299](https://togithub.com/vuejs/language-tools/issues/4299)) - fix(language-core): no template class links when `experimentalResolveStyleCssClasses` is set to `always` ([#​4379](https://togithub.com/vuejs/language-tools/issues/4379)) ##### Other Changes - Upgrade Volar from `v2.2.2` to `v2.2.4`. - Fixed a few URI conversion issues - fix(typescript): empty items list should be valid completion result ([#​4368](https://togithub.com/vuejs/language-tools/issues/4368)) - fix(typescript): path completion not working for meta files - Upgrade Volar services from `v0.0.44` to `v0.0.45`. - fix(typescript-twoslash-queries): inlay hints not working - fix(css, html, json, yaml): failed to resolve relative path - feat(emmet): port VSCode emmet extension client logic ([https://github.com/volarjs/services/issues/95](https://togithub.com/volarjs/services/issues/95)) - The following extensions have been added to Hybrid Mode’s compatibility whitelist: - `miaonster.vscode-tsx-arrow-definition` - `runem.lit-plugin` </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/toolbelt). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in slipmatio/ui
May 20, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.12.11` -> `20.12.12`](https://renovatebot.com/diffs/npm/@types%2fnode/20.12.11/20.12.12) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`14.10.1` -> `14.11.0`](https://renovatebot.com/diffs/npm/happy-dom/14.10.1/14.11.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://togithub.com/vuejs/language-tools) ([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.17` -> `2.0.19`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.17/2.0.19) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v14.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.3...v14.11.0) ##### 🎨 Features - Adds support for `HTMLTimeElement` - By **[@​r-thomson](https://togithub.com/r-thomson)** in task [#​1431](https://togithub.com/capricorn86/happy-dom/issues/1431) ### [`v14.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.2...v14.10.3) ##### 👷♂️ Patch fixes - Adds check for if Window and MutationObserver has been destroyed when triggering listeners - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1436](https://togithub.com/capricorn86/happy-dom/issues/1436) ### [`v14.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.1...v14.10.2) ##### 👷♂️ Patch fixes - `HTMLAnchorElement`, `HTMLButtonElement`, `HTMLInputElement` and `HTMLLabelElement` checked that click events triggering native behavior was of type `PointerEvent`, but should check that they are of type `MouseEvent` - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1397](https://togithub.com/capricorn86/happy-dom/issues/1397) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.19`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2019-2024-05-16) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.18...v2.0.19) ##### Bug Fixes - **language-core:** property 'xyz' does not exist on type 'abc' when using v-for ([#​4386](https://togithub.com/vuejs/language-tools/issues/4386)) - **language-core:** avoid report error when events do not accept parameters ([#​4387](https://togithub.com/vuejs/language-tools/issues/4387)) - **language-core:** inline dynamic event handlers should not expect commas ([#​4387](https://togithub.com/vuejs/language-tools/issues/4387)) ### [`v2.0.18`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2018-2024-05-15) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.17...v2.0.18) ##### Features - feat(language-core): report unknown events when strictTemplates is enabled ([#​3718](https://togithub.com/vuejs/language-tools/issues/3718)) - feat(language-core): add `compileSFCScript` plugin hook ([#​3200](https://togithub.com/vuejs/language-tools/issues/3200)) - feat(vscode): add coffeescript syntax highlight support ##### Bug Fixes - fix(language-core): fix event handler type for hyphen-case event names - fix(language-core): allow binding multiple events with the same name ([#​4369](https://togithub.com/vuejs/language-tools/issues/4369)) - fix(language-core): variable used in `key` appears as unused in v-for template tag ([#​329](https://togithub.com/vuejs/language-tools/issues/329)) ([#​3421](https://togithub.com/vuejs/language-tools/issues/3421)) - fix(language-core): generics with slots don't work with Vue 2.7 ([#​3241](https://togithub.com/vuejs/language-tools/issues/3241)) - fix(language-core): template language of .md files should be markdown ([#​4299](https://togithub.com/vuejs/language-tools/issues/4299)) - fix(language-core): no template class links when `experimentalResolveStyleCssClasses` is set to `always` ([#​4379](https://togithub.com/vuejs/language-tools/issues/4379)) ##### Other Changes - Upgrade Volar from `v2.2.2` to `v2.2.4`. - Fixed a few URI conversion issues - fix(typescript): empty items list should be valid completion result ([#​4368](https://togithub.com/vuejs/language-tools/issues/4368)) - fix(typescript): path completion not working for meta files - Upgrade Volar services from `v0.0.44` to `v0.0.45`. - fix(typescript-twoslash-queries): inlay hints not working - fix(css, html, json, yaml): failed to resolve relative path - feat(emmet): port VSCode emmet extension client logic ([https://github.com/volarjs/services/issues/95](https://togithub.com/volarjs/services/issues/95)) - The following extensions have been added to Hybrid Mode’s compatibility whitelist: - `miaonster.vscode-tsx-arrow-definition` - `runem.lit-plugin` </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/ui). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in slipmatio/logger
May 20, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.12.11` -> `20.12.12`](https://renovatebot.com/diffs/npm/@types%2fnode/20.12.11/20.12.12) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`14.10.1` -> `14.11.0`](https://renovatebot.com/diffs/npm/happy-dom/14.10.1/14.11.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://togithub.com/vuejs/language-tools) ([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.17` -> `2.0.19`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.17/2.0.19) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v14.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.3...v14.11.0) ##### 🎨 Features - Adds support for `HTMLTimeElement` - By **[@​r-thomson](https://togithub.com/r-thomson)** in task [#​1431](https://togithub.com/capricorn86/happy-dom/issues/1431) ### [`v14.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.2...v14.10.3) ##### 👷♂️ Patch fixes - Adds check for if Window and MutationObserver has been destroyed when triggering listeners - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1436](https://togithub.com/capricorn86/happy-dom/issues/1436) ### [`v14.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.1...v14.10.2) ##### 👷♂️ Patch fixes - `HTMLAnchorElement`, `HTMLButtonElement`, `HTMLInputElement` and `HTMLLabelElement` checked that click events triggering native behavior was of type `PointerEvent`, but should check that they are of type `MouseEvent` - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1397](https://togithub.com/capricorn86/happy-dom/issues/1397) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.19`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2019-2024-05-16) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.18...v2.0.19) ##### Bug Fixes - **language-core:** property 'xyz' does not exist on type 'abc' when using v-for ([#​4386](https://togithub.com/vuejs/language-tools/issues/4386)) - **language-core:** avoid report error when events do not accept parameters ([#​4387](https://togithub.com/vuejs/language-tools/issues/4387)) - **language-core:** inline dynamic event handlers should not expect commas ([#​4387](https://togithub.com/vuejs/language-tools/issues/4387)) ### [`v2.0.18`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2018-2024-05-15) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.17...v2.0.18) ##### Features - feat(language-core): report unknown events when strictTemplates is enabled ([#​3718](https://togithub.com/vuejs/language-tools/issues/3718)) - feat(language-core): add `compileSFCScript` plugin hook ([#​3200](https://togithub.com/vuejs/language-tools/issues/3200)) - feat(vscode): add coffeescript syntax highlight support ##### Bug Fixes - fix(language-core): fix event handler type for hyphen-case event names - fix(language-core): allow binding multiple events with the same name ([#​4369](https://togithub.com/vuejs/language-tools/issues/4369)) - fix(language-core): variable used in `key` appears as unused in v-for template tag ([#​329](https://togithub.com/vuejs/language-tools/issues/329)) ([#​3421](https://togithub.com/vuejs/language-tools/issues/3421)) - fix(language-core): generics with slots don't work with Vue 2.7 ([#​3241](https://togithub.com/vuejs/language-tools/issues/3241)) - fix(language-core): template language of .md files should be markdown ([#​4299](https://togithub.com/vuejs/language-tools/issues/4299)) - fix(language-core): no template class links when `experimentalResolveStyleCssClasses` is set to `always` ([#​4379](https://togithub.com/vuejs/language-tools/issues/4379)) ##### Other Changes - Upgrade Volar from `v2.2.2` to `v2.2.4`. - Fixed a few URI conversion issues - fix(typescript): empty items list should be valid completion result ([#​4368](https://togithub.com/vuejs/language-tools/issues/4368)) - fix(typescript): path completion not working for meta files - Upgrade Volar services from `v0.0.44` to `v0.0.45`. - fix(typescript-twoslash-queries): inlay hints not working - fix(css, html, json, yaml): failed to resolve relative path - feat(emmet): port VSCode emmet extension client logic ([https://github.com/volarjs/services/issues/95](https://togithub.com/volarjs/services/issues/95)) - The following extensions have been added to Hybrid Mode’s compatibility whitelist: - `miaonster.vscode-tsx-arrow-definition` - `runem.lit-plugin` </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/logger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes vuejs/language-tools#3478
Port https://github.com/microsoft/vscode/tree/main/extensions/emmet