Commit Graph

1084 Commits

Author SHA1 Message Date
Rich Chiodo
052d5b0027 Fix issue with kernel preselection being overridden by view state (#154968)
* Fix view state overriding selected kernel

* Add test to verify correct kernel is used
2022-07-12 18:03:49 -07:00
Johannes Rieken
c46640d635 remove obsolete API proposal name from api-tests, fyi @Tyriar (#154902) 2022-07-12 11:35:56 +02:00
jeanp413
318bdcc4cc Fix tests 2022-07-08 00:16:11 -05: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
Rob Lourens
50e1886048 Fix slow integration test (#153735)
Fixes #152886
2022-06-29 18:22:29 +00:00
Benjamin Pasero
0dfbf42795 tests - skip all flaky webview tests (#153066) (#153067) 2022-06-23 22:51:58 -07:00
Alex Dima
bae316c7ad Merge remote-tracking branch 'origin/main' into alexd/worrying-bandicoot 2022-06-23 22:45:59 +02:00
Benjamin Pasero
a9cacc5d9a skip flaky webview test (#150682) (#153006) 2022-06-23 17:43:04 +00:00
Benjamin Pasero
886c112cbd Merge branch 'main' into alexd/worrying-bandicoot 2022-06-22 06:48:39 +02:00
Rich Chiodo
f361c5b71d Halve the number of executions to speed up test (#152768) 2022-06-22 06:24:21 +02:00
Benjamin Pasero
0203aabaa5 fix integration tests 2022-06-18 07:44:05 +02:00
Benjamin Pasero
0662ad271a tests - skip flake (#152145) (#152442) 2022-06-17 11:56:58 +02:00
Benjamin Pasero
68433fb7fd tests - remote invalid proposed API (#152181) 2022-06-15 14:34:56 +02:00
Matt Bierner
8b0b3ee72e Remove notebook editor decoration type (#151574)
* Remove the notebookEditorDecorationType API proposal

Fixes #146838

* Remove all the infastructure around the now removed notebookEditorDecorationType api
2022-06-13 13:51:10 -07:00
Johannes
ed9ed45794 Merge branch 'main' into joh/voluminous-lobster 2022-06-10 09:07:30 +02:00
Rob Lourens
d5e7687940 Fix updating outputs of another cell using a NotebookCellExecution (#151573)
Fixes #151468
2022-06-09 20:27:36 -07:00
Johannes
43c31079ee manual fixing of prefer-const violations 2022-06-09 10:19:56 +02:00
Johannes
3622010b64 Merge branch 'main' into joh/voluminous-lobster 2022-06-09 09:08:20 +02:00
Rob Lourens
c38afc571d Switch deprecated editor.document -> editor.notebook (#151530) 2022-06-08 09:35:00 -07:00
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Megan Rogge
7c22caad55 Use I prefix for task interfaces (#151350) 2022-06-07 09:27:44 -07:00
Rich Chiodo
b658848c9b Fix test to work 2022-06-06 17:04:26 -07:00
Rich Chiodo
416ad2cbc6 Can't get tests to run with local bits, try submitting 2022-06-06 16:48:56 -07:00
Rich Chiodo
8f345dea8e Add unit test 2022-06-06 16:14:14 -07:00
Tyler James Leonhardt
db60eaa2ee Enable locale picker in web (#150496)
* Enable locale picker in web

* fix the test by getting the locale from the loader config
2022-06-06 10:34:00 -07:00
Rich Chiodo
dae2490dbb Merge remote-tracking branch 'upstream/main' into rchiodo/iw_output_scrolling 2022-05-24 11:15:35 -07:00
Rich Chiodo
b79d02db5c Add test for scrolling 2022-05-24 11:01:51 -07:00
Rich Chiodo
9322fd543d Fix test to pass 2022-05-24 10:13:04 -07:00
Rich Chiodo
5d8bd23756 Add a test 2022-05-23 17:25:00 -07:00
Matt Bierner
45304da73d Finalize NotebookEditor api proposal (#149767)
* Finalize NotebookEditor api proposal

Fixes #149271

This finalizes most parts of the NotebookEditor api proposal. I haven't removed the proposal entirely as there are still a few parts being left behind:

- The deprecated properties/functions
- A few contribution points such as `notebook/cell/executePrimary`

* remove extra quote
2022-05-23 23:27:17 +00:00
Matt Bierner
67014adc30 Remove the textDocumentNotebook API proposal (#149277)
* Remove the textDocumentNotebook API proposal

All consumers have now been migrated off of this proposal, so it is safe to remove from our code

* Remove deprecated api usage from test
2022-05-12 08:59:11 +02:00
Ladislau Szomoru
2a9f19d36f Engineering - create pull request pipeline (#149171) 2022-05-11 03:08:54 -07:00
Jason Williams
e19f09713b Enable globs on tasks otherwise fallback to default - fixes #88106 (#141230)
* use glob on tasks otherwise fallback to default

* add support for test commands also

* try to find one globbed task otherwise fallback to defaults

* - get relativePath (but fallback to absolute if outside of workspace)
- bring back json schema

* Refactor and reduce duplicate code

* remove glob, make isDefault a string or boolean

* update taskConfig

* - rebase
- type updates
- splitPerGroupType should check explicitly for true on isDefault
- hygiene check

* Remove task glob from API

* Task group DTO updates

* Make sure globs run ahead of default task if there's multiple globs matching

* Style and name changes

* More naming and code re-use

* Glob doesn't work when only 1 glob match

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-05-03 09:56:24 +02:00
Benjamin Pasero
c6bd448948 debt - bring @types/mocha up to date with version 9.x 2022-05-02 08:30:27 +02:00
Megan Rogge
280460e3cc clean up after test (#147941) 2022-04-22 12:07:31 -07:00
Johannes
90a6367e2c remove mentionings of tabs proposal, fyi@lramos15 2022-04-22 11:51:53 +02:00
Logan Ramos
aa69f3d762 Fix #15178 Finalize tabs API 🎉 2022-04-21 11:08:12 -04:00
Johannes
2b3212ead0 enable proposal for integration API tests 2022-04-21 16:54:11 +02:00
Megan Rogge
7e2fccd89a fix #147780 (#147798) 2022-04-20 15:32:36 -07:00
Johannes
9530dca29d finalize notebookDocumentEvents-API, https://github.com/microsoft/vscode/issues/144662 2022-04-20 13:58:37 +02:00
Johannes
8783c56eb7 fix https://github.com/microsoft/vscode/issues/147711 2022-04-20 11:30:37 +02:00
Matt Bierner
50ea16198d Remove the concat text document api proposal
Fixes #146781
2022-04-14 14:39:44 -07: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
Benjamin Pasero
8e8b3026fc tests - reduce spam and work 2022-04-06 19:34:41 +02:00
Logan Ramos
9d0c4574f2 Fix compile 2022-04-05 15:28:05 -04:00
Logan Ramos
29e28ccf01 Update window tests 2022-04-05 15:25:57 -04:00
rebornix
943186d56c update nb tests. 2022-04-01 12:10:23 -07:00
Johannes
d58ff261d4 add integration tests for LiveShare specific notebook commands, https://github.com/microsoft/vscode/issues/125757 2022-04-01 10:57:49 +02:00