Commit graph

108652 commits

Author SHA1 Message Date
Matt Bierner cc244e095a
Fix outfiles for VS Code API tests (#182228)
This lets you correctly hit breakpoints in the API tests
2023-05-11 14:33:29 -07:00
David Dossett 1724b50cd0
Use descriptionForeground for inline chat label (#182226) 2023-05-11 22:04:43 +02:00
Matt Bierner bf7ca503c2
Fix drop priorities for notebooks (#182209)
For copy paste, I added logic to prefer using the text content if there's both `image/*` and `text/*` content in the clipboard

This however I also incorrectly applied this logic when dropping. In those cases, we instead want to prefer the image data (at least we do in the case of dragging and dropping from VS Code's explorer)
2023-05-11 13:03:28 -07:00
Joyce Er 27d61a6129
Allow storing arrays in StorageService (#182220) 2023-05-11 12:55:57 -07:00
Benjamin Pasero aaccd9b296
Merge pull request #182224 from microsoft/ben/zippy-raccoon
More improvements to readonly mode
2023-05-11 21:48:04 +02:00
Benjamin Pasero a038f78c3c
readonly - speed up expression parsin 2023-05-11 21:20:29 +02:00
Benjamin Pasero 70ecd26862
readonly - clarify how glob patterns match from settings 2023-05-11 20:58:13 +02:00
Benjamin Pasero 9083e8dacf
readonly - also use in explorer 2023-05-11 20:52:57 +02:00
Andrea Mah 637b2934cc
Replace all on file shall not be shown if none of the matches support replace (#182113)
* Replace all on file shall not be shown if none of the matches support replace
Fixes #177808
2023-05-11 11:44:04 -07:00
Peng Lyu 0231286067
Handle arrow key conflicts (#181981)
* Handle arrow key conflicts

* Fix arrow keys for livepreview mode.

* fix merge issues
2023-05-11 09:28:07 -07:00
João Moreno dc897c6c4f
fix #181484 (#182207) 2023-05-11 17:51:29 +02:00
João Moreno ac6d6b7be3
fix #181478 (#182205) 2023-05-11 17:41:02 +02:00
Daniel Imms 4a9ec29ee2
Merge pull request #181919 from microsoft/tyriar/179972
Improve trace logging in local link detector
2023-05-11 08:38:22 -07:00
Benjamin Pasero 7c870a8508
readonly - do not apply setting to workspace file 2023-05-11 17:26:17 +02:00
Benjamin Pasero 9d0b7ce730
debt - speed up sticky scroll unit tests (#149712) (#181196) 2023-05-11 15:24:51 +00:00
Daniel Imms d289165170
Merge pull request #182067 from microsoft/tyriar/181755
Fire onDidRemoveStatus if the status differs
2023-05-11 08:13:01 -07:00
Johannes Rieken b3efe9858f
joh/capable viper (#182193)
* move creation of session into the session service, keep sessions ref-counted

* wip

* inline chat improvements

* turn the asyn-do-while loop into a state machine so that it can be paused/resumed
* externalize more state into Session and response types
* fix a few issues in the strategies and widgets
2023-05-11 17:03:16 +02:00
Ladislau Szomoru 572ccd1fff
SCM - group statusbar commands (#182195) 2023-05-11 07:52:16 -07:00
Sandeep Somavarapu b259712e90
Fix #180867 (#182192) 2023-05-11 16:45:50 +02:00
Alex Ross ef15095b34
Add option to make port public in notification (#182190)
* Add public option to notification

* Fix rebase error
2023-05-11 15:43:17 +02:00
Daniel Imms a9d434a110
Stub log service in test 2023-05-11 06:36:46 -07:00
Matt Bierner 945077a032
Fix paste edit providers incorrectly overwriting data transfer values (#182169)
At present, copy providers on the ext host side return the full data transfer object passed to them (which includes any additions they make). We then use this to construct a new data transfer that is passed on to paste providers

There are a few bugs with this approach:

- If there are multiple copy providers, they can incorrectly end up overwriting each other. For example if the initial data transfer contains `text/plain` and there are two providers, the first of which tries writing a new `text/plain`, the second provider will overwrite this with the initial `text/plain` value

- If the original data transfer contains multiple entries for a mime, these always end up being overwritten with a single value

- We shouldn't waste type transferring value back to the main thread if the main thread already has them

This PR tries to fix this by skipping ext host to main thread transfer of non-modified data transfer items. As part of this work, I reworked a few internal structures and introduced a new `IReadonlyVSDataTransfer` interface to make it more clear when a internal data transfer is or is not expected to be modified
2023-05-11 15:26:42 +02:00
Hermann Loose ad91a63f89
Fix color descriptions for comment icons (#181628) 2023-05-11 15:18:18 +02:00
Hermann Loose dff86132bf
Add separate overview ruler colors for resolved & unresolved comments (#181520) 2023-05-11 15:17:52 +02:00
Ulugbek Abdullaev bdbcda4cd9 abstractKeybindingService: add tests for empty-string/null keybindings 2023-05-11 15:10:42 +02:00
Bhavya U 92d9a37a3e
Clean up remoteMetadata initialization (#182160) 2023-05-11 10:41:05 +02:00
Peng Lyu 02298ef418
Extract embed diff editor context key. (#182135) 2023-05-10 16:45:05 -07:00
Matt Bierner 522b80f9bc
Don't throw on main thread when messaging disposed webviews (#182132)
Fixes #173291

It's possible for the ext host to try performing an action on a webview that has been disposed but where the dispose message hasn't yet reached the ext host.  We currently throw in these cases and there's nothing an extension could do to prevent this

With this change, I've removed the exception logic so these types of messages to the main thread will just noop. On the ext host side, we still throw an error if you try posting to a webview that the ext host knows for sure is disposed of. This is usually a real bug in extension code. Extensions can prevent it by checking if the webview they are holding has been disposed of before making a request to it
2023-05-11 01:23:26 +02:00
Raymond Zhao 075c89881f
Bump emmet-helper (#180583) 2023-05-10 16:17:58 -07:00
David Dossett bac40305c0
Remove final period characters on inline input messages (#182129)
Remove final periods on inline input messages
2023-05-11 01:04:18 +02:00
Tyler James Leonhardt a9c2b682ed
Make proposed API clearer (#182093)
* Add missing typedoc

* Also update docs for proposed

* rename getSessions to authGetSessions
2023-05-10 22:27:26 +00:00
Aaron Munger 8f92d4b1ef
Merge pull request #182117 from microsoft/aamunger/linkDetection
reduce false positive link detection
2023-05-10 15:06:07 -07:00
Peng Lyu 19545fea33
Fix isEmbeddedDiffEditor context key. (#182112)
Fix isInEmbeddedEditor context key.
2023-05-10 14:47:31 -07:00
Matt Bierner 4d38422afe
Add priority to paste / drop apis (#182109)
* Add priority to paste / drop apis

Fixes #181886

Replacement for #181453

* Make notebooks prefer text over creating attachments
2023-05-10 14:18:05 -07:00
Aaron Munger 54f486aba5
Merge branch 'main' into aamunger/linkDetection 2023-05-10 14:05:53 -07:00
aamunger 2a7639b907
use look behind so whitespace is not matched 2023-05-10 13:59:44 -07:00
Aaron Munger 46b7e7b02c
Merge pull request #181949 from r3m0t/interactive-window-compact-b
Interactive window- don't leave space for insert toolbar
2023-05-10 13:37:31 -07:00
aamunger 5cedfd4b84
reduce false positive link detection 2023-05-10 13:33:14 -07:00
Connor Peet d3d9f86116
cli: store cli in user data dir, separate per quality (#182102)
* cli: store cli in user data dir, separate per quality

Fixes #181017

On first run, the `~/.vscode-cli` will be migrated inside the user data dir of the currently running quality.

* use create_dir_all instead

* clippy fixes
2023-05-10 13:09:23 -07:00
Matt Bierner 8b11c814cc
Use better placeholder for move to file (#182108) 2023-05-10 12:56:25 -07:00
rebornix 2e440e12cd
introduce explicit isReadonly in notebook options 2023-05-10 12:00:39 -07:00
Ladislau Szomoru b4469cf109
Git - add setting to control default branch name (#181884)
* Initial implementation

* Refactor based on discussions

* More pull request feedback
2023-05-10 20:52:13 +02:00
Bhavya U 4bbf1ad5fb
Update remote tunnel action to execute action (#182103) 2023-05-10 11:17:47 -07:00
rebornix 831e530de9
Merge remote-tracking branch 'origin/main' into pr/r3m0t/181949 2023-05-10 11:15:22 -07:00
Daniel Imms cc443365dc
Merge pull request #182100 from microsoft/tyriar/181939
Make 633 parsing more strict
2023-05-10 10:42:26 -07:00
Daniel Imms 7518104a20
Add tests for 633 E capability 2023-05-10 10:27:25 -07:00
Daniel Imms 418a4e2333
Make 633 parsing more strict
Fixes #181939
2023-05-10 10:18:39 -07:00
Connor Peet e29ee620ca
testing: fix icon on the margin doesn't work (#182094)
Fixes #182056
2023-05-10 19:03:59 +02:00
Rob Lourens 67de6c1d53
Fix for multiple handlers on single list row (#182084)
Fix #97820
2023-05-10 16:41:06 +00:00
Sandeep Somavarapu de89c63acc
adopt to web platform specifier (#182072)
#180525 adopt to web platform specifier
2023-05-10 18:36:58 +02:00