Commit Graph

758 Commits

Author SHA1 Message Date
Johannes Rieken
232006c427 use electron openExternal, return boolean-promise, rename to 'open', #66741 2019-01-21 17:03:15 -08:00
Matt Bierner
bcc2281e45 Rename CodeAction.canAutoApply -> CodeAction.preferred
Part of #62110

Use the more generic name as suggested in https://github.com/Dart-Code/Dart-Code/issues/1393. This makes the intent of the field more clear and also allows us to extend the concept of preferred code actions to refactorings and other classes of code actions

Experimentally also allows a `preferred` value for `apply` when configuring code aciton keyboard shortcuts. This applies the preferred code action returned from the list of code actions returned
2019-01-21 14:09:30 -08:00
Gabriel DeBacker
8f21e46353 Merge with master 2019-01-20 09:06:42 -08:00
Gabriel DeBacker
75f82ce09a Get terminal re-use and task restart working 2019-01-19 08:00:36 -08:00
Johannes Rieken
f9d0c4b2cb wire up read/write correctly, #66759 2019-01-18 18:51:39 -08:00
Johannes Rieken
073aba1923 first cut proposed api for vscode.open, #66741 2019-01-18 11:27:26 -08:00
Alex Dima
ae72d6983d Handle added/removed extensions in bulk 2019-01-18 17:16:46 +01:00
Gabriel DeBacker
54b9bba47e Callbacks now function 2019-01-17 09:29:47 -08:00
isidor
7bd16e21c8 label service new structure for formatters 2019-01-17 18:04:37 +01:00
Gabriel DeBacker
8fe69fe73f Start to hook up the terminal and execution 2019-01-16 21:59:26 -08:00
Matt Bierner
1904cd8d84 Prototype auto fixable quick fixes
Part of #62110

- Adds a new field `canAutoApply` to code actions. This field indicates that a code action can be applied without additional user input. For quick fixes, this should be set if the fix properly addresses the error

- Enable auto fixes for TS spelling errors

- Added a `editor.action.autoFix` command to triggers auto fixes at the current cursor position
2019-01-16 17:56:22 -08:00
Alex Dima
924b7a1fea Handle the case of removing an extension from the extension host 2019-01-15 23:04:45 +01:00
Alex Dima
471a786cf3 Activate newly installed/enabled extensions 2019-01-15 13:51:15 +01:00
Alex Dima
2fe9de8511 Initialize configuration data through ExtHostConfiguration 2019-01-14 17:28:14 +01:00
Gabriel DeBacker
e1d8493f28 Implement creating a razzle terminal with approved API changes 2019-01-11 10:27:18 -08:00
Johannes Rieken
14ce5183db renames, #58649 2019-01-11 16:18:56 +01:00
Alex Dima
46d1ac2bbc Add "Measure Extension Host Latency" action 2019-01-09 08:38:30 +01:00
Alex Dima
9cf36cdf8f Rename CanonicalExtensionIdentifier to ExtensionIdentifier 2019-01-07 12:00:54 +01:00
Andre Weinand
ac39335c81 remove obsolete Tracker API 2019-01-07 10:28:46 +01:00
Alex Dima
25417553be Adopt case insensitive extension identifiers 2018-12-21 12:41:41 +01:00
Rachel Macfarlane
c5c15eb75f Add document parameter to draft methods on comments provider 2018-12-18 14:57:50 -08:00
Daniel Imms
e110245f13 Merge branch 'master' into kieferrm/terminal-cwd 2018-12-17 11:21:20 -08:00
Johannes Rieken
514ec620de add SelectionRange and SelectionRangeKind, #63935 2018-12-17 15:10:18 +01:00
Matt Bierner
986f924ad5 Prefer using Array<T> for complex array types
Use `Array<T | U>` when dealing with union types instead of  `(T | U)[]`
2018-12-13 16:40:44 -08:00
Daniel Imms
e7102b1824 Send terminal name with id when it's ready
Fixes #64390
2018-12-13 08:07:55 -08:00
Dirk Baeumer
51f7beb40c Fixes #64918: Remove old task conversion code 2018-12-13 14:45:51 +01: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
kieferrm
f8d555167e allow terminal.cwd to be a URI 2018-12-05 14:48:18 -08:00
Johannes Rieken
07be58bbad add proposed api for smart select, #63935 2018-12-03 11:29:12 +01:00
Alex Dima
aa3ea85b0a Explorations 2018-11-30 15:54:40 +01:00
rebornix
9eb6d908e3 remove unused method 2018-11-29 10:38:42 -08:00
rebornix
52811a3a48 Merge remote-tracking branch 'origin/master' into rebornix/commentsgrouping 2018-11-29 10:33:39 -08:00
rebornix
8d78edddaa render pending comment 2018-11-28 16:05:16 -08:00
Sandeep Somavarapu
37037eac8a #23251 Expose global storage path in proposed API 2018-11-28 16:33:59 +01:00
rebornix
11d48f122e first cut 2018-11-27 16:02:39 -08:00
Daniel Imms
daf4deaf0c Terminal process request improvements 2018-11-26 14:42:35 -08:00
Andre Weinand
8780c7b4f8 finalize DA & Tracker Debug APIs 2018-11-25 16:29:00 +01:00
Andre Weinand
e40df5770d adopt DAP attribute "runInTerminal.shellProcessId"; fixes #63434 2018-11-19 16:02:25 +01:00
Johannes Rieken
58d5205e5a naming and doc tweak for #62839 2018-11-16 16:05:58 +01:00
Sandeep Somavarapu
a8838578af #61312 Implement message for tree views 2018-11-16 14:57:32 +01:00
Andre Weinand
fb61dd1885 add config to vscode.DebugSession 2018-11-14 00:50:55 +01:00
Andre Weinand
b9fc2c1c20 debug api: add workspacefolder to DebugSession 2018-11-14 00:50:55 +01:00
Andre Weinand
8ec8c9774c debug API: introduce DebugAdapterProvider 2018-11-13 00:03:10 +01:00
Johannes Rieken
201b6dac6a add proposed api for declaration provider, add test, add ipc logic, #62483 2018-11-12 11:05:59 +01:00
Johannes Rieken
d4116a8f38 tweak markdown string conversion and rendering 2018-11-09 10:50:20 +01:00
Johannes Rieken
0b99867455 working on markdown string dto 2018-11-09 10:50:20 +01:00
Alex Dima
e146b7aad6 Tweak IExtHostContext 2018-11-07 20:55:08 +01:00
isidor
a6fe9800e9 mainThreadDebugService: get rid of TPromise 2018-11-07 12:31:16 +01:00
Dirk Baeumer
41c02aa888 Fixes #62594: Resolving process task doesn't take task system into account 2018-11-05 15:10:59 +01:00