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
Johannes Rieken
6158372c89
more verbose integration test failures
2020-02-14 12:05:01 +01:00
Johannes Rieken
2b3fed13e1
some 💄 to prep for https://github.com/microsoft/vscode/issues/90359
2020-02-13 12:54:12 +01:00
Johannes Rieken
5166060e71
test: don't assert in event handler
2020-02-13 12:54:12 +01:00
Benjamin Pasero
f88d71eebc
disable test for web ( #90359 )
2020-02-11 16:50:22 +01:00
Benjamin Pasero
173cb094b4
test - skip only on windows
2020-02-10 11:58:03 +01:00
Benjamin Pasero
9d9d729655
Web: run integration tests as part of our product builds ( fix #83923 )
2020-02-10 11:23:00 +01:00
Benjamin Pasero
cdc2469931
untitled - rewrite creation logic
2020-01-17 11:33:13 +01:00
Benjamin Pasero
2585092dbe
tests - reduce output of integration tests ( #84283 )
2020-01-15 12:56:22 +01:00
Johannes Rieken
e7a7e46fcc
add another unit test for #80688
2019-12-02 15:57:07 +01:00
Johannes Rieken
3a384c9c59
add test for #80688
2019-09-11 16:37:47 +02:00