Johannes Rieken
d13c32e27f
disable flakly test again https://github.com/microsoft/vscode/issues/254042 ( #283836 )
2025-12-16 15:45:42 +00:00
Johannes Rieken
5d52b31d8d
understand why tests fails ( #282002 )
...
https://github.com/microsoft/vscode/issues/254042
2025-12-08 17:18:19 +00:00
Alexandru Dima
65b22997d7
Convert flaky API tests to unit tests ( #273398 )
...
Convert flaky API test to unit test (#253863 , #254041 )
I maintain my conviction that there is an unrelated run-away API test which steals focus while these tests execute which then leads to these tests failing, since the undo command is sensitive to the current focused editor.
2025-10-26 15:11:46 +01:00
Johannes Rieken
0d1a3c7c7c
fix some any-casts in vsocde-api-tests ( #270186 )
...
https://github.com/microsoft/vscode/issues/269213
2025-10-07 08:16:31 -04: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
Bhavya U
43452f464f
Remove startup experimentation code and setup splitWelcomeChat view as getting started experience ( #262068 )
...
* Remove startup experimentation code and setup splitWelcomeChat view as getting started experience
* Remove experimental visibility check from welcome message in ChatWidget
* cleanup
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com >
2025-08-18 10:24:29 +00:00
Alex Ross
8c938d137a
Disable flaky workspace test ( #256250 )
...
See https://github.com/microsoft/vscode/issues/253863
2025-07-16 07:17:49 -07:00
Benjamin Pasero
13d49873b7
Support setting encoding from extension ( fix #251188 ) ( #251195 )
2025-06-11 12:15:35 +02:00
Benjamin Pasero
f0ee501c7f
API: Finalise text document encoding ( fix #241449 ) ( #246016 )
...
* API: Finalise text document encoding (fix #241449 )
* address feedback
2025-04-10 18:28:21 +00:00
Benjamin Pasero
b8965e8d61
encoding - api clarification ( #245994 )
2025-04-08 17:45:42 +02:00
Benjamin Pasero
355e73c5e0
encoding - add tests for utf8bom ( #242132 ) ( #242347 )
2025-02-28 11:15:28 -08:00
Benjamin Pasero
4edf8d685b
encoding - add a test that simulates saving a document with different encoding ( #241448 )
...
* encoding - add a test that simulates saving a document with different encoding
* update pointer to issue
2025-02-21 10:46:13 +01:00
Benjamin Pasero
89fef848ef
Provide encoding-related APIs for editor extensions ( #824 ) ( #240804 )
2025-02-20 12:04:34 +01:00
Benjamin Pasero
c23ad8d163
tests
2025-02-19 15:16:58 +01:00
Benjamin Pasero
6cb4d19196
.
2025-02-19 14:03:20 +01:00
Benjamin Pasero
da6fc30c98
rewind
2025-02-19 12:53:49 +01:00
Benjamin Pasero
a870e67290
documents - expose encoding as proposed API (part of #824 ) ( #240790 )
2025-02-14 15:31:51 +01:00
Matt Bierner
334fdfe437
Merge pull request #234858 from rgrunber/fix-63129
...
Expose adjustWhitespace to TextEditor API.
2025-01-31 10:21:13 -08:00
Benjamin Pasero
cd3c0ac45b
Test failure: workspace.applyEdit drops the TextEdit if there is a RenameFile later #77735 (with opened editor) ( fix #238837 ) ( #238838 )
2025-01-27 13:18:52 +01:00
Roland Grunberg
8f4b28aedd
Introduce 'keepWhitespace' property for snippet text edit abstractions.
...
- Restore original behaviour of bulk text edits adjusting whitespace
- Add testcase
Signed-off-by: Roland Grunberg <rgrunber@redhat.com >
2025-01-14 15:33:18 -05:00
Andrea Mah
3551cb01fa
edit API names and remove findFiles2New and aiTextSearchProviderNew ( #232431 )
...
* remove references to findfiles2New and aiTextSearchProviderNew
2024-10-29 18:41:23 -07:00
Johannes
e6f315d2fc
eng - use esModuleInterop for extensions
2024-10-01 21:57:30 +02:00
Andrea Mah
c2aa3c4625
let findfiles2new use an array of includes/excludes ( #226103 )
...
* let findfiles2new use an array of includes/excludes
2024-08-21 19:14:01 -07:00
Benjamin Pasero
c972b16a33
Integration test failure: workspace.applyEdit drops the TextEdit if there is a RenameFile later ( fix #206356 ) ( #208662 )
2024-03-26 15:38:03 +09:00
Andrea Mah
90cebfaeb2
Fix fuzzy searching for findFiles2 ( #204768 )
...
* progress on making fuzzy option
* finish connection to findfiles API
2024-02-08 13:17:58 -08:00
Andrea Mah
20d18171b3
introduce findFiles2 API ( #203844 )
...
* introduce first version of FindFiles2 API
2024-02-07 14:23:46 -08:00
Johannes Rieken
bee68cee69
allow workspace edit to "create" untitled files ( #191779 )
...
https://github.com/microsoft/vscode-copilot/issues/1261
2023-08-30 15:24:37 +02:00
Benjamin Pasero
1ed110b6be
Return resulting URI from commands that save the active editor ( fix #178713 ) ( #179091 )
...
* Return resulting `URI` from commands that save the active editor (fix #178713 )
* 💄
* address feedback
* change to real proposed API
* cleanup
2023-04-20 18:00:12 +02:00
aamunger
f2550cb362
unique test names
2023-02-28 14:54:54 -08:00
Benjamin Pasero
f176ad8e28
workspace.applyEdit drops the TextEdit if there is a RenameFile later #77735 ( fix #166436 ) ( #166439 )
2022-11-16 09:43:07 +01:00
Johannes Rieken
9bbc7b2bb0
Merge pull request #160193 from microsoft/joh/ordinary-canidae
...
support `contents` option with `WorkspaceEdit#createFile`
2022-09-07 16:33:42 +02:00
Johannes
4da1e34afe
add content property to vscode-dts-defined properties
2022-09-07 13:21:05 +02:00
Johannes
b0140c2ca4
support contents option with WorkspaceEdit#createFile
2022-09-06 16:19:08 +02:00
Johannes
bcf6547e92
fix API tests for new API
2022-09-06 14:53:43 +02:00
Benjamin Pasero
968d9eda2c
Integration test failure: openTextDocument, untitled closes on save ( #157897 ) ( #159888 )
2022-09-02 13:43:44 +02:00
Benjamin Pasero
032662071c
openIntegration test failure: openTextDocument, untitled closes on save ( #157897 ) ( #158482 )
2022-08-18 14:56:50 +02:00
Benjamin Pasero
a3067cbbc6
assert that closed is defined (for #157897 ) ( #157901 )
2022-08-11 06:46:19 -07:00
Johannes Rieken
e5f5a16b74
joh/issue145374 ( #154360 )
...
* enroll more places into `snippetWorkspaceEdit` proposal,
https://github.com/microsoft/vscode/issues/145374
* tweak API proposal for snippet edits, make this `WorkspaceEdit` only, remove old proposal bit
https://github.com/microsoft/vscode/issues/145374
2022-07-07 12:55:51 +00:00
Johannes Rieken
71c221c532
joh/theoretical quokka ( #154157 )
...
* add `SnippetController#apply(ISnippetEdit[])`
This replaces the initial ugly trick with a more sound implementation of arbitrary snippet edits. A snippet edit can cover disconnected regions, each will be applied as separate text edit but everything will become a single `OneSnippet` instance
* add integration test for SnippetString-text edit inside workspace edit
2022-07-05 12:30:01 -07:00
Johannes
fb97ffc160
be tolerant to other events happing but still enforce that the expected events are there
...
fixes https://github.com/microsoft/vscode/issues/153288
2022-07-01 15:39:51 +02:00
Johannes
0656d21d11
auto-fixed prefer-const violation
2022-06-08 17:49:21 +02:00
Johannes
4ea02deebd
ignore text document version whenever that document is marked as being created, fixes https://github.com/microsoft/vscode/issues/146964
2022-04-14 11:04:35 +02:00
Johannes Rieken
b00e5cdbd0
use randomBytes for rnd file name generation, https://github.com/microsoft/vscode/issues/139217
2021-12-16 16:25:56 +01:00
Johannes Rieken
257657fb23
fix https://github.com/microsoft/vscode/issues/137968
2021-11-30 15:21:56 +01:00
Matt Bierner
ab8e743520
Organize imports in ext tests
2021-08-11 16:55:51 -07:00
Logan Ramos
656e1e6086
More deprecated assertion cleanup
2021-05-04 15:55:26 -04:00
Logan Ramos
72aa675fc9
Update API tests to strict equal
2021-05-04 14:59:03 -04:00
Joao Moreno
b4816cfd1f
fix tests
2021-04-20 09:10:47 +02:00
Johannes Rieken
46cf57b264
a bunch of failing tests
2021-02-01 12:01:32 +01:00
Johannes Rieken
74bc1d2672
re-enable test for https://github.com/microsoft/vscode/issues/111867
2021-01-07 09:18:51 +01:00