Matt Bierner
1c35a4d05c
Enforce single quote string usage in extension tests
...
Single quoted string usage is already enforced everywhere except our tests. Having this inconsistent style can confuse contributors and code generation
Starting with converting over tests in the `extensions` dir
2025-10-15 01:51:43 -07:00
Raymond Zhao
b4b3cacd74
debt: remove any casts ( #270074 )
2025-10-06 18:19:46 +00:00
Matt Bierner
360c9fd134
Add lint rule for as any and bulk ignore all existing breaks
...
For #269213
This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks
Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Ladislau Szomoru
4d7c56ee82
Engineering - Add GitHub action for pull requests ( #254056 )
...
* Test - handle running tests as part of a GitHub action
* Add GitHub action files
2025-07-04 08:21:56 +00:00
Raymond Zhao
0fda1098c0
chore: bump emmet-helper ( #234295 )
2024-11-20 23:42:09 +01:00
Raymond Zhao
75aea74df7
feat: bump emmet-helper ( #210508 )
...
Also add test
2024-04-17 14:21:23 -07:00
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
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
79d10f9591
Revert "Mark CompletionList as complete ( #169574 )" ( #172581 )
...
This reverts commit 3834785d0c .
2023-01-26 21:14:03 +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
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
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
d627aa4606
Emmet: Add back trigger character arguments ( #154940 )
...
Fixes #154375
2022-07-12 09:15:01 -07:00
Raymond Zhao
70738ed4f2
Fix Emmet integration test warning, fixes #152827 ( #152925 )
2022-06-23 06:57:26 -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
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
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
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
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
68013971ff
Add language mapping as param to getEmmetMode
...
Fixes #127996
2021-10-11 15:38:12 -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
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
748a753aa0
Don't show completion on comment lines
...
Fixes #117888
2021-10-06 11:24:32 -07:00
Stephen Sigwart
e2dbe9747f
Update select to matching bracket direction
2021-07-17 23:56:38 -04:00