Commit Graph

2163 Commits

Author SHA1 Message Date
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
3c913dd861 Merge branch 'master' into ben/ws-storage 2018-10-22 12:56:55 +02:00
Alex Ross
e3f803d92c Add a new presentation option to clear the terminal before executing task (#61329)
Fixes #30058
2018-10-22 09:58:15 +02:00
Benjamin Pasero
c760849845 Merge branch 'master' into ben/ws-storage 2018-10-22 08:59:00 +02:00
Rob Lourens
0c1c02c827 Limit search provider extensions to one per scheme 2018-10-19 21:40:47 -07:00
Johannes Rieken
45f4904378 debt remove TPromise from extHost-files #53526 2018-10-19 09:49:05 +02:00
Rob Lourens
b17e21d0ad Split text and file search interfaces 2018-10-18 16:49:58 -07:00
Rob Lourens
4b5f23f4ca Move all old text search code under legacy/ 2018-10-18 16:48:39 -07:00
Benjamin Pasero
f710788ab5 Merge branch 'master' into ben/ws-storage 2018-10-18 14:31:57 +02:00
Johannes Rieken
faf868edf4 propagate error when it happens very early, make sure to throw meaningful error on ext host side, #61182 2018-10-18 12:20:05 +02:00
Rob Lourens
d47f6b4f99 Fix #61041 2018-10-17 20:22:12 -07:00
Matt Bierner
202c2b697f let -> const 2018-10-17 16:29:31 -07:00
Matt Bierner
f6397266ab Use namespaces for converts
Most converters are already using namespaces. Switch a few using const object to use namespaces instead
2018-10-17 16:28:50 -07:00
Matt Bierner
e377ec6ed2 Use to for converting to extension host
Fixes #61141
2018-10-17 16:25:57 -07:00
Benjamin Pasero
2d2d715496 storage - write workspace.json from renderer 2018-10-17 19:03:20 +02:00
Andre Weinand
48adb204e9 never convert relative paths to URIs; fixes #60667 2018-10-17 16:48:07 +02:00
Johannes Rieken
078b1415e4 add proposed api for CompletionItemInsertTextRule, #57093 2018-10-17 15:10:15 +02:00
Johannes Rieken
349c18db22 add CompletionItemInsertTextRules on modes.ts so that we can have that in vscode.d.ts, #57093 2018-10-17 15:10:15 +02:00
Benjamin Pasero
c2ef06ef8a storage - introduce workspaceStorageHome to environment 2018-10-17 12:52:42 +02:00
Andre Weinand
1a348aa9f9 clone DAP message before modifying it; fixes #61129 2018-10-17 12:19:59 +02:00
Johannes Rieken
06fe5c4f8b debt - remove TPromise.any and use Promise.race instead 2018-10-17 11:25:08 +02:00
Matt Bierner
5527b1ee42 Fix some simple strict null errors in extHostTypes
#60656
2018-10-16 17:10:43 -07:00
Daniel Imms
a1f0c4b5ee Revert "Don't set en_US.UTF-8 on Windows when setLocale is false"
This reverts commit dbdbbe5259.
2018-10-16 15:14:45 -07: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
Johannes Rieken
ebeff1000b eng - less TPromise usage 2018-10-16 17:16:12 +02:00
Johannes Rieken
7688411a9c fix #60394 2018-10-16 10:46:00 +02:00
Rob Lourens
2fdd6c1021 Refactor search - add config to run search in EH 2018-10-15 22:50:20 -07:00
Rob Lourens
a32b10881b Run file search in EH 2018-10-15 21:35:10 -07:00
Rob Lourens
5c23d38a09 Refactor search - move file search code out of ExtHostSearch
Not generic now, maybe in the future
2018-10-15 21:35:10 -07:00
Rob Lourens
e07cacd1f2 Refactor search - rename files 2018-10-15 16:28:31 -07:00
Rob Lourens
c26d6e6c93 Refactor text seach
To allow better code sharing between EH and search proc
2018-10-15 16:28:31 -07:00
Rob Lourens
ee40fa3e0d Text search in EH 2018-10-15 16:28:31 -07:00
Johannes Rieken
5e8d5af6a1 fix #60449 2018-10-15 12:40:14 +02:00
Rob Lourens
3d3df21a92 Fix #50676 - unreponsive window for some searches in EH 2018-10-12 16:48:35 -07:00
Matt Bierner
69fd947d76 Mark types as nullable where we explicitly assign something to undefined 2018-10-11 16:45:05 -07: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
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
Johannes Rieken
d166c0c8ca Merge pull request #60167 from Microsoft/tyriar/58357
Stabilize active terminal APIs
2018-10-09 12:09:43 +02:00
Johannes Rieken
291f9af174 debt - less TPromise usage 2018-10-09 10:35:13 +02:00
Daniel Imms
ab8bc96039 Stabilize active terminal APIs
Fixes #58357
2018-10-08 11:03:00 -07:00
Johannes Rieken
1580cd1846 first version of simple clipboard API, #217 2018-10-08 12:38:36 +02:00
Johannes Rieken
31f86f72bd update ParameterInformation#label in extHostTypes.ts, #56337 2018-10-08 10:27:20 +02:00
Johannes Rieken
9fa354a7aa update internal API to allow parameter label to be an offset-range of its the signature label, #56337 2018-10-08 10:22:54 +02:00
Matt Bierner
2f51e97117 Add retrigger characters to SignatureHelpProvider
Introduces the concept of a re-trigger character to the signature help provider. This is a seperate set of characters that are registered with the provider. Typing a retrigger character fires a new signature help request if signature help is already showing.

#54972
2018-10-05 16:01:02 -07:00
Rob Lourens
38a2c24ca2 Merge pull request #59717 from skprabhanjan/fix-59364
Fix #59364 : Respect global .gitignore when searching
2018-10-04 11:40:23 -07:00
Andre Weinand
744d94ab42 don't try to use non-existing tracker 2018-10-04 13:28:10 +02:00
Christof Marti
f523fd2036 Fire onDidHide only once (fixes #57852) 2018-10-04 13:10:18 +02:00
Matt Bierner
f7456ebf90 Switch to use standard @types/node types instead of our customized version
Using a custom version of the node typings is causing a lot of pain while trying to upgrade our build to use `@types` instead of the `d.ts` files we have to maintain. I believe we primarily maintain our own version for two reason:

- Custom require function
- setTimeout and other timer functions return NodeJs.timer instead of a number

These can both be delt with, the first by using interface augmentation and the second by switching to use any types for timer. I believe that the pain of maintaining our own node `d.ts` outweighs the benefits here

This change switches us to use the standard @types/node package for our node typings
2018-10-03 14:18:36 -07:00