Commit Graph

83 Commits

Author SHA1 Message Date
Benjamin Pasero
210fa4274d paths - adopt basename() 2019-02-12 17:12:25 +01:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Matt Bierner
d40fa4a27e Review uses of Promise.resolve(null)
Many `Promise.resolve(null)` should actually be `Promise.resolve(void 0)`. In other cases, we were missing a null return annotation.
2018-12-13 15:41:13 -08:00
Johannes Rieken
c6c7edaa9f debt - asThenable -> asPromise because it returns a promise 2018-12-13 11:45:48 +01:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Joao Moreno
408e03220c event namespace consolidation & docs 2018-12-11 10:14:38 +01:00
Matt Bierner
0928a6d348 Prefer coalesce over filter
Coalesce has the correct return type of `T[]`. Filter may return `(T | undefined)[]`
2018-12-07 16:32:45 -08:00
Sandeep Somavarapu
34b655147e - Remove proposed api check for collpaseAll
- Add proposed api check for treeview message and globalStorage
2018-11-30 10:48:11 +01:00
Sandeep Somavarapu
15ab767a1d #62795 Add proposed api to render description of a tree item 2018-11-19 14:29:19 +01:00
Sandeep Somavarapu
a8838578af #61312 Implement message for tree views 2018-11-16 14:57:32 +01:00
Sandeep Somavarapu
759fec1680 rename 2018-11-16 14:57:31 +01:00
Sandeep Somavarapu
f43082614e Check proposed api for label highlights 2018-10-29 15:54:32 +01:00
Sandeep Somavarapu
8adb061adc #55879 Add expand option to reveal API 2018-10-29 15:19:37 +01:00
Sandeep Somavarapu
d00ae9bd38 #55879 Collapse all action for custom views 2018-10-29 12:36:24 +01:00
Sandeep Somavarapu
bb7a60ffc5 Fix #61694 2018-10-24 12:27:13 +02:00
Sandeep Somavarapu
4e65cab609 Revert "Proposals for Collapse, CollapseAll, Expand APIs and implementation"
This reverts commit 677234a7c2.
2018-10-24 12:25:51 +02:00
Sandeep Somavarapu
677234a7c2 Proposals for Collapse, CollapseAll, Expand APIs and implementation 2018-10-24 12:24:12 +02:00
Sandeep Somavarapu
90052ff8c4 code review - change from object array to number tuples. Move to proposed api 2018-10-22 16:50:37 +02:00
Sandeep Somavarapu
b1e6a681ed Fix #61313 2018-10-22 13:47:22 +02:00
Johannes Rieken
45f4904378 debt remove TPromise from extHost-files #53526 2018-10-19 09:49:05 +02:00
Matt Bierner
29d97683a1 Add null annotations for x: T[] = null
This code pattern indicates that the type should be nullable
2018-10-11 14:25:11 -07:00
Matt Bierner
8087b0a8d8 Remove use strict directives in main vs code ts files (part 2)
We compile using the alwaysStrict flag so these directives are not needed

This part removes most `use strict` directives that are right after the file header
2018-10-02 16:11:05 -07:00
Johannes Rieken
4631bf9649 debt - remove TPromise from ExtHostTree and MainThreadTree 2018-09-06 12:45:00 +02:00
Johannes Rieken
2d452e0a7e uri - replace usages of default export with named export 2018-09-03 10:54:50 +02:00
Sandeep Somavarapu
03432806c8 Use URIs for custom view item's icons 2018-08-28 16:47:07 +02:00
Sandeep Somavarapu
0aee16bab6 Fix #52944 2018-07-24 16:24:25 +02:00
Sandeep Somavarapu
9e5ab55d9f Fix #52901 2018-06-27 15:20:11 +02:00
Sandeep Somavarapu
4a23d5f500 Review comments and fix tests 2018-06-25 12:37:58 +02:00
Sandeep Somavarapu
752db2bacc Add support for visibility and focus 2018-06-25 12:37:57 +02:00
Sandeep Somavarapu
5e0cd08dcb selection change event 2018-06-25 12:37:57 +02:00
Sandeep Somavarapu
6978d9e498 Fix #50663 2018-05-30 11:01:33 +02:00
Sandeep Somavarapu
8fbfcb1ce1 Fix #50143 2018-05-23 12:04:03 +02:00
Sandeep Somavarapu
fbf1fefaae Merge pull request #49970 from Microsoft/sandy081/treeViewApi
Add following to TreeView
2018-05-17 16:48:45 +02:00
Sandeep Somavarapu
58064599c5 Call selected elements - selection 2018-05-17 16:48:09 +02:00
Sandeep Somavarapu
7ed2a1d3d7 #47262 Fix tests 2018-05-17 15:50:15 +02:00
Sandeep Somavarapu
aa54908ca2 FIx #47262 2018-05-17 12:58:33 +02:00
Sandeep Somavarapu
664d97c950 Add following to TreeView
- Events to listen to when an element is expanded/collapsed
- Property to access selected elements
2018-05-16 12:56:53 +02:00
Sandeep Somavarapu
0b77964b6a #49511 Access selected elements 2018-05-15 16:54:16 +02:00
Sandeep Somavarapu
43ac4e244f #30535 expand and collapse events 2018-05-15 16:54:16 +02:00
Sandeep Somavarapu
1f9184254c Fix #47147 2018-04-03 17:21:33 +02:00
Sandeep Somavarapu
edaa790a07 Implement createTreeView API 2018-03-20 17:50:47 +05:30
Sandeep Somavarapu
10438e9c5d Fix #44735 2018-02-28 15:51:23 +01:00
Sandeep Somavarapu
1fe73ac78c 💄 #43216 2018-02-26 11:36:32 +01:00
Julien Roncaglia
03f66b39dd Merge remote-tracking branch 'upstream/master' into file_as_folder_in_custom_tree 2018-02-23 22:01:38 +01:00
Julien Roncaglia
46e9101dc1 ThemeIconCategory -> ThemeIcon 2018-02-23 22:00:11 +01:00
Sandeep Somavarapu
d9e9be8b0d Implement #30288 2018-02-23 18:04:35 +01:00
Sandeep Somavarapu
a4cfd33d7a #30288 Refactor: Hold treeItems in the node 2018-02-23 18:04:34 +01:00
Julien Roncaglia
29f6d542b8 Don't alias ThemeIconCategory 2018-02-23 13:45:22 +01:00
Julien Roncaglia
03caa411b5 Allow extensions to specify custom tree view resoure type
The FileKind was previously guessed from the collapsability of the item,
extensions now have the capability to set it manually.

Fixes #43216
2018-02-23 13:38:37 +01:00
Sandeep Somavarapu
950574c378 Fix #32012 2018-02-14 13:38:20 +01:00