Commit Graph

32 Commits

Author SHA1 Message Date
Eric Amodio
3d1596c779 Adds cancellation to children fetch to avoid timing issue on refresh (#107407)
This PR fixes #107405
2020-09-28 17:08:10 +02:00
Eric Amodio
eabb747d82 Closes #105667 - finalizes treeview description 2020-09-23 15:56:37 -04:00
Alex Ross
10c7db89ee Add color to ThemeIcon (#106491)
Part of #103120
2020-09-16 11:20:52 +02:00
Eric Amodio
aa6259c1ca Renames titleDescription to description 2020-09-15 13:23:30 -04:00
Eric Amodio
9d5ecab825 Adds titleDescription to TreeView 2020-09-15 13:23:30 -04:00
SteVen Batten
cca20eba89 Revert "API proposal for tree item icon color"
This reverts commit 52e557f26b.
2020-09-11 17:25:12 -07:00
Alex Ross
52e557f26b API proposal for tree item icon color
Part of #103120
2020-09-08 17:18:39 +02:00
Alex Ross
97bf8e14f5 Move isMarkdownString to extHostTypes MarkdownString 2020-07-13 11:52:17 +02:00
Alex Ross
622aa939d9 Allow unsupported types for tree tooltip
Fixes #102170
2020-07-13 11:15:17 +02:00
Alex Ross
b086502c8d Properly convert markdown for tree hovers
Fixes https://github.com/microsoft/vscode-pull-request-github/issues/1945
2020-07-02 12:10:21 +02:00
Alex Ross
39a406daa3 Add resolveTreeItem to custom tree
Part of #100741
2020-06-24 16:29:01 +02:00
Alex Ross
fb36c0ddc3 Adopt hover service in custom tree view
Part of #100741
2020-06-22 11:09:44 +02:00
isidor
6e50f24e64 vscode api: introduce accessibilityInformation 2020-05-14 17:25:46 +02:00
Rachel Macfarlane
58945490b4 Update onDidChangeTreeData event type, fixes #96932 (#96933) 2020-05-04 12:11:20 -07:00
Konstantin Solomatov
28bf0b1f56 Use leading flag set to true in debouncing events from extension trees (#88051)
* Use leading flag set to true in debouncing events from extension trees

* - remove the flag for debounce in extHostTreeView
- refactor test extHostTreeView's test to test prod behavior
- fix a small bug in debounce

* Minor cleanup
2020-01-24 12:02:19 +01:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
Matt Bierner
d4ab1fcda5 Fixes more node 12 typing errors (#85420)
* Fixes more node 12 typing errors

For #82514

* Remove Symbol.toStringTag usage for now

* Reverting a few fixes that are not comptible with current node typings

* Revert one more use of StringDecoder

Must wait until we actually pick up the new typings
2019-11-25 19:30:21 -08:00
Alex Ross
9dcd33183c Finalize tree view title API
#84466
2019-11-20 10:26:20 +00:00
Alex Ross
1aa537bf59 Use log service in exthosttask and exthosttreeviews
Part of #84283
2019-11-12 10:33:21 +01:00
Matt Bierner
b0dccbcf75 Marking a bunch of static variables as readonly
Readonly helps out with TS's type guards and is also a good best practice. Specifically, readonly strings/numbers have their literal type instead of a generic `string` | `number` type, which can help catch dead code and some common programming mistakes
2019-10-07 15:40:02 -07:00
Johannes Rieken
904ab2364e in extension land prefer URI.isUri, fixes #81819 2019-10-07 08:30:18 +02:00
Alex Ross
462a8be7d4 Add title API for tree views (#80623)
* First pass at set view title

* Change to get/set instead of setTitle

and get the name of the view from the extension contributions
2019-09-11 10:56:45 +02:00
Alex Ross
232b6a3515 Finalize multi-select support for custom tree view
Fixes #76941
2019-08-22 10:52:50 +02:00
Alex Ross
cdea3dcf3b Multi-select in custom tree view (#78625)
Part of #76941

The first argument is now the element that the command is executed on. The second argurment is an array of the other selected items
2019-08-15 11:15:31 +02:00
Johannes Rieken
192e15b613 remove support for markdown message in tree view, only support plain string 2019-08-12 16:54:15 +02:00
Alex Ross
5d8c287767 Add refresh queueing for tree views
Fixes #71698
2019-08-09 15:41:12 +02:00
Alex Ross
780a5085d7 Strict init for tasks, file picker, and custom view
Part of #78168
2019-08-05 14:38:04 +02:00
Sandeep Somavarapu
3b9d26ded9 #76442 fix implicit any 2019-07-09 12:28:52 +02:00
Johannes Rieken
c8843e3b0d final touch at heap service removal, #74846 2019-06-19 10:58:24 +02:00
Benjamin Pasero
bb0603c573 adopt more DisposableStore/MutableDisposable (#74922) 2019-06-17 09:31:13 +02:00
Sandeep Somavarapu
92fed79878 #74846 Dispose internal commands 2019-06-12 16:49:10 +02:00
Johannes Rieken
c0821aa5e9 move extHost-files to common 2019-04-10 10:26:52 +02:00