Commit Graph

43 Commits

Author SHA1 Message Date
Johannes
464a36d785 tabs - add onDidChangeTab which fires when only a tab changes, don't fire TabGroup even for that anymore, go 180 and remove ExtHostEditorTabs again 2022-03-18 15:29:28 +01: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
02f15063a0 Implement other tab inputs 2022-03-17 15:50:01 -04:00
Matt Bierner
41dad79edc Fix bad merge 2022-03-17 11:26:38 -07:00
Matt Bierner
bc9de9e7eb Pick up TS 4.7 for building VS Code (#145273)
Adds fixes for https://github.com/microsoft/TypeScript/issues/48276
2022-03-17 11:10:35 -07:00
Johannes
2f9632ec45 first steps towards Tab#input 2022-03-17 16:49:34 +01:00
Logan Ramos
c56ff000d4 Move close and add array support 2022-03-17 10:59:28 -04:00
Logan Ramos
1e0f8c9ba1 Re-enable vscode.open tab est 2022-03-17 10:59:27 -04:00
Johannes
b88f400ec8 tackle a todo, implement vscode.TabGroups with the ExtHostTabGroups/apiObject trick, enforce and test readonly-ness, fyi @lramos15 2022-03-17 13:01:26 +01:00
Johannes
d2336f07b7 use the correct this for active group and active tab 2022-03-17 11:12:20 +01:00
Logan Ramos
a223750f17 Fix #144664 2022-03-16 16:59:11 -04:00
Logan Ramos
da52702687 Abstract ExtHostEditorTabs 2022-03-16 14:05:00 -04:00
Matt Bierner
f911411c46 Revert "Pick up new TS version for building VS Code"
This reverts commit cd522655a1.

This breaks some of our build scripts. Needs more work
2022-03-15 10:06:22 -07:00
Matt Bierner
cd522655a1 Pick up new TS version for building VS Code 2022-03-15 09:53:01 -07:00
Logan Ramos
ed5a545047 Fix #145111 2022-03-15 09:55:57 -04:00
Logan Ramos
53aaa205e6 Fix #144605 2022-03-14 13:26:45 -04:00
Logan Ramos
4aead3cdbd Test for onDidChangeActiveTabGroup 2022-03-04 14:36:26 -05:00
Logan Ramos
083989d9a2 Introduce onDidChangeActiveTabGroup 2022-03-04 10:57:36 -05:00
Logan Ramos
0aa4642a59 Rename additionalResourcesAndViewIds 2022-03-04 08:52:36 -05:00
Logan Ramos
2300322fc0 viewId -> viewType tab API 2022-03-03 10:58:22 -05:00
Logan Ramos
70479cc8d1 Fix #143718 2022-03-01 10:09:19 -05:00
Logan Ramos
cc5519bc3f Add tab pin status 2022-02-22 10:52:46 -05:00
Logan Ramos
17fb3990ff Add tab kind to the tabs api 2022-02-18 16:26:00 -05:00
Logan Ramos
f932fd6ae4 Add isDirty 2022-02-16 15:35:49 -05: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
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Matt Bierner
757da367d3 Clean up types for Tab public api
- prefer using `| undefined` for managed types
- Add readonly
2021-10-12 12:11:34 -07: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
927a28da01 Add tab move tests 2021-09-23 15:35:34 -04:00
Logan Ramos
3720741a11 Add move support to tabs 2021-09-23 14:21:57 -04:00
Logan Ramos
6c5b3dfea1 Update proposed.d.ts 2021-09-21 15:39:36 -04:00
Logan Ramos
f713624feb Add index to tab 2021-09-21 14:27:33 -04:00
Logan Ramos
7eb84845c6 Sort by view column 2021-09-20 11:41:25 -04:00
Logan Ramos
65824647a6 Update tabs structure 2021-09-08 14:31:28 -04:00
Logan Ramos
65a8d1234c Remove diff resource 2021-09-08 14:20:08 -04:00
Logan Ramos
9408062d1a Add active tab test 2021-09-03 15:46:07 -04:00
Logan Ramos
22ca6611bd Add get tabs tests 2021-09-03 13:47:01 -04:00
Logan Ramos
fe53ae0c9f Add side by side editor to tab api proposal 2021-09-02 15:17:58 -04:00
Logan Ramos
c2d0a69f87 Implements a starting tab reading API (#131998)
* Clean up proposed.d.ts

* More API Polish

* Allow resource to be undefined

* Fix hygiene

* Address feedback

* Remove unnecessary iteration

* Use index from map
2021-09-02 10:48:38 -04:00
Alex Ross
f41b6e6d81 Add active editor to editor tabs and use in variable resolver (#123450) 2021-05-11 01:47:28 -07:00
Johannes Rieken
e9263cc826 some API proposal for open editors 2021-01-20 12:35:18 +01:00