Commit graph

42477 commits

Author SHA1 Message Date
Alex Dima e7f0b64a1a Fixes Microsoft/monaco-editor#1013 2018-11-15 10:12:10 +01:00
Ramya Rao 2836b09e4b
Use <user-file-path> instead of aaaaaaaaaa (#63075)
* Use <user-file-path> instead of aaaaaaaaaa

* address review comments

* Update unit tests
2018-11-14 22:47:01 -08:00
Rob Lourens df8ea54c53 Bump node2 2018-11-14 21:05:46 -08:00
Rob Lourens 663f427015 Attempt to fix #63047 2018-11-14 18:55:41 -08:00
Matt Bierner f31bc50d1c Use correct position for requesting closing jsx tags
Fixes #63178

Make sure we compute the correct line and offset for multi-line changes
2018-11-14 18:37:00 -08:00
Rob Lourens 5867b96a25 More Promise removal 2018-11-14 16:52:50 -08:00
Matt Bierner 30b2a5fd94 Replace !isFalsyOrEmpty with isNonEmptyArray
This new call works as a type guard and can help avoid writing double negations

Avoid either call in cases where we were iterating over the possibly undefined value. Use `|| []` for these
2018-11-14 16:06:13 -08:00
Matt Bierner 8392c36a49 Introduce isNonEmptyArray
This negation of `isFalsyOrEmpty` works better for type guards. After the check, you know that you have an array with at least one element
2018-11-14 15:51:34 -08:00
Matt Bierner f205b5a846 Fix refactoring action provider not being queried when using a kind filter
The provided kind can either be a subset of a superset of the filter
2018-11-14 15:39:34 -08:00
Matt Bierner 80aeb774f6 Fix possible undefined access exception when using apply "first" for a code action and no code actions are returned
Fixes #63101
2018-11-14 15:39:34 -08:00
Rob Lourens 3c6b6e614d Fix #63033 2018-11-14 15:11:20 -08:00
Rob Lourens a832bf0879 Fix #63088 2018-11-14 15:11:20 -08:00
Matt Bierner 92f9f50a93 Don't disable manual code action requests on blank lines
From https://github.com/Microsoft/typescript-tslint-plugin/issues/28

**Bug**
We currently block manually requesting code actions on blank lines, even if actions are available. I believe this was introduced by https//github.com/microsoft/vscode/commit/d8ec15e625cb8f340278e875895d0667a9e28032

**Fix**
Only block automatic requests on blank lines
2018-11-14 15:05:05 -08:00
Matt Bierner c7af5bdf26 Use hasModel type guard 2018-11-14 15:00:22 -08:00
Matt Bierner 813d3aa393 Fixing some more restrictive tslint errors 2018-11-14 14:45:13 -08:00
Matt Bierner bd314b04a8 Remove extra await 2018-11-14 14:26:46 -08:00
Matt Bierner 3aa49aa583 Improve method names 2018-11-14 14:16:46 -08:00
Matt Bierner d6b6c51b6e Make sure we dispose of reader properly 2018-11-14 14:15:31 -08:00
Rob Lourens 6ef7e81ec0 Fix #62980 2018-11-14 09:20:23 -08:00
isidor 347fb6347b add all cgmanifests. Still no commitHash 2018-11-14 18:18:25 +01:00
Rob Lourens c8cbfdad24 Revert "Fix #62980"
This reverts commit e97f612172.
2018-11-14 08:46:03 -08:00
Rob Lourens e97f612172 Fix #62980 2018-11-14 08:43:33 -08:00
Alex Dima 1cf9a6eb53 Make capabilities dynamic 2018-11-14 17:23:48 +01:00
Yisrael 5a8087c60e custom name when there are multiple outline providers 2018-11-14 18:13:52 +02:00
isidor cd547158be tree: if horizontal scrolling is enabled leave space for it 2018-11-14 16:58:53 +01:00
Sandeep Somavarapu 55f63af5a7 Fix #60014 2018-11-14 16:40:43 +01:00
Johannes Rieken 56307cf9f5 fix #63126 2018-11-14 16:31:01 +01:00
isidor 63fdd96218 fixes #61986 2018-11-14 16:10:05 +01:00
Johannes Rieken aa4ef3a42c only add focus change listener once 2018-11-14 16:00:14 +01:00
Andre Weinand e2f8c3c404 Debug API: surface Breakpoint.id; for Microsoft/vscode#48722 2018-11-14 15:41:29 +01:00
Sandeep Somavarapu 99f8f2492b Fix #62794 2018-11-14 15:30:24 +01:00
Sandeep Somavarapu 78dc613940 Do not pass context explicitly 2018-11-14 12:31:22 +01:00
Johannes Rieken c9408a6940 add LocationLink use it in Declaration-type, make DefinitionLink an alias, #62483 2018-11-14 12:21:16 +01:00
Sandeep Somavarapu 8a50fcabc5 tweaks 2018-11-14 11:59:21 +01:00
Sandeep Somavarapu 74bb246cc0 Move uri transformer to shared process 2018-11-14 11:59:21 +01:00
Andre Weinand 08aa66112f node-debug@1.30.1 2018-11-14 11:51:19 +01:00
Alex Dima a08a3c6473 Fixes Microsoft/monaco-editor#1183 2018-11-14 11:19:28 +01:00
Andre Weinand 3f6901d478 correct fix for #63028 2018-11-14 10:57:31 +01:00
Johannes Rieken 33c89529be fix #63062 2018-11-14 09:39:18 +01:00
Johannes Rieken b7816b0629
Merge pull request #63096 from eamodio/fixes-markedstring-href-encoding
Fixes #63095 - html encode hrefs in marked strings
2018-11-14 09:35:03 +01:00
Joao Moreno 237b77bac9 prepare for ts 3.2 2018-11-14 09:29:01 +01:00
Eric Amodio e9932be154 Fixes #63095 - html encode hrefs in marked strings 2018-11-14 01:43:07 -05:00
Rob Lourens 5fc60ec679 Fix #63015 2018-11-13 21:35:16 -08:00
Matt Bierner c95cd6cae1 Strict null auto add 2018-11-13 17:17:44 -08:00
Matt Bierner 4737e3efd1 Fixing TS 3.2 compile errors 2018-11-13 17:13:15 -08:00
Matt Bierner 4f227dd88c Use 'references' instead of 'occurrence' to power document highlights
`occurrence` is marked as deprecated
2018-11-13 17:13:15 -08:00
Rachel Macfarlane ad5f5ea365 Expose 'apply' and 'diff --cached' from git extension API 2018-11-13 16:18:37 -08:00
Andre Weinand 61e117b234 fix #63028 2018-11-14 00:50:55 +01:00
Andre Weinand fb61dd1885 add config to vscode.DebugSession 2018-11-14 00:50:55 +01:00
Andre Weinand 63b07c144d make IConfig.name mandatory 2018-11-14 00:50:55 +01:00