Commit Graph

35 Commits

Author SHA1 Message Date
Johannes Rieken
fd487a7ed6 fix https://github.com/microsoft/vscode/issues/91852 2020-03-03 11:02:23 +01:00
Matt Bierner
0b3aa0a6ea Let extensions prepopulate the issue reporter title and description (#91039)
* Let extensions prepopulate the issue reporter title and description

Fixes #91028

Adds two new optional arguments to the `vscode.openIssueReporter` command: `issueTitle` and `issueBody`. These are taken using an options object and are used to pre-populate the native issue reporter fields

Hooks up these fields for TypeScript's report issue prompt. We use this to post the most recent TS Server error stack

* Extract duplicate command id to constant

* Log version directly instead of prompting users for it
2020-02-20 10:31:09 -08:00
Johannes Rieken
926fc23f13 more strict functions #81574 2020-02-11 10:28:47 +01:00
Brett Cannon
58e3989d05 Fix plurality in command docs
Manually fixed in docs at https://github.com/microsoft/vscode-docs/pull/3379.
2020-02-03 13:41:04 -08:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
rzj17
fc50b4e4b5 Add additionalTextEdit and command conversion to CompletionItem 2019-12-31 10:30:15 +00:00
Johannes Rieken
783970456b debt - migrate more language api commands onto new format 2019-12-11 16:39:57 +01:00
Johannes Rieken
41f0705204 debt - use new ApiCommand for executeWorkspaceSymbolProvider 2019-12-11 16:39:57 +01:00
Johannes Rieken
b04c6f9e2e update API command for #85533 2019-11-25 17:06:16 +01:00
Johannes Rieken
e5719685cc implement api commands for call hierarchy, #83274 2019-11-07 14:05:50 +01:00
Johannes Rieken
5cf90246f9 remove call hierarchy API commands since the API/flow changes, #83274 2019-10-25 08:48:36 +02:00
Johannes Rieken
0fc92f222f fix tests 2019-10-08 14:13:14 +02:00
Matt Bierner
90f33ddc6d Use DisposableStore in a few more places
- Also switches a few places that re-implemented Disposable with calls to `_register` instead
2019-10-07 15:40:01 -07:00
Johannes Rieken
904ab2364e in extension land prefer URI.isUri, fixes #81819 2019-10-07 08:30:18 +02:00
Johannes Rieken
5e417f3d22 calls - fix api command and tests 2019-09-12 16:52:55 +02:00
jrieken
96665b6e7a calls - add API commands 2019-09-12 14:35:21 +00:00
Yuya Tanaka
46c702b118 Fixes #78098: Return isPreferred from vscode.executeCodeActionProvider 2019-08-08 10:27:05 +09:00
Yuya Tanaka
bb27a11386 Fixes #77997: Let executeCodeActionProvider pass-through Selection obj. 2019-08-08 10:27:05 +09:00
Johannes Rieken
32da48e7a0 consistent dto namings 2019-08-05 16:50:13 +02:00
Johannes Rieken
629ef6a295 strict init, #78168 2019-08-05 11:09:41 +02:00
Tony Xia
78954dd6b2 Fixed a typo in vscode.executeCodeLensProvider args 2019-06-30 14:10:07 +10:00
Johannes Rieken
300e4bdf2a fix #75746 2019-06-19 11:18:32 +02:00
Johannes Rieken
cb865f934a remove extHostHeapService, use normal cache in commands converter, #74846 2019-06-14 13:02:18 +02:00
Johannes Rieken
35643d80e0 add lifecycle to code lens, #74846 2019-06-05 08:52:31 +02:00
Rachel Macfarlane
ea7e2600d8 Expose vscode.openIssueReporter command that allows passing an extensionId to open the reporter with 2019-04-11 14:28:53 -07:00
Johannes Rieken
c0821aa5e9 move extHost-files to common 2019-04-10 10:26:52 +02:00
Johannes Rieken
81456a7212 move api/common to api/browser 2016-01-11 14:44:13 +01:00
Johannes Rieken
fa1c52de3b towards code lens lifecycle, still #1698 2016-01-04 18:48:19 +01:00
Johannes Rieken
048581bdd1 💄 registerApiCommand 2016-01-04 12:44:56 +01:00
Benjamin Pasero
5906207073 workbench api linting 2015-12-21 18:51:51 +01:00
Johannes Rieken
8aadd81678 debt - rename PluginHostXYZ to ExtHostXYZ, do the same for filenames 2015-12-21 11:46:00 +01:00
Martin Aeschlimann
b1ea910757 Move overwriteBefore/overwriteAfter to ISuggestion 2015-12-11 11:18:43 +01:00
Johannes Rieken
bf6db83167 unused imports and other tslint findings 2015-12-10 15:25:06 +01:00
Johannes Rieken
d6c5d857e5 make description less verbose 2015-12-10 11:27:22 +01:00
Johannes Rieken
b357a46d69 rename to extHostApiCommands 2015-12-10 10:39:27 +01:00