Commit Graph

607 Commits

Author SHA1 Message Date
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
Johannes Rieken
edb91ace89 Merge branch 'main' into joh/vscode-dts 2021-11-11 09:30:36 +01:00
Matt Bierner
b911788593 Mark a few more arrays in vscode.d.ts readonly
This makes it clear that you can't modify these arrays to add items, such as calling `breakpoints.push(...)` to add a breakpoint
2021-11-10 17:53:27 -08:00
Johannes Rieken
68e819043c use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken
9254a8cd27 move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Alex Dima
a704a69394 Enforce that source code uses a small subset of Unicode 2021-11-03 23:34:41 +01:00
Alex Dima
3247c31f6a Replace Right Single Quotation Mark with Single Quote 2021-11-03 23:34:40 +01:00
Raymond Zhao
fc504f3af3 Fix when clauses for Emmet commands 2021-10-20 09:02:28 -07:00
Raymond Zhao
7f8d465069 Fixes #134149
- Add more Emmet onCommand activation points
- Only let Emmet commands show up in files
2021-10-19 16:07:27 -07:00
Raymond Zhao
5e2605f0e3 Bump emmet-helper 2021-10-15 10:41:13 -07:00
Raymond Zhao
68013971ff Add language mapping as param to getEmmetMode
Fixes #127996
2021-10-11 15:38:12 -07:00
Raymond Zhao
8919d390eb Fix #130868 2021-10-08 14:14:14 -07:00
Raymond Zhao
1fff41e37c Use actual value
Fixes #128110
2021-10-08 09:02:18 -07:00
Raymond Zhao
f542a0e83a Update emmet-helper dependency
Fixes #117519
Fixes #131966
2021-10-07 16:30:17 -07:00
Raymond Zhao
c359130500 Change emmet.extensionsPath to machine-overridable
Affects #117519
2021-10-07 16:30:15 -07:00
Raymond Zhao
f25fd50e22 Add > to Emmet expand suggestions
Fixes #120566
2021-10-07 08:34:51 -07:00
Matt Bierner
91132cab87 Use | undefined instead of ? for some readonly properties on objects that we control
For #124362

This includes:

- Event objects
- Context objects passed to providers
- Managed objects such as `TextEditor`
2021-10-06 19:08:22 -07:00
Raymond Zhao
665e0adaec Add update tag placeholder.
Fixes #128110
2021-10-06 16:41:17 -07:00
Raymond Zhao
59bcc6a556 Ignore Emmet test workspace
Fixes #134112
2021-10-06 14:49:01 -07:00
Raymond Zhao
982e1af4ac Change various Emmet settings to be resource scope
Affects #117519
2021-10-06 14:38:45 -07:00
Raymond Zhao
7ff3cc58d6 Add specific activation languages
Fixes #133194
2021-10-06 12:22:37 -07:00
Raymond Zhao
748a753aa0 Don't show completion on comment lines
Fixes #117888
2021-10-06 11:24:32 -07:00
Alex Dima
2fbaf20cca Merge remote-tracking branch 'origin/main' into pr/ssigwart/128931 2021-08-17 14:57:37 +02:00
Raymond Zhao
686745c5d4 Help emmet settings show up in settings editor 2021-08-04 10:37:01 -07:00
Stephen Sigwart
e2dbe9747f Update select to matching bracket direction 2021-07-17 23:56:38 -04:00
rebornix
473cfe28bf Revert "Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main""
This reverts commit 7c01395da1.
2021-05-25 17:49:34 -07:00