Commit Graph

17 Commits

Author SHA1 Message Date
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