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
Johannes Rieken
0cb7dad36f
adopt creation of N resources at once, https://github.com/microsoft/vscode/issues/111867
2021-01-06 14:46:32 +01:00
Johannes Rieken
b99e9bc299
apply file edits in bulks of equal edits, https://github.com/microsoft/vscode/issues/111867
2021-01-06 14:46:32 +01:00
Johannes Rieken
bb68097d15
add extra check to understand https://github.com/microsoft/vscode/issues/112263
2020-12-11 09:48:15 +01:00
Alex Dima
52e9e02e0a
Fixes #110141 : Do not push undo stack elements for a no-op EOL change
2020-11-12 12:18:27 +01:00
Benjamin Pasero
13ccfeb2cd
test - check for dirty flag too ( #107739 )
2020-10-07 07:53:09 +02:00
Alex Dima
1a9e0af641
Fixes #107815 : Remove save RenameOperation
2020-10-06 22:53:57 +02:00
Alex Dima
ca01c69720
Finalize test for #107739
2020-10-06 22:45:46 +02:00
Alex Dima
443508c4c9
Add test for #107739
2020-10-06 22:18:30 +02:00
Alex Dima
296147c88e
Fix integration tests
2020-09-30 20:58:26 +02:00
Matt Bierner
50cc1d0e97
Update to use TS 4.1 for building VS Code
2020-09-16 11:58:01 -07:00
Rob Lourens
50652f8189
Fix findFiles integration tests after PR even more
2020-07-26 18:35:14 -07:00
Rob Lourens
e2de23c683
Fix integration tests
2020-07-25 09:21:27 -07:00
Benjamin Pasero
ab1d1ad588
Web: integration test failures in workspace events ( fix #102365 )
2020-07-14 15:14:23 +02:00
Johannes Rieken
ef9a24f021
don't check for number of documents, https://github.com/microsoft/vscode/issues/100842
2020-06-25 10:20:49 +02:00
Johannes Rieken
a875bd1919
use a true random file name when testing that openTextDocument opens another document, fixes https://github.com/microsoft/vscode/issues/100159
2020-06-15 11:45:59 +02:00
Johannes Rieken
b0d056202b
Use canonical uri for openTextDocument api, #93368
2020-05-29 18:16:31 +02:00
Benjamin Pasero
c0eea2a712
tests - disable terminal integration tests for web
2020-03-19 09:37:17 +01:00
Benjamin Pasero
d8e7eb36a2
Text save participants are overwritten for each extension host ( fixes #90359 )
2020-02-17 10:42:31 +01:00
Johannes Rieken
bcdf991bd4
test: saveAll before asserting a certain save event
2020-02-14 12:05:57 +01:00