Commit Graph

37 Commits

Author SHA1 Message Date
Matt Bierner
52556f9742 Auto converting let -> const where possible in mainthread and extHost
Const provides better type guards and can make logic clearer
2019-03-05 16:53:41 -08:00
Alex Dima
2ba52db77a Reroute activation for hosted extensions 2019-02-08 11:54:23 +01:00
Alex Dima
9b669a0c71 Remove extensions with dependency loops as soon as possible 2019-02-08 11:50:39 +01:00
Alex Dima
c16d569a32 Add IInitData.resolvedExtensions 2019-01-22 20:01:56 +01:00
Alex Dima
7ed411c3c2 Improve error messages 2019-01-22 19:59:28 +01:00
Matt Bierner
f89f4902ca Continue with strict null fixes for Map.get possibly returning undefined 2019-01-09 17:37:42 -08:00
Alex Dima
9cf36cdf8f Rename CanonicalExtensionIdentifier to ExtensionIdentifier 2019-01-07 12:00:54 +01:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Alex Dima
25417553be Adopt case insensitive extension identifiers 2018-12-21 12:41:41 +01:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Matt Bierner
0b1d0da7af Prefer to use .then(void 0, ..) over .then(null, ..)
ES6 promises like using undefined as their first argument instead of null. Both should behave the same behavior
2018-12-11 21:59:32 -08:00
Sandeep Somavarapu
37037eac8a #23251 Expose global storage path in proposed API 2018-11-28 16:33:59 +01:00
Christof Marti
abbaa68483 Telemetry for extension activation times 2018-11-09 11:14:26 +01:00
Alex Dima
17454d4e88 Organize imports 2018-10-23 09:54:11 +02:00
Matt Bierner
26d23c6316 Strict null checks
#60565
2018-10-22 16:07:00 -07:00
Johannes Rieken
45f4904378 debt remove TPromise from extHost-files #53526 2018-10-19 09:49:05 +02: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
Sandeep Somavarapu
2042dfa0d9 Fix #58775 2018-09-17 21:35:31 +02:00
Johannes Rieken
27c72d4ea4 remove logDirectory, #43275 2018-08-20 15:42:09 +02:00
Johannes Rieken
66205890dd Revert "Revert "remove proposed Logger-api, #43275""
This reverts commit 315cce8314.
2018-08-20 15:31:33 +02:00
Johannes Rieken
315cce8314 Revert "remove proposed Logger-api, #43275"
This reverts commit 1c72ab243c.
2018-08-17 11:04:35 +02:00
Johannes Rieken
1c72ab243c remove proposed Logger-api, #43275
we keep the LogLevel-enum and the plan is to accept the log level when
calling OutputChannel#appendLine so that
logging is supported there
2018-08-17 09:47:26 +02:00
Johannes Rieken
bbfcc67dc9 add ExtensionContext#logPath, #43275 2018-08-17 09:30:18 +02:00
Sandeep Somavarapu
b45fa88047 Do not use optional property 2018-07-12 09:56:38 +02:00
Sandeep Somavarapu
79bfb028c9 #48430 Do not activate optional dependencies 2018-07-12 09:56:37 +02:00
Alex Dima
8e5a374372 Fixes #44956: Propagate extension activation errors in the activate() calls 2018-04-06 11:55:46 +02:00
Matt Bierner
e822e655b5 Move logDirectory to ExtensionContext (#45922)
* Move the logDirectory to extensionContext

Moves the proposed `logDirectory` to `ExtensionContext` and make it synchronous

* Use string for path instead of URI
2018-03-16 14:07:09 -07:00
Alex Dima
8bfa7ffd2e Move IExtensionService up to /workbench/ (fixes #44281) 2018-02-23 17:38:24 +01:00
Benjamin Pasero
466ef767bb notifications - tweak wording of messages 2018-02-20 08:31:06 +01:00
Rob Lourens
b3fde70cb4 Move extension logger to extension context 2017-12-12 19:23:24 -08:00
Alex Dima
93469a7941 Have an activation reason 2017-11-28 17:05:35 +01:00
Matt Bierner
6663fcdebb Mark public static fields readonly 2017-11-20 15:10:14 -08:00
Benjamin Pasero
4ec5250582 promise: make sure as() returns promise like and fix errors 2017-11-08 12:33:48 +01:00
Alex Dima
27c07934d7 Have a startup flag in the extensions activation times 2017-08-25 11:42:53 +02:00
Alex Dima
227c103348 Record extensions activation times and show them in the ShowStartupPerformance action 2017-08-25 11:42:52 +02:00
Benjamin Pasero
a87dd9c7ad fix imports to single quote 2017-08-21 11:27:57 +02:00
Alex Dima
04b6de7655 Cleanup in ExtHostExtensionService 2017-08-15 16:02:55 +02:00