Commit Graph

581 Commits

Author SHA1 Message Date
Daniel Imms
c8ccd07d0f Add initialText proposed API
Part of #120368
2021-04-01 12:27:13 -07:00
Ladislau Szomoru
648ea3d1e0 Refactor requireWorkspaceTrust to requestWorkspaceTrust 2021-04-01 15:59:04 +02:00
Ladislau Szomoru
6aa528024b Remove code that is not needed (#120005) 2021-03-27 07:52:29 +00:00
Ladislau Szomoru
c55aff6379 API feedback (WorkspaceTrustRequest -> WorkspaceTrustRequestOptions) (#119658) 2021-03-24 10:30:31 +01:00
Rob Lourens
7b96cc4c8b Implement Execution API (#116416)
Implement new execution task API
#106744
Fix #105847
2021-03-22 11:27:00 -07:00
Johannes Rieken
232266aaf2 first cut of IFileWorkingCopy adoption, misses saveAs and backsnapshot are improper... 2021-03-18 15:26:18 +01:00
Andre Weinand
9063d4ac76 finalize InlineValuesProvider API; fixes #105690 2021-03-16 23:15:50 +01:00
Johannes Rieken
a6d7d86e85 remove viewType from openNotebookDocument call 2021-03-10 14:30:40 +01:00
Eric Amodio
d299be88ea Updates proposal for #116906 2021-03-09 17:39:21 -05:00
SteVen Batten
0e43220113 finalize telemetry enablement api
refs #110267
2021-03-09 10:22:51 -08:00
SteVen Batten
95d3c1e63b finalize isNewAppInstall api
refs #117058
2021-03-09 10:20:18 -08:00
Johannes Rieken
9cc276648e remove onDidChangeCellLanguage-event in favor of the existing document closed/opened event sequence 2021-03-09 15:14:30 +01:00
Alex Ross
06044789bf API proposal for PortAttributesProvider (#118446)
Part of #115616
2021-03-08 15:45:32 +01:00
Johannes Rieken
6117524374 make NotebookCellData and NotebookData classes, rename NotebookCellData#cellKind to NotebookCellData#kind 2021-03-05 15:17:55 +01:00
Johannes Rieken
997c9f2930 add showNotebookDocument overload or uri 2021-03-05 14:50:47 +01:00
Connor Peet
d6b3bc68f1 testing: move types to classes instead of interfaces
Fixes #117373
Fixes #117381
Fixes #117384
2021-03-04 11:51:37 -08:00
Johannes Rieken
5ba5f986b9 remove notebook dependency from build edits
Signed-off-by: Johannes Rieken <johannes.rieken@gmail.com>
2021-03-04 18:19:50 +01:00
Johannes Rieken
16ea2f2894 remove "getter" wrapping for proposed API types (classed, enums). These checks needed to be disabled because of an TS issues 2021-03-04 12:32:06 +01:00
Johannes Rieken
f79a0df4db api todos, remove long outdated proposal 2021-03-04 12:26:22 +01:00
Matt Bierner
49d05f998f Add CodeActionTriggerKind api proposal
For #118084
Fixes #118087
2021-03-03 17:36:07 -08:00
Ladislau Szomoru
14fd07d57a Workspace trust api feedback 2021-03-03 12:41:22 +01:00
SteVen Batten
ff225b9fcc add telemetry enablement api (#117944) 2021-03-02 07:59:50 -08:00
Rachel Macfarlane
763bfde29a Remove proposed API check for registerAuthenticationProvider, fixes #117427 2021-02-23 09:52:41 -08:00
Benjamin Pasero
e4364e5f5d fix #117254 2021-02-23 08:27:52 +01:00
Ladislau Szomoru
05ea4c5e4e Removed optional message, and added modal parameter (#117241) 2021-02-22 14:10:01 +00:00
Connor Peet
5a0bf3751a testing: add method to publish extension-provided results 2021-02-18 17:33:24 -08:00
Connor Peet
b09a71dce7 testing: update test results api to spec
Refs https://github.com/microsoft/vscode/issues/107467#issuecomment-780776814
2021-02-17 16:34:01 -08:00
Johannes Rieken
5870204e95 make notebook and cell metadata classes, https://github.com/microsoft/vscode/issues/116333 2021-02-17 14:19:49 +01:00
Alex Ross
7a0caf4d86 Let Remote extensions set port source (#116838) 2021-02-17 10:33:46 +01:00
Matt Bierner
52d1b626f3 Pick up latest TS version for building VS Code 2021-02-16 14:06:58 -08:00
Andre Weinand
e537fd9e31 first cut of proposed "inline values provider" API 2021-02-16 16:31:33 +01:00
Johannes Rieken
18c04a5716 make vscode.NotebookCellRange a class 2021-02-15 16:06:48 +01:00
Johannes Rieken
868fb4c39f rename CellKind to NotebookCellKind 2021-02-12 10:25:12 +01:00
Rachel Macfarlane
eceff53351 Rename login/logout to createSession/removeSession 2021-02-11 16:46:47 -08:00
Johannes Rieken
cf7fc3918f remove CellOutputKind type 2021-02-10 19:14:22 +01:00
Connor Peet
9070508076 Merge branch 'connor4312/refactor-test-states' 2021-02-09 16:15:16 -08:00
Connor Peet
3d4cabb608 testing: refactor to new runState API
Fixes: https://github.com/microsoft/vscode/issues/115101.
See issue for details.

- Adopts the new API
- Test results now persist across reloads (last 64 runs).
- Removed state grouping in favor of sorting option.
- Code lenses are disabled for now
2021-02-09 16:12:37 -08:00
Johannes Rieken
efd5a000c0 add InlineHintKind to InlineHint-type 2021-02-09 15:56:24 +01:00
SteVen Batten
afd102cbd2 Trusted Workspaces Feature Branch Merge (#115961)
* draft trusted workspace service / model

* renaming

* add request model and action

* err fix

* add request handlers with mock actions

* some quick fixes

* adding badge icon to activity bar gear

* Add Statusbar item to indicate trust

* Cleanup code

* Add background color

* Use theme color for the status background color

* adding basic editing experience

* observe trust with startup tasks

* Extension enablement

* Add capability to provide a custom message

* Remove old actions

* explorer: if you can not undo, pass undo to editor

fixes #111630

* Remove plug icon from ports view
Part of https://github.com/microsoft/vscode-internalbacklog/issues/1689

* Fixed compilation error

* Handle extension uninstall

* Handle extension install

* Ability to prompt when state is untrusted

* Do not change state is the modal dialog is dismissed or the Cancel button is pressed

* Refactored enablement code

* Prompt when installing from VSIX

* Prompt when installing from the Gallery

* Move file into the browser folder

* fixes and polish

* restructure workspace contributions

* restructure actions and use confirmations

* Initial draft of the proposed APIs

* Added stubs for the proposed api

* Trusted Workspace proposed API

* Fix a regression introduced by merge

* status bar indicator improvements

* remove helper command as we now have hooks

* verbose messaging for the immediate request

* add indication to global activity icon of pending request

* try personal title

* Add configuration setting

* Add additional extension actions

* Fix contributions

* Removed context key that is not needed

* Fixed issue with the dialog

* Reduce arbitrary event limiter from 16ms down to 4.16666 (support for monitors up-to 240hz) #107016

* Fixes #115221: update emoji tests

* Give a higher priority to language configuration set via API call (#114684)

* debug console menu action polish

* Avoid the CSS general sibling combinator ~ for perf reasons

* more notebook todos

* Use label as tooltip fallback properly
Part of #115337

* Fixes microsoft/monaco-editor#2329: Move `registerThemingParticipant` call to `/editor/`

* Fix port label not always getting set
Part of microsoft/vscode-remote-release#4364

* simplify map creation, fyi @bpasero

* Fix #114432: Multiple save dialogs appearing on Windows if Ctrl+S is pressed multiple times (#114450)

* fix multiple save dialogs appearing on Windows when spamming Ctrl+S

* remove old fix and instead keep track of windows with open dialogs in the dialogMainService

* keep initialisation of activeWindowDialogs in constructor

* remove unused variable

* some changes

* queue dialogs based on hash of options

* simplify structure, fix comment typo

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* remove unnecessary async/await for aquireFileDialogLock method

* don't acquire file dialog lock for message boxes

* use MessageBoxReturnValue | SaveDialogReturnValue | OpenDialogReturnValue instead of any type for getWindowDialogQueue

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* 💄 dialog main service locks

* debt - adopt some ? operator

* Better hiding of custom hover in icon label

* Limit to 8ms (120fps)

* more API todos for notebooks

* 💄

* Update grammars

* chore - group notebook specific api proposals together

* added unreleased fixes to endgame notebook

* Add changes back to the modal dialog

* Add back the workspace trust proposed APIs

* Adjust dialog buttons

* Standardize on WorkspaceTrust name across interfaces, classes, variables

* Renamed some of the missing keys

* Add TestWorkspaceTrust stub and fix failing tests

* Add requiresWorkspaceTrust property to fix test failure

* remove notebook change

Co-authored-by: Ladislau Szomoru <lszomoru@microsoft.com>
Co-authored-by: isidor <inikolic@microsoft.com>
Co-authored-by: Alex Ross <alros@microsoft.com>
Co-authored-by: TacticalDan <gorksorf@gmail.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
Co-authored-by: Johannes Rieken <johannes.rieken@gmail.com>
Co-authored-by: Cameron <cameron532@gmail.com>
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2021-02-06 00:38:32 -08:00
Christof Marti
cbc01b9a7b Don't leak RPC objects from API (#115679) 2021-02-05 10:52:02 +01:00
Johannes Rieken
a60beb9d7a don't leak proxies in editor land, also remove indentSize property which isn't API 2021-02-01 12:01:50 +01:00
Johannes Rieken
3114b1c4c5 hide rpc proxies 2021-02-01 12:01:20 +01:00
Johannes Rieken
4cfd5f8508 clipboard changes 2021-02-01 12:01:14 +01:00
Matt Bierner
9ee751e859 Error if registering an unsupported scheme for external opener
Fixes #115168
2021-01-26 17:46:09 -08:00
Connor Peet
bd7dff7f07 testing: add test result to proposed api, ids for correlation 2021-01-25 12:20:28 -08:00
Matt Bierner
542de8e009 Move schemes to opener metadata 2021-01-21 14:41:25 -08:00
Johannes Rieken
e9263cc826 some API proposal for open editors 2021-01-20 12:35:18 +01:00
Matt Bierner
c42b385bce Disable contributed openers by default in calls to openExternal
Fixes #114543

External and internal callers to openExternal may not expect (or want) their urls to be handled by a contributed opener. This change makes it so you have to explicitly enable using contributed openers when calling openExternal.

It also enables using contributed openers for a few places in our codebase
2021-01-19 12:16:34 -08:00
Johannes Rieken
756337d48a Merge branch 'master' into signaure_arguments_label 2021-01-18 16:01:38 +01:00
Wenlu Wang
3c2c937f99 Merge branch 'master' into signaure_arguments_label 2021-01-18 17:38:35 +08:00