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
Martin Aeschlimann
683a76f295
use FileDialogService with vscode APIs
2018-10-03 16:54:02 +02:00
Johannes Rieken
7d7c27cf3e
less strict checking of rename locations, #58907
2018-10-03 16:49:09 +02:00
Matt Bierner
be38e56996
Remove duplicate blank lines at the start of some files
2018-10-02 16:28:19 -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
Matt Bierner
c63c97c128
Remove use strict directives in main vs code ts files
...
We compile using the alwaysStrict flag so these directives are not needed
2018-10-02 16:05:44 -07:00
Johannes Rieken
e808161b9e
perf - pre-compute and cache lower case variants for label, sortText, and filterText
2018-10-02 17:46:04 +02:00
pkoushik
c4928076b7
fix #59364 - Review #2
2018-10-02 19:35:18 +05:30
Johannes Rieken
a157002380
debt - remove suggest adapter and use CompletionItemProvider from modes.ts. Also fixes https://github.com/Microsoft/monaco-editor/issues/985
2018-10-02 15:58:45 +02:00
Johannes Rieken
d00e5cb041
debt - replace CompletionItem#overwriteBefore/After with CompletionItem#range
2018-10-02 15:31:47 +02:00
Johannes Rieken
3f12ef35a8
debt - modes.ISuggestSupport becomes modes.CompletionItemProvider
2018-10-02 15:31:47 +02:00