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
Matt Adam
a727329516
Implement badge API for webviews and treeviews ( #144775 )
...
* Implement badge API for webviews and treeviews
* Address PR feedback
* Set badge priority
Part of #62783
2022-03-30 14:34:11 +02:00
Johannes Rieken
43d0483dae
Merge pull request #146185 from microsoft/joh/notebookCleanup
2022-03-30 09:18:44 +02:00
rebornix
b8f14d243b
fix #138683 .
2022-03-29 17:18:13 -07:00
Johannes
b1faab40de
adopt tests to new notebook change event
2022-03-29 11:58:54 +02:00
Benjamin Pasero
126e4744ec
blue print tests for #145846
2022-03-24 17:02:17 +01:00
Benjamin Pasero
5f57f8c001
Editor is improperly marked isPreview
in tabs api ( fix #145755 )
2022-03-23 10:39:21 +01:00
Logan Ramos
a2d8edb83d
Tabs API renaming
2022-03-21 13:35:34 -04:00
Logan Ramos
8d99738d84
Remove unnecessary return in tab close
2022-03-18 17:28:42 -04:00
Logan Ramos
9f0bdbc6c5
Add active tab test
2022-03-18 16:12:06 -04:00
Logan Ramos
00a4adef89
Enable active tab integration test
2022-03-18 15:32:28 -04:00
Logan Ramos
799eb643c4
Re-enable some integration tests
2022-03-18 15:25:45 -04:00
Logan Ramos
b906904089
Fix compile errors
2022-03-18 14:26:51 -04:00
Johannes
c385364f5d
tabs - move move
into TabGroups
2022-03-18 14:35:46 +01:00
Logan Ramos
85c3df0dde
Tie in tab input, remove cleanup .d.ts
2022-03-17 16:54:44 -04:00
Logan Ramos
1e0f8c9ba1
Re-enable vscode.open tab est
2022-03-17 10:59:27 -04:00
Logan Ramos
dfd1f28552
Skip test
2022-03-16 18:10:37 -04:00
Logan Ramos
53aaa205e6
Fix #144605
2022-03-14 13:26:45 -04:00
Robo
32d40cf44e
chore: update to electron 17 ( #143223 )
...
* chore: bump electron@17.0.0
* Revert "chore: revert to electron@13 (#143851 )"
This reverts commit df645f1450
.
* chore: bump electron@17.1.0
* Revert "ci: fix build with latest node-gyp"
This reverts commit c3e948aa30
.
* chore: revert ci changes for node v16
* chore: update yarn.lock
* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Rob Lourens
5a7db04b89
Fix #144043
2022-03-09 10:49:08 -08:00
Alex Ross
c468903ff7
Finalize tree drag and drop API
...
Fixes #32592
2022-03-02 15:39:36 +01:00
Matt Bierner
a068ebee8d
Finalize markdownstring.baseUri
...
Fixes #142051
2022-03-01 15:48:53 -08:00
Robo
df645f1450
chore: revert to electron@13 ( #143851 )
...
* Revert "chore: update to electron 16 (#137241 )"
This reverts commit 01df559c18
.
This reverts commit 46301339b7
* ci: fix remote compiler for sdl-scan
* chore: fix remote/.yarnrc
* chore: fix build/npm/postinstall.js
* chore: rm crash reporter from shared process
* chore: rm crash reporter from ext host
* chore: fix build/lib/layersChecker.ts
* :chore: preserve some more changes
* fix tests
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Benjamin Pasero
6640f3c721
skip flaky test ( #139960 )
2022-02-24 13:27:04 +01:00
Benjamin Pasero
6dee30baa8
tests - restore test coverage for #139786
2022-02-23 13:17:21 +01:00
Logan Ramos
8437d74b8b
Fix #139786
2022-02-17 15:15:51 -05:00
Logan Ramos
0a9e7a5f49
Re-enable tab getter test
2022-02-16 15:09:08 -05:00
Matt Bierner
21da6eeafa
Delay getting workspace uri until tests are running
...
For #143226
2022-02-16 10:59:03 -08:00
Logan Ramos
ec9df1d972
Update tabs model to utilize the new API shape ( #142668 )
...
* Change shape of the tabs API
* Disable tab tests for now
* Add an onDidChangeTabGroup event
* Optimize for group activate
* Update events to no longer be an array
* Further tab optimization
2022-02-10 15:09:11 -05:00
Johannes Rieken
b7955eac38
finalize inlay hints provider API, https://github.com/microsoft/vscode/issues/16221
2022-02-09 15:32:46 +01:00
Daniel Imms
339cbb38e2
Skip environment variable collection tests only on Windows
...
Guessing conpty is causing problems
2022-02-09 05:26:19 -08:00
Alex Ross
5bdfec8311
Dispose of all terminals before running task test
...
Fixes #142565
2022-02-09 14:06:09 +01:00
Robo
01df559c18
chore: update to electron 16 ( #137241 )
...
* chore: bump electron@15.3.0
* chore: bump node@16.x
* chore: enable render process reuse
* Revert "watcher - use `type` property for crash reporter location"
This reverts commit bfa488dd8f
.
* Revert "watcher - enable crash reports on linux (#136264 )"
This reverts commit af261488f8
.
* chore: enable crashpad on linux
* chore: bump electron@15.3.1
* chore: update api changes
* chore: bump @vscode/sqlite3@5.0.3
* spec: skip non-context aware module unittests
* chore: fix perf hook integration with node environment
* fix: adopt fs api changes
* chore: fix integration tests
* chore: bump electron@15.3.2
* chore: bump electron@16.0.0
* temp(macOS): kill test instances in OSS
* Revert "temp(macOS): kill test instances in OSS"
This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.
* chore: update chromium version for clang downloader
* some 💄 changes
* align with changes
* adopt more fs.rm
* 💄
* chore: bump @vscode/sqlite3@5.0.4
* fix layers check to account for duplicated types from node.js
* update todo for type casts
* smoke - fix compile issue
* chore: update module cache
* watcher - fix unhandled rejection (fix #137416 )
* ci: update node version
* enable stack dumping
* update electron types to 16.x
* chore: bump @vscode/sqlite3@5.0.5
Refs https://github.com/microsoft/vscode/issues/137496
* fix layer issue
* add `AbortSignal` to core types
* chore: update linux compile flags
Refs 797723ec83
* ci: fix linux build
* ci: update github ci cache
* ci: fix remote build in github ci
* ci: better fix for remote build
* chore: bump azure cache
* chore: fix merge conflict
* :chore: update to electron@16.0.2
* chore: bump @vscode/sqlite3@5.0.7
* ci: update to gcc-4.9 for remote
Refs https://github.com/microsoft/vscode/issues/137659
* ci: switch to buster for linux arm
Refs https://github.com/microsoft/vscode/issues/137927
* ci: fix build on linux arm64
* ci: fix arm client compiler toolchain
Refs #137927
* chore: bump electron@16.0.3
* ci: fix compile flags for the c toolchain
* chore: bump electron@16.0.4
* Add experimental dark mode flag (#139109 )
* Add experimental dark mode flag
* Apply PR feedback
* chore: bump electron@16.0.6
* chore: bump electron@16.0.7
Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300
* chore: experimental highlight API
* smoke - fix compile issue
* FIXME: custom ELECTRON_RUN_AS_NODE with node worker
* Revert "chore: bump electron@16.0.7"
This reverts commit 5fd01cf37c
.
* Revert "Revert "chore: bump electron@16.0.7""
This reverts commit a7f1b73951
.
* chore: fix github linux workflow
* chore: address review feedback
* chore: bump electron@16.0.8
* ci: revert to stretch distro for linux arm
Refs https://github.com/microsoft/vscode/issues/137927
* ci: force build
* chore: update yarn.lock
* address feedback
* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"
This reverts commit 7b48fa3732
.
* ci: fix remote folder build
* chore: fix github linux ci
* 🆙 `versionSpec`
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Johannes Rieken
17ed7bf82c
finalize LanguageStatusItem
API, https://github.com/microsoft/vscode/issues/129037
2022-02-08 18:50:46 +01:00
Rob Lourens
803c9fc3e0
re-skip notebook integration tests for web
2022-02-04 11:36:34 -08:00
Matt Bierner
69896100ed
Add MarkdownString.baseUri proposal ( #142055 )
...
For #142051
2022-02-03 08:51:49 -08:00
Alex Ross
b170ef3444
Fix no-async-promise-executor in task tests
...
Fixes #141993
2022-02-02 16:27:26 +01: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
Johannes Rieken
de1ae9e2cc
update todo-tag for https://github.com/microsoft/vscode/issues/141993
2022-02-02 12:39:06 +01:00
Johannes Rieken
7ccb868835
make sure to use .eslintignore
when running yarn eslint
, this will ensure that cli failure and editor squiggles are always equal
2022-02-02 12:37:29 +01:00
Rob Lourens
bb79477f2e
Enable ipynb serializer tests in web integration tests
...
and reenable NotebookSerializer test in non-web
2022-02-01 18:22:57 -08:00
Johannes Rieken
7d1f0fda8b
tweak vscode.open command and its test, https://github.com/microsoft/vscode/pull/141944
2022-02-01 18:35:12 +01:00
Caio Agiani
09c2e177ea
Fix typos ( #141959 )
...
* src: fix typo formated -> formatted
* src: fix typo recieve -> receive
* src: fix typo successfuly -> successfully
* src: fix typo neccessary -> necessary
* extensions: fix typo existance -> existence
* src: fix typo appearence -> appearance
* src: fix typo choosen -> chosen
* src: fix typo unkown -> unknown
* src: fix typo whenever -> whenever
* src: fix typo proccess -> process
* src: fix typo occured -> occurred
* src: fix typo occuring -> occurring
* src: fix typo defintion -> definition
2022-02-01 09:16:37 -08:00
Johannes Rieken
b2eebdccad
test that vscode.open supports string in addition to URI
2022-02-01 15:52:15 +01:00
Daniel Imms
5c6672cd77
Remove terminalLocation from api proposal list
...
Fixes #141645
2022-01-27 06:52:20 -08:00
Rob Lourens
b297fc96b4
Remove stale comment
...
#140878 is fixed
2022-01-26 21:14:14 -08:00
Martin Aeschlimann
683d2f19f1
reenable 'vscode API - languages - link detector' Fixes #140878
2022-01-24 11:43:22 +01:00
Logan Ramos
fc7fb5d480
Enable proposed api in vscode api tests
2022-01-20 13:56:57 -05:00
Benjamin Pasero
71b164aac0
skip flaky test ( #141001 )
2022-01-19 18:30:44 +01:00
Rob Lourens
7ae7f9d40b
Skip flaky 'link detector' test, see #140878
2022-01-17 17:22:58 -08:00
Rob Lourens
fa2760f833
Skip more notebook tests in browser
...
Fix #140574
2022-01-14 16:33:42 -08:00
Rob Lourens
17997da4ab
Unskip test, fix #140201
...
already skipped in browser
2022-01-14 13:51:16 -08:00
Rob Lourens
dfcaa1fda3
Unskip test, fix #140200
...
already skipped in browser
2022-01-14 13:43:37 -08:00
Daniel Imms
8c6a8f7bc1
Skipped webview test
...
Part of #138612
2022-01-14 08:07:23 -08:00
Benjamin Pasero
e3cf7e5e1b
API: Allow to use the file watcher for aribitrary folders ( #3025 ) ( #139881 )
...
* API: Allow to use the file watcher for aribitrary folders (#3025 )
* fix tests
* update `createFileSystemWatcher` docs
* refuse to watch resources that are watched in workspace already
* properly check proposed API
* make it work via `createFileSystemWacher` (first cut)
* more docs
* cleanup
* enable recursive watching based on pattern
* add tests
* drop out-of-workspace events when using simple patterns
* do not apply excludes when watchig files
* log extension watch requests
* also log unwatch
* improved exclude handling
* more docs
* drop proposed api needs
* remove `suite.only`
* cannot watch inside workspace more than once
* do not send extension decriptor over
* adopt latest changes
* add `baseUri` to relative pattern
* backwards compat
2022-01-13 13:32:03 +01:00
Rob Lourens
f7cb722447
Disable all notebook integration tests in web
...
See #126371
2022-01-07 09:57:11 -08:00
Benjamin Pasero
b1aa9661d0
tests - skip flaky notebook test
2022-01-07 17:18:56 +01:00
Alex Ross
4d0b81edfb
Fix task smoke test
...
Fixes #140110
2022-01-07 15:07:33 +01:00
Benjamin Pasero
d622a8d39f
tests - skip flakes ( #140200 , #140201 )
2022-01-06 07:45:19 +01:00
Daniel Imms
6ce37ef7a2
Skip flaky test
...
Part of #140111
2022-01-04 14:28:16 -08:00
Daniel Imms
79ed98edc9
Skip flaky tests
...
Part of #140110
2022-01-04 09:40:49 -08:00
Benjamin Pasero
0f265a3651
integration tests - skip flakes
...
https://github.com/microsoft/vscode/issues/139960
https://github.com/microsoft/vscode/issues/139958
2021-12-31 08:14:39 +01:00
Rob Lourens
2933672219
Fix notebook test
2021-12-30 15:51:44 -08:00
Rob Lourens
a2655c2e5f
prefer-const in notebooks
2021-12-30 14:25:09 -08:00
Rob Lourens
cb91838779
Dispose kernels in test
2021-12-29 15:32:25 -08:00
Rob Lourens
962a6c85e8
Add test for new execution behavior
2021-12-28 13:44:23 -08:00
Benjamin Pasero
7e55d4b8fb
tests - coverage for #139713 fix
2021-12-27 08:25:58 +01:00
Benjamin Pasero
4712a1ae88
skip flaky test ( #139572 )
2021-12-21 13:11:07 +01:00
Ladislau Szomoru
85694fcf4d
Do not leak rpc proxies ( #139498 )
2021-12-20 11:50:49 +01:00
Benjamin Pasero
bb39ae82cf
smoke - improve runCommand
and disable more tests
2021-12-20 08:25:08 +01:00
Matt Bierner
3efb3d6be0
Skip test for now
...
For #138612
2021-12-17 15:26:43 -08:00
Benjamin Pasero
f2f509ba61
skip flaky notebook test ( #139324 )
2021-12-17 17:20:00 +01:00
Benjamin Pasero
ca17de5011
tests - skip failing notebook test ( #139350 )
2021-12-17 07:35:53 +01:00
Logan Ramos
9ce72d28b6
Have tab test retry 3 times
2021-12-16 15:27:41 -05:00
Daniel Imms
2584b60112
Merge branch 'main' into tyriar/120077
2021-12-16 11:34:16 -08: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
Daniel Imms
b562ce7067
Use async/await in env var tests and improve polling
...
Fixes #120077
2021-12-15 12:28:36 -08:00
Benjamin Pasero
b567ea7e8d
tests - do not add file to our workspace
2021-12-15 15:30:11 +01:00
Benjamin Pasero
8f7589750a
Support untitled with associated resource in vscode.open
( #139194 )
...
* wip
* 💄
* add test
* comments
* skip flaky test
* Revert "skip flaky test"
This reverts commit 94c712500e
.
2021-12-15 14:38:07 +01:00
Rob Lourens
ee19746d14
Skip some flaky notebook integration tests - #126371
2021-12-14 15:15:09 -08:00
Daniel Imms
548f18fcf3
Skip env var collection should respect clearing entries
...
Part of #120077
2021-12-14 14:23:26 -08:00
Matt Bierner
25ef7a83fc
Retry test
...
Adding simple retry while investigating why this sometimes times out
2021-12-14 12:31:51 -08:00
Rob Lourens
6897670596
Reenable notebook integration tests
2021-12-08 16:40:50 -08:00
Matt Bierner
c2f4daf348
Update webview bits version for tests
2021-12-07 16:16:54 -08:00
Matt Bierner
9acd320eda
Also skip notebook test temporarily
2021-12-07 13:28:32 -08:00
Matt Bierner
2edff15481
Temporarily skip webview tests
...
We need to bump the version of the webview src pulled in, but this requires getting a good build first
2021-12-07 13:03:03 -08:00
Johannes Rieken
5c31535ea8
add more API rpc tests, https://github.com/microsoft/vscode/issues/115679
2021-12-07 09:22:48 +01:00
Johannes Rieken
257657fb23
fix https://github.com/microsoft/vscode/issues/137968
2021-11-30 15:21:56 +01:00
Tyler Leonhardt
26fe37ca3d
Revert "Have setting the value trigger the filter. Fixes #137279 "
...
This reverts commit c1c103dee7
.
2021-11-24 15:08:35 -08:00
Johannes Rieken
c084b6ce2e
add contribViewsRemote-proposal to api-tests extension
2021-11-22 19:28:14 +01:00
Daniel Imms
96cc3b8fc0
Disable should respect dimension overrides again
...
Part of #137155
2021-11-19 06:01:49 -08:00
Tyler Leonhardt
c1c103dee7
Have setting the value trigger the filter. Fixes #137279
2021-11-17 12:48:12 -08:00
Tyler Leonhardt
8133e1fc5e
Revert "have set value on the QuickPick/InputBox simply set the value on the input. Fixes #137279 "
...
This reverts commit dfbaecd969
.
2021-11-17 11:40:05 -08:00
Tyler Leonhardt
dfbaecd969
have set value on the QuickPick/InputBox simply set the value on the input. Fixes #137279
2021-11-17 10:06:21 -08:00
Daniel Imms
b66d2e7bbd
Next attempt to fix should respect dimension overrides in remote
...
Fixes #137155
2021-11-17 05:29:13 -08:00
Daniel Imms
da099cc71f
Skip should respect dimensions overrides tests in remote only
...
Part of #137155
2021-11-17 04:45:30 -08:00
chrisdias
f50ca77882
update png files
2021-11-15 17:26:14 -08:00
Daniel Imms
f88820646b
Tidy up
2021-11-15 00:14:06 -08:00
Daniel Imms
b934d09346
Move other extension terminal tests to async await
...
Part of #137155
2021-11-14 23:53:12 -08:00
Daniel Imms
03a844a2e5
Use async await in pty terminal test
...
Part of #137155
2021-11-14 23:39:46 -08:00
Johannes Rieken
09c9d4c293
use enabledApiProposals
instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165
2021-11-12 11:05:57 +01:00
Johannes Rieken
a4d426a1c2
split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165
2021-11-12 09:48:17 +01: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 Ross
61cd6437a0
Fix timing bug for back-to-back CustomExecution tasks
...
Fixes #131926
2021-11-02 14:01:34 +01:00
Johannes Rieken
13f383439f
no test.only, fyi @bpasero
2021-11-01 15:14:36 +01:00
Benjamin Pasero
6ed67dd61e
editors - return undefined
from openEditor
when operation cancelled ( fix #134786 )
2021-10-28 09:23:08 +02:00
Tyler Leonhardt
5c0e664fd3
ensure show() hide() show() hide() emits two didHide events. Fixes #135747
2021-10-27 15:23:53 -07:00
Megan Rogge
5350eaa205
skip failing test
2021-10-15 09:41:50 -07:00
Benjamin Pasero
1afe238fed
comment out failing test ( #135157 )
2021-10-15 13:40:33 +02:00
Johannes Rieken
7283f5cb7c
fix https://github.com/microsoft/vscode/issues/130057
2021-10-12 13:12:11 +02:00
Matt Bierner
5fc835305a
Re-enable webview tests on web ( #134300 )
...
* Enable webview tests on web
These tests pass fine on Chrome and webkit. On Firefox, the two about loading resources currently fail
I spent a while trying to debug what is going on with these tests. It seems like the service workers is registered properly but `fetch` is never called on it. Skipping these for now
* Remove only
* Fix test
2021-10-01 12:32:29 -07:00
Logan Ramos
26ba13ff98
Fix + re-enable close tests
2021-09-27 10:52:47 -04:00
Logan Ramos
d2c8185df9
Skip tab close test for now
2021-09-24 15:57:24 -04:00
Logan Ramos
7800296d17
Add close to tab model
2021-09-24 15:53:38 -04:00
Logan Ramos
cbe175f438
Fix tests attempt number two
2021-09-24 10:12:52 -04:00
Logan Ramos
ce7c00f4fb
Fix integration tests
2021-09-24 09:43:06 -04:00
Logan Ramos
620a61f5a3
Add more move tests
2021-09-24 09:09:35 -04:00
Logan Ramos
927a28da01
Add tab move tests
2021-09-23 15:35:34 -04:00
Johannes Rieken
ba961427c3
fix https://github.com/microsoft/vscode/issues/132981
2021-09-23 14:55:54 +02:00
Logan Ramos
c46e473ad8
Re-enable notebook in tabs test
2021-09-17 13:08:44 -04:00
Daniel Imms
4a7fddb0d2
Fix TerminalState tests
2021-09-17 06:31:43 -07:00
Matt Bierner
8b285b170e
Add log for failing test
2021-09-16 15:21:28 -07:00
Logan Ramos
76c3eb94c9
On the fly tab model construction ( #133025 )
...
* Enrich the change event
* Initial tab model building
* Work in progress model construction
* Add pauseable emitter
* Attempt using microtask
* Make tests pass
* Update active tab logic
* Fix layering issue
* event rename
* PR feedback
* Remove stray new line
* Add test for microtask emitter
* Add move event
* Add mmerge functionality to Microtask emitter
* Fix compilation errrors
* Fix tests
* Add tests to address feedback
* Change editor change event to an array
* Add array support to editorsChangeEvent
* Update src/vs/workbench/common/editor/editorGroupModel.ts
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
* Switch to a less efficient array method
* Add console.log for debugging
* Test with different notebook
* Fix notebook URI
* For now split up file open for better debugging
* Don't use notebook in test for now
* Cleanup event
* Fix tests
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2021-09-16 14:34:54 -04:00
Martin Aeschlimann
57dde04b44
Can't read StatusBarItem.tooltip anymore. Fixes #133231
2021-09-16 11:57:26 +02:00
Benjamin Pasero
8de035e09d
tests - remove only
usage
2021-09-15 16:40:21 +02:00
Benjamin Pasero
129e62c989
storage - do not fail state access for extensions ( #132777 ) ( #133071 )
2021-09-15 07:34:54 +02:00
Matt Bierner
0db5f55854
Unskip two webview tests
...
These reliably pass locally for me
2021-09-14 14:29:55 -07:00
Logan Ramos
65a8d1234c
Remove diff resource
2021-09-08 14:20:08 -04:00
Raymond Zhao
df115e761a
Revert "Re-enable tab tests"
...
This reverts commit e0cdd0974b
.
Revert reason: browser integration tests failing
2021-09-08 10:31:46 -07:00
Logan Ramos
e0cdd0974b
Re-enable tab tests
2021-09-08 10:35:58 -04:00
Logan Ramos
b699fab482
Skip tests
2021-09-07 18:34:16 -04:00
Logan Ramos
0f238bf3f9
Try promise.race
2021-09-07 17:40:43 -04:00
Logan Ramos
e287a168dc
Fix tab tests
2021-09-07 10:31:47 -04:00
Logan Ramos
d9a63f4cd8
Fix tabs tests
2021-09-07 09:49:34 -04:00
Tyler Leonhardt
997228d528
verify uri is correct
2021-09-04 08:58:31 -07:00
Tyler Leonhardt
15dfc742a6
ensure event comes from edit
2021-09-03 18:25:25 -07:00
Tyler Leonhardt
e415d6ff35
revert test to unblock build
2021-09-03 17:59:05 -07:00
Tyler Leonhardt
3ccb217338
add additional logging
2021-09-03 16:18:03 -07:00
Tyler Leonhardt
319a72459f
fix windows CI failure
2021-09-03 16:06:37 -07:00
Tyler Leonhardt
4735c328d7
add confidence correction for language detection
2021-09-03 14:49:53 -07:00
Logan Ramos
9408062d1a
Add active tab test
2021-09-03 15:46:07 -04:00
Logan Ramos
82a3d2645f
Skip tabs test
2021-09-03 14:56:52 -04:00
Logan Ramos
5d7f4d3461
Add todo and remove test.only
2021-09-03 14:29:28 -04:00
Logan Ramos
22ca6611bd
Add get tabs tests
2021-09-03 13:47:01 -04:00
Johannes Rieken
f71aba6560
make sure createDiagnosticsCollection doesn't leak RPC, https://github.com/microsoft/vscode/issues/115679
2021-08-27 12:12:53 +02:00
Matt Bierner
d082058d44
Add API for setting kernelspec in ipynb files ( #131219 )
...
* Add API for setting kernelspec in ipynb files
Fixes #130602
This adds a new API to the built-in ipynb extension that lets other extension set the kernelspec metadata on a notebook file
* Temporarily skip the notebook editor tests
We need the new webview content to be published before these can run
* Use `custom` instead of top level property
2021-08-24 18:06:53 -07:00
Matt Bierner
d152e72606
Skip webview test on web for now
2021-08-24 18:06:18 -07:00
Matt Bierner
a024cbcc42
Unskip tests
2021-08-24 15:14:15 -07:00
Matt Bierner
065b5f9715
Don't skip webview tests
...
Should be fixed now
2021-08-24 15:08:11 -07:00
Rob Lourens
f4db5eac35
Disable tests that hit the notebook webview (see e4a7f93ed3
)
2021-08-24 00:03:09 -07:00
Rob Lourens
2212b766aa
Also skip Notebook API Tests (see e4a7f93ed3
)
2021-08-23 23:17:54 -07:00
Matt Bierner
e4a7f93ed3
Temporarily skip the notebook editor tests
...
We need the new webview content to be published before these can run
2021-08-23 19:25:55 -07:00
Daniel Imms
23760f5234
Remove change state event interface
...
Part of #127717
2021-08-19 14:40:33 -07:00
Tyler Leonhardt
78414130c7
update setting since we support non-untitled editors for language detection and clean up code a tad.
2021-08-18 10:54:32 -07:00
Alex Ross
84a8a567e8
Move TaskGroup isDefault api out of proposed
...
Part of #79188
2021-08-16 15:07:07 +02:00
Daniel Imms
ddcf2d6630
Dispose of terminal at end of onDidChangeTerminalState test
2021-08-13 07:00:41 -07:00
Daniel Imms
189a73a197
Add listener to disposables array
2021-08-13 06:45:36 -07:00
Daniel Imms
be646cf780
Use correct assert import
2021-08-12 17:21:26 -07:00
Daniel Imms
241a07d412
Add test, finish piping through interaction event
...
Part of #127717
2021-08-12 15:33:25 -07:00
Tyler Leonhardt
84abbfba40
rename language detection setting and ensure one worker gets created
2021-08-12 13:38:54 -07:00
Matt Bierner
ab8e743520
Organize imports in ext tests
2021-08-11 16:55:51 -07:00
rebornix
0ab9d9926d
revert undo/redo fix for scrolling. fix #130607 , #130617
2021-08-11 16:04:00 -07:00
Rob Lourens
ff681a5db2
Ensure final cell execution update is not delayed
2021-08-11 14:52:52 -07:00
rebornix
5dd10ce83b
no more undo command test.
2021-08-06 13:03:40 -07:00
Tyler James Leonhardt
cfcda1c048
Improve performance of language detection ( #130006 )
...
* initial move to worker
* move event handling to the untitledTextEditorModel
* reuse simpleWorker interfaces and classes
* use correct path to languageDetection
* have vscode-languagedetection be outside of the asar
* add telemetry
* don't unpackage anything from languagedetection because it's not needed
* add an integration test
* some of Ben's feedback
* rework worker code to avoid duplication
* add isDisposed check
* fix test
* Isi and Ben feedback part 2
* use RunOnceScheduler instead and try to fix the test using events
* Ben feedback part 3
* bump distro
2021-08-06 11:56:14 -07:00
rebornix
369afa6562
fix #121100 . PausableEmitter
2021-08-04 11:59:29 -07:00
Megan Rogge
d579ec3d9b
fix #121523
2021-08-04 12:14:59 -04:00
Rob Lourens
fd48df6c7f
Skip failing test
2021-08-03 20:01:27 -07:00
Rob Lourens
bb4a627722
💄
2021-08-03 11:26:09 -07:00
Rob Lourens
1d8a91d86f
Add integration test for opening a ipynb file
2021-08-03 11:19:22 -07:00
rebornix
02baf27ea5
💄
2021-07-27 11:57:02 -07:00
Alex Ross
3d5b13265d
Re-add task default API with fixes ( #129397 )
...
Part of #79188
2021-07-26 15:30:46 +02:00
Daniel Imms
5b5766d77d
Fix async in terminal ext host and custom pty impl terminals
...
Fixes #129240
2021-07-23 06:15:00 -07:00
meganrogge
9b5319cab4
await create terminal call
2021-07-22 20:16:11 -07:00
Daniel Imms
740774991e
Remove debug logs
2021-07-16 08:27:51 -07:00
Daniel Imms
bbd67acb25
Remove replaceAll
2021-07-16 06:52:18 -07:00
Daniel Imms
fcce57fc66
Debug logs in test
2021-07-16 06:05:34 -07:00
Daniel Imms
4bcac02b15
Revert "skip failing tests - #128828 "
...
This reverts commit 599f5d2c67
.
2021-07-16 05:16:01 -07:00
Sandeep Somavarapu
599f5d2c67
skip failing tests - #128828
2021-07-16 11:43:24 +02:00
Alex Ross
cbde02b886
Failing test: Revert "Add isDefault to TaskGroup API ( #128596 )"
...
This reverts commit 48975dc080
.
2021-07-16 10:16:16 +02:00
headerjson
48975dc080
Add isDefault to TaskGroup API ( #128596 )
...
* first pass at adding api
(cherry picked from commit 8a583c52ee
)
* add task2 remaining changes
* remove unnecessary changes
* modify tasks.json directly for test
* reset tasks in test
* Fix compilation errors
Co-authored-by: Alex Ross <alros@microsoft.com>
2021-07-15 15:42:12 +02:00
Daniel Imms
3cd98a5056
Fix flakiness in test and re-enable
...
Fixes #128710
2021-07-15 06:32:31 -07:00
Daniel Imms
91ef2dd04a
Remove child process monitor logs
2021-07-15 05:56:14 -07:00
Daniel Imms
b605479359
Disable suite instead of just test
2021-07-14 19:00:56 -07:00
Daniel Imms
039582c0dd
Disable env var collection test on Windows
...
See #128710
2021-07-14 17:42:34 -07:00
Logan Ramos
b97c839e57
Forgot to re-enable test
2021-07-07 15:47:41 -04:00
Logan Ramos
601afb43f8
Fix build
2021-07-07 15:36:11 -04:00
rebornix
01759044cf
re #115679 .
2021-07-05 14:45:27 -07:00
Johannes Rieken
84d21d968d
more stable integration test: onDidOpenNotebookDocument
2021-06-29 08:25:54 +02:00
Johannes Rieken
2c62cbf2cb
Merge branch 'main' into notebook/dev
2021-06-10 11:33:04 +02:00
Daniel Imms
5266c72cd9
Merge pull request #125743 from microsoft/tyriar/119826
...
Re-enable environment variable collection tests
2021-06-09 15:24:43 -07:00
Johannes Rieken
b64e5eefc0
make output on cancel/interrupt unit tests instead of integration tests, https://github.com/microsoft/vscode/issues/125665
2021-06-09 09:15:52 +02:00
Johannes Rieken
ccb86ac811
default kernels uses cell text as output
2021-06-08 16:16:34 +02:00
Daniel Imms
6913aad2da
Re-enable environment variable collection tests
...
Fixes #119826
2021-06-08 05:45:40 -07:00
Johannes Rieken
78fe62bb76
use more showNotebookDocument, less activeNotebookEditor
2021-06-08 12:05:52 +02:00
Johannes Rieken
606a550a52
have only one kernel by default, bring in other kernels per test and use the assertKernel util to ensure the selected kernel is the wanted kernel
2021-06-08 11:58:40 +02:00
rebornix
aafce57f5c
consolidate move cell commands.
2021-06-07 16:23:04 -07:00
rebornix
896c26bdb3
Move editor tests to notebook.editor
2021-06-07 16:06:44 -07:00
rebornix
c8928f8111
status bar test suite setup.
2021-06-07 14:14:20 -07:00
rebornix
f05512d87e
statusbar suite.
2021-06-07 14:10:34 -07:00
rebornix
5c063c5f83
move document event tests into notebook.document
2021-06-07 13:34:37 -07:00
rebornix
ef62adb3ba
start separating tests.
2021-06-07 12:03:55 -07:00
rebornix
51ccb0434d
multi tabs and custom metadata.
2021-06-07 11:51:19 -07:00
rebornix
6259f7ca84
more showNotebookDocument for workspace edit tests.
2021-06-07 11:45:31 -07:00
rebornix
af4086099f
move towards openNotebookDocument.
2021-06-07 11:30:10 -07:00
rebornix
809dfb41a2
remove join cell test covered by unit test.
2021-06-07 11:10:04 -07:00
rebornix
9369a1671f
remove only.
2021-06-07 09:27:02 -07:00
rebornix
ca92f34eb2
re #125369 . remove use of delete command
2021-06-04 16:17:27 -07:00
Johannes Rieken
e43c3957f6
rename onDidChangeNotebookAssociation to onDidChangeSelectedNotebooks
2021-06-03 11:27:09 +02:00
rebornix
68e862e1d6
skip flaky window test.
2021-06-02 16:18:52 -07:00
rebornix
26cd18321b
remove backwards compatible tests.
2021-06-02 14:12:21 -07:00
Johannes Rieken
b5bdc48d55
use vscode.notebooks not vscode.notebook
2021-06-02 14:58:51 +02:00
Johannes Rieken
109c9d9486
adopt viewType everywhere and drop support for it, fixes https://github.com/microsoft/vscode/issues/125163
2021-06-02 12:05:19 +02:00
Johannes Rieken
ac05ae7b6f
move file'ish things into workspace namespace
2021-06-02 09:43:07 +02:00
Johannes Rieken
0b6e70302f
remove deprecated API
2021-06-02 09:24:43 +02:00
Johannes Rieken
d487b379ba
Merge branch 'main' into notebook/dev
2021-06-02 08:16:13 +02:00
rebornix
b154a3d304
skip view column test.
2021-06-01 18:30:38 -07:00
Rob Lourens
8df0f06858
Group startTime and endTime into a single object
2021-06-01 16:30:38 -07:00
Rob Lourens
ef28d1663d
Inline parameters to execution task start and end
2021-06-01 16:13:27 -07:00
Johannes Rieken
6fe84c402b
Merge pull request #125106 from microsoft/joh/api/noMetadataType
...
Remove dedicated types for notebook and cell metadata
2021-06-01 19:24:40 +02:00
Johannes Rieken
545b931b96
remove dedicated types for notebook and cell metadata
2021-06-01 14:50:53 +02:00
Johannes Rieken
b1457fa4b6
remove NotebookCellOutputItem#metadata
2021-06-01 13:59:44 +02:00
Johannes Rieken
83d5e2bda0
rename namespace to notebooks, https://github.com/microsoft/vscode/issues/122922
2021-05-31 13:06:14 +02:00
Johannes Rieken
4202ab071a
rename NotebookCellOutput#outputs to #items
2021-05-28 17:57:50 +02:00
Matt Bierner
9eeb092206
Re-enable skipped test
...
Fixes #119146
2021-05-27 15:44:27 -07:00
Johannes Rieken
9d907212ba
rename NotebookCellExecutionTask to NotebookCellExecution
2021-05-27 12:14:20 +02:00
rebornix
473cfe28bf
Revert "Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main""
...
This reverts commit 7c01395da1
.
2021-05-25 17:49:34 -07:00
Harald Kirschner
7c01395da1
Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main"
...
This reverts commit 7a976501eb
, reversing
changes made to 2257676834
.
2021-05-25 17:19:40 -07:00
rebornix
b4f4839da5
fix integration test
2021-05-25 14:31:40 -07:00
rebornix
e1731e9104
fix build
2021-05-25 14:23:05 -07:00
Matt Bierner
b1823157d5
Fall back to existing published webview commit ( #119295 )
2021-05-24 22:36:22 -07:00