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
Matt Bierner
68a4e01246
Use resolve(void 0) instead of resolve(null) for void promises
...
Fixes a common type error
2018-12-13 15:20:46 -08:00
Johannes Rieken
653280d133
debt - Thenable -> Promise
2018-12-13 11:31:54 +01:00
Alex Dima
29dd4e77de
Keep track of activating extensions
2018-12-13 11:22:26 +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
Alex Dima
aa3ea85b0a
Explorations
2018-11-30 15:54:40 +01: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
37037eac8a
#23251 Expose global storage path in proposed API
2018-11-28 16:33:59 +01:00
Christof Marti
4ccfe19815
Include extension version
2018-11-15 17:40:19 +01:00
Christof Marti
abbaa68483
Telemetry for extension activation times
2018-11-09 11:14:26 +01:00
Christof Marti
c391faf35a
_vscodeSystemProxy option ( #60773 )
2018-10-29 15:10:00 +01:00
Alex Dima
17454d4e88
Organize imports
2018-10-23 09:54:11 +02:00
Christof Marti
4e436d128c
Investigate using Electron's resolveProxy API ( #60773 )
2018-10-22 20:00:58 +02:00
Benjamin Pasero
4a18377f15
storage - restore ExtensionStoragePath
2018-10-22 14:50:50 +02:00
Benjamin Pasero
7036953b12
storage - cleanup
2018-10-22 13:40:33 +02:00
Benjamin Pasero
c760849845
Merge branch 'master' into ben/ws-storage
2018-10-22 08:59:00 +02:00
Johannes Rieken
45f4904378
debt remove TPromise from extHost-files #53526
2018-10-19 09:49:05 +02:00
Benjamin Pasero
2d2d715496
storage - write workspace.json from renderer
2018-10-17 19:03:20 +02:00
Benjamin Pasero
c2ef06ef8a
storage - introduce workspaceStorageHome to environment
2018-10-17 12:52:42 +02:00
Benjamin Pasero
2ce9665b30
Allow globalState to be synchronized across multiple windows ( #61024 )
...
* Allow globalState to be synchronized across multiple windows (fixes #55834 )
* address some feedback
2018-10-16 18:52:50 +02:00
Matt Bierner
0318e90c93
Add null type annotations for the common x: T = null pattern
...
In these cases, the programmer has explicitly indicated that the type should be nullable
2018-10-11 14:13:20 -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
2e14dce0d5
make sure to use fsPath when populating the extension index #55340
2018-09-17 12:16:59 +02:00
Rob Lourens
82a2a4762c
Telemetry for #34711
...
Capture workspaceContainsTimeout numbers
2018-09-14 18:48:46 -07:00
Sandeep Somavarapu
546032756a
Use URIs instead of strings while passing environment to Extensionhost
2018-09-05 17:29:01 +02:00
Alex Dima
34837504ba
debt - More precise typings
2018-09-05 12:21:06 +02:00
Alex Dima
591e83f8a4
Reduce usage of TPromise in extHost.protocol
2018-09-04 16:04:53 +02:00
Johannes Rieken
2d452e0a7e
uri - replace usages of default export with named export
2018-09-03 10:54:50 +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
Johannes Rieken
5174205b09
avoid async and winjs.promise, #53442
2018-07-02 15:04:42 +02:00
Alex Dima
2a575f1472
Fix usage of IMainContext / IExtHostContext
2018-06-12 16:40:56 +02:00
Alex Dima
0252ac49bc
Introduce and adopt extensionLocation
2018-05-07 17:28:59 +02:00
Alex Dima
8e5a374372
Fixes #44956 : Propagate extension activation errors in the activate() calls
2018-04-06 11:55:46 +02:00
Ramya Achutha Rao
89b196e08f
Publisher info is now considered SystemMetaData
2018-03-28 19:39:30 -07:00
Ramya Achutha Rao
451372e82b
Add old properties back until we retire them post nova
2018-03-27 14:59:43 -07:00
Ramya Achutha Rao
eb7edb6c33
Send publisherInfo as new properties for extensions from gallery. GDPR
2018-03-26 21:05:37 -07:00
Alex Dima
262134cfd8
Reduce extension host IInitData
2018-03-20 16:55:38 +01: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
Ramya Achutha Rao
366c8eb9c3
publisherDisplayName is PublicPersonalData
2018-03-13 19:18:09 -07:00
Alex Dima
8bfa7ffd2e
Move IExtensionService up to /workbench/ ( fixes #44281 )
2018-02-23 17:38:24 +01:00
Johannes Rieken
3dd2035b13
another try, #41408
2018-01-24 09:55:50 +01:00
Johannes Rieken
acf50ea95a
Revert "Revert "add 'configuration' (read uri/path) of workspace config file, #41408 ""
...
This reverts commit 1cacde3496 .
2018-01-24 09:54:15 +01:00
Sandeep Somavarapu
c9b291978c
#39574 Implement log level transmission to extension host
2018-01-23 19:31:12 +01:00
Sandeep Somavarapu
de24732aa9
Implement #39574
2018-01-23 17:28:53 +01:00
Joao Moreno
1cacde3496
Revert "add 'configuration' (read uri/path) of workspace config file, #41408 "
...
This reverts commit 3ecef8c1dd .
2018-01-23 11:23:02 +01:00
Johannes Rieken
3ecef8c1dd
add 'configuration' (read uri/path) of workspace config file, #41408
2018-01-23 10:17:51 +01:00