Commit Graph

26 Commits

Author SHA1 Message Date
Eric Amodio
a1932df627 Changes moveViews command to "preserve" view state
When you move views via the command, they won't get expanded or made visible

Co-authored-by: SteVen Batten <stbatt@microsoft.com>
2020-09-23 19:15:36 -04:00
Eric Amodio
6fded22e74 Avoids focusing a view, instead focus container 2020-08-31 19:07:30 -04:00
Eric Amodio
dc2d2ef3bc Moves command into vscode. namespace
Stops using moveViewsToContainer in 1 shot
2020-08-31 19:07:30 -04:00
Eric Amodio
748fc4021a Open in background on vscode.[open|openWith|diff] 2020-06-10 17:51:57 -04: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
Benjamin Pasero
33189b32f2 workspaces service 💄 2020-02-06 08:36:32 +01:00
Benjamin Pasero
2585092dbe tests - reduce output of integration tests (#84283) 2020-01-15 12:56:22 +01:00
Matt Bierner
cb4ef36e6d Make sure we restore the previous editor when switching back to it 2020-01-10 18:19:41 -08:00
Matt Bierner
a0328d26ac Add 'vscode.reopenWith' API command
Fixes #88426

Add an api command that allows extensions to open/reopen a file with a specific we custom editor. Use this to allow re-opening a failed to load image as text/binary

For #77131
2020-01-10 14:25:21 -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
Matt Bierner
b0dccbcf75 Marking a bunch of static variables as readonly
Readonly helps out with TS's type guards and is also a good best practice. Specifically, readonly strings/numbers have their literal type instead of a generic `string` | `number` type, which can help catch dead code and some common programming mistakes
2019-10-07 15:40:02 -07:00
Benjamin Pasero
f8cdbe7421 host - reduce methods that are required 2019-09-30 11:32:31 +02:00
Benjamin Pasero
4e4cb81c57 debt - merge workspaces and history into one 2019-09-27 09:33:43 +02:00
Benjamin Pasero
86f3a07e29 debt - rename platform/history => workspacesHistory 2019-09-26 16:34:17 +02:00
Benjamin Pasero
a036c0f273 debt - introduce and use workspaces history service 2019-09-26 15:34:04 +02:00
Benjamin Pasero
5a60e6fb9b debt - add openInWindow to host 2019-09-25 08:26:51 +02:00
Rob Lourens
70f3a0970d Fix microsoft/vscode-remote-release#1444 2019-09-20 10:55:55 -07:00
Alex Ross
78d48a09cd Get recently opened 2019-08-20 17:37:29 +02:00
Sandeep Somavarapu
53fe1660c9 Move download command to extension host 2019-07-20 05:17:46 +02:00
Benjamin Pasero
e8792f4b79 web - implement recently opened and preserve fullscreen on switch (fix #76034) 2019-07-01 08:44:19 +02:00
Martin Aeschlimann
363c8bc1a7 support forceReuseWindow for vscode.openFolder 2019-04-24 17:51:44 +02:00
Benjamin Pasero
ee27818f73 💄 - less usage of URI.fsPath 2019-04-23 18:00:20 +02:00
Benjamin Pasero
c72cfe0c65 Provide API to get access to the workspace configuration file (#37421) (#72490)
* Provide API to get access to the workspace configuration file (#37421)

* fix untitled ID

* update docs
2019-04-17 14:24:10 +02:00
LeuisKen
f341515fac update implements according to suggestion
Change-Id: I25f92e400ef2f999d604e5ca97637145142de1a1
2019-04-12 17:03:26 +08: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