Commit graph

632 commits

Author SHA1 Message Date
vuittont60 ab1c7b42ef
fix typos 2023-10-13 20:28:15 +08:00
Matt Bierner 2c52e4ca35
Alias Thenable to PromiseLike (#192456)
Fixes #192385

This fixes some typing issues with `Thenable` that were hiding potential bugs
2023-09-13 10:50:40 -07:00
Mikhail 05673dfd1a
Simplify getting rangesToUpdate (#192079) 2023-09-11 08:47:03 -07:00
Robo ea490e5545
chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
Alex Ross b210745306
Revert "Skip failing integration tests (#187424)" (#188459)
This reverts commit 00db67e440.
2023-07-21 08:30:45 -07:00
Alex Ross 00db67e440
Skip failing integration tests (#187424)
Part of #187245
2023-07-10 11:07:58 +02:00
Raymond Zhao 13b90156ab
Strengthen Emmet tests (#187204) 2023-07-06 16:14:29 -07:00
Raymond Zhao b9ada3a2c6
Bump emmet-helper (#185607) 2023-06-23 11:17:15 -07:00
Raymond Zhao 2dad7f52ad
Bump emmet-helper (#184616) 2023-06-16 19:10:07 +02:00
Raymond Zhao 075c89881f
Bump emmet-helper (#180583) 2023-05-10 16:17:58 -07:00
Matt Bierner a86726db69
Remove implicit activation events for emmet (#172836)
These are now automatically generated
2023-01-30 11:41:15 -08:00
Raymond Zhao 79d10f9591
Revert "Mark CompletionList as complete (#169574)" (#172581)
This reverts commit 3834785d0c.
2023-01-26 21:14:03 +01:00
Raymond Zhao 1e723aa674
Upgrade emmet-helper (#170188)
* Upgrade emmet-helper

* Bump to 2.8.6
2022-12-29 00:09:10 +01:00
Raymond Zhao 3834785d0c
Mark CompletionList as complete (#169574)
Fixes #168997
2022-12-19 22:11:03 +01:00
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
Matt Bierner 57dd298b47
Add typings for test runner scripts (#169196) 2022-12-15 02:19:24 +01:00
Joyce Er 7b83bc62ad
Merge pull request #167867 from microsoft/dev/joyceerhl/jolly-takin
Add `onLanguage` activation event for Emmet
2022-12-06 15:03:46 -08:00
Joyce Er 692791d8a8 Adopt onLanguage for Emmet 2022-12-02 19:21:32 +00:00
Raymond Zhao 5762c7821c
Use includes instead of indexOf (#167860)
Use indexOf instead of includes
2022-12-02 01:17:10 +01: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
Henning Dieterichs 50b1bccd17
Remove inlineCompletionsNew proposal. Fixes #164856 (#165044) 2022-10-31 13:29:04 +01:00
Raymond Zhao 72a7d0f2e4
Add to emmet.triggerExpansionOnTab description (#164197)
Fixes #159111
2022-10-20 17:38:59 -07:00
Raymond Zhao d9846c8e43
Remove resource scopes (#164158) 2022-10-20 13:51:17 -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
Raymond Zhao 52a71a1843
Make some Emmet settings language-overridable (#156184)
Fixes #156075
2022-07-25 20:00:36 +02:00
Raymond Zhao d627aa4606
Emmet: Add back trigger character arguments (#154940)
Fixes #154375
2022-07-12 09:15:01 -07:00
Raymond Zhao 623cde6b38
Disable inline completions by default for Emmet (#153926)
Ref #139247
2022-07-01 16:20:19 +00:00
Raymond Zhao 70738ed4f2
Fix Emmet integration test warning, fixes #152827 (#152925) 2022-06-23 06:57:26 -07:00
Raymond Zhao 9ef049b089
Add note to description 2022-06-20 17:15:07 -07:00
Raymond Zhao 76f65c4521
Emmet inline completions (#151559)
Affects #139247

This PR changes Emmet to use inline completions when suggesting completions.
It also provides a boolean setting so that users can opt out.
This PR does not change the "Wrap with Abbreviation" behaviour in Emmet.

Co-authored-by: Henning Dieterichs <notify.henning.dieterichs@live.de>
2022-06-14 08:39:28 +02:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Benjamin Pasero 8e8b3026fc
tests - reduce spam and work 2022-04-06 19:34:41 +02:00
Raymond Zhao 8ba7e14db9
Emmet reduce JSX array noise (#146757)
Reduce emmet JSX array noise, fixes #138461
2022-04-05 12:20:07 -07:00
tharbakim fb5e446a3d
Fix detection of CSS Preprocessor Comments at Start of File in Emmet Extension (#146121)
* Fix for PartialStyleSheet getting stuck in loop

Adds a clause for detecting `//` as a comment marker when working backwards through a file, preventing the parser from getting stuck when the comment starts at 1:1

* Modify change to detect start of file instead of skipping additional `/` characters now that we know the issue only occurs at offset 0.

Co-authored-by: Tyler McEnaney <tharbakim@hotmail.com>
2022-04-04 12:02:15 -07:00
Robo 32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Robo df645f1450
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Raymond Zhao 56c8ff832d
Bump emmet-helper, fixes #123399 2022-02-11 09:46:19 -08:00
Robo 01df559c18
chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Johannes Rieken 4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Benjamin Pasero b9a2191563
files - add a method to generate a random path name (#139364) 2021-12-17 11:08:17 +01:00
Raymond Zhao 6b628b53fb
Pull new emmet-helper, fixes #117648 2021-12-16 10:39:22 -08:00
Raymond Zhao 21e0035bdb
Refresh Emmet updateImageSize tests
Fixes #138499
2021-12-07 13:42:20 -08:00
Raymond Zhao e40596a16c
Skip flaky updateImageSize suite
Ref #138499
2021-12-06 12:47:38 -08:00
Raymond Zhao dd56064202
Fix Emmet removeTag tests
Ref https://github.com/microsoft/vscode/issues/138063
2021-11-29 12:09:57 -08:00
Raymond Zhao bdc04a9b22
Trim inner tag leading and trailing whitespace
Fixes https://github.com/microsoft/vscode/issues/138063
2021-11-29 11:24:10 -08:00
Raymond Zhao db1f865720
Don't use empty lines when counting new indent
Polish for https://github.com/microsoft/vscode/issues/138063
2021-11-29 11:24:09 -08:00
Raymond Zhao e1e648fe6e
Revert back to onStartupFinished activation event
Fixes #137012
2021-11-15 12:39:25 -08:00