Commit Graph

119039 Commits

Author SHA1 Message Date
Tyler James Leonhardt
4e81df7ea9 Tear down the Authentication monolith (#206495)
* Tear down the Authentication monolith

Major changes:
* Turn the usage functions into a proper service `AuthenticationUsageService`
* Pull out the access data stuff into its own service `AuthenticationAccessService`
* Pull out things that make sense as actions `ManageTrustedExtensionsForAccount` `SignOutOfAccount`
* Pull out random registry stuff into a proper authentication contribution
* Pull out everything else that is extension specific into its own class (and eventually it should be in MainThreadAuthentication)
* Have the new `AuthenticationService` return a provider instead of having specific methods for getting the `label` or `supportsMultipleAccounts`

* fix tests

* fix tests
2024-02-29 05:41:11 -08:00
Daniel Imms
15a0f3c48f Merge pull request #206485 from microsoft/tyriar/198278_3
More aggressively clear viewport commands on Windows
2024-02-28 15:42:01 -08:00
Daniel Imms
dd54c3191b Merge pull request #206484 from microsoft/tyriar/199305
Adjust sticky scroll height based on endMarker
2024-02-28 15:13:03 -08:00
Daniel Imms
1ee4bfbda2 More aggressively clear viewport commands on Windows
Fixes #198278
2024-02-28 14:59:20 -08:00
Daniel Imms
50d6e94b3f Move sticky scroll endMarker clipping to element position
This means we no longer need to resize the canvas which reduces flicker.

Fixes #199305
2024-02-28 14:46:59 -08:00
Daniel Imms
5332bdfead Adjust sticky scroll height based on endMarker
Fixes #199305
2024-02-28 14:43:43 -08:00
Daniel Imms
145af9d6d5 Merge pull request #206479 from microsoft/tyriar/198541
Forward wheel events to main xterm instance
2024-02-28 14:26:44 -08:00
Daniel Imms
95f26e2ce4 Merge pull request #206481 from microsoft/tyriar/199554
Hide sticky scroll when the prompt is trimmed
2024-02-28 14:26:20 -08:00
Daniel Imms
eea2590f50 Hide sticky scroll when the prompt is trimmed
Fixes #199554
2024-02-28 14:00:54 -08:00
Daniel Imms
3b2b4cb5eb Forward wheel events to main xterm instance
Fixes #198541
2024-02-28 13:51:12 -08:00
Krzysztof Cieślak
0685fc3470 Inline edit - make sure we cancel in-progress request on blur (#206430) 2024-02-28 21:01:41 +00:00
Henning Dieterichs
4f08e9ca03 Fixes #206355 (#206473) 2024-02-28 13:01:06 -08:00
Henning Dieterichs
435f3ce9d8 Fixes #206166 (#206472) 2024-02-28 12:58:18 -08:00
Henning Dieterichs
275d365b86 debouncedObservable2 (#206470) 2024-02-28 12:57:49 -08:00
Connor Peet
f99981ed56 cli: fix compressor not draining and leading to truncated responses (#206464)
* cli: fix compressor not draining and leading to truncated responses

Fixes https://github.com/microsoft/vscode-remote-release/issues/9594

* fix lint
2024-02-28 20:47:31 +01:00
Michael Lively
eb4e516a8a Folded cells run-in-section (#205315)
* initial functionality, needs css tweaks

* update button css + add executing spinner

* mutable disposable to avoid leaking listeners
2024-02-28 20:28:09 +01:00
Megan Rogge
7368a8944c Merge pull request #206461 from microsoft/merogge/problem-collector-issue
check if event is undefined
2024-02-28 10:52:09 -08:00
meganrogge
29fe7ad529 check if event is undefined 2024-02-28 10:10:57 -08:00
Johannes Rieken
3f78333d3f chore - update distro (#206458) 2024-02-28 19:02:06 +01:00
Daniel Imms
8c2b09c044 Merge pull request #206455 from microsoft/tyriar/accept_clear
Clear terminal markers when link is opened
2024-02-28 09:25:50 -08:00
Daniel Imms
790d774fc4 Clear terminal markers when link is opened 2024-02-28 08:57:08 -08:00
Benjamin Christopher Simmonds
cff275ae64 Adopt custom hover in settings and keybindings editor (#206440)
* adopt custom hover in settings and keybindings editor

* fiy smoketests
2024-02-28 16:37:07 +01:00
Alex Ross
85a26649de Add resource hint API for commenting range provider (#206444)
Part of #185551
2024-02-28 16:01:25 +01:00
Sandeep Somavarapu
4a050aaac8 support enabling builtin extensions (#206437)
* support enabling builtin extensions

* fix tests
2024-02-28 15:29:29 +01:00
Johannes Rieken
1d5c97906e select outline element when double clicking (#206429)
fixes https://github.com/microsoft/vscode/issues/206426

re https://github.com/microsoft/vscode/issues/206424
2024-02-28 13:16:21 +01:00
Hylke Bons
4a2905319b codicons: Split list into Library and Derived 2024-02-28 13:01:24 +01:00
Johannes Rieken
763df0e037 add ExtensionContent#languageModelAccessInformation (#206420)
* makes ExtHostAuth and ExtHostLM injectable
* (hack) makes silents auth requests for all extension upon LM registration

https://github.com/microsoft/vscode/issues/206265
2024-02-28 11:55:19 +01:00
Alex Ross
729612b22c Enable pre-fetching of comments (#206421)
* Revert (most of) "Commenting range resource change proposal (#206346)"

This reverts commit 03bd0bb8d1.

* Enable pre-fetching of comments
Part of #185551
2024-02-28 11:52:22 +01:00
Sandeep Somavarapu
7a8f219122 retain telemetry (#206417) 2024-02-28 11:10:57 +01:00
Sandeep Somavarapu
e25f421789 fix #82524 (#206415) 2024-02-28 10:44:26 +01:00
Benjamin Christopher Simmonds
6504145957 Fix for native and custom hover over view titles (#206408)
fix #206367
2024-02-28 09:27:56 +01:00
Benjamin Pasero
d4a6faf8e0 Strange close icon in Switch window (fix #206391) (#206404) 2024-02-28 08:29:04 +01:00
Peng Lyu
6b1906a0ec Enable AUX window for Interactive Window (#206398) 2024-02-28 06:11:54 +01:00
Connor Peet
7c5742f4b9 testing: fix TreeError [Test Explorer List] Tree element not found: [object Object] (#206389)
also an issue where we weren't clearing the render list which caused extra work to happen

Fixes #202005
2024-02-27 15:53:28 -08:00
Sandeep Somavarapu
2a57d4139f fix #204615 (#206381)
* fix #204615

* Fix extension installation condition
2024-02-27 14:37:27 -08:00
Connor Peet
6b6da7928d debug: pass environment via terminal API instead of command (#206376)
Fixes #198550
2024-02-27 13:42:24 -08:00
Raymond Zhao
c8c243a3d8 chore: add Windows as package platform (#206369) 2024-02-27 12:56:12 -08:00
Justin Chen
490b0caf30 update variables via test-documentation script (#206379)
update variables via  script
2024-02-27 21:33:37 +01:00
Michael Lively
8b8b573dcc Check for invalid Range parameters when trimming nb newlines (#206375)
Fix #201191
2024-02-27 21:06:07 +01:00
Benjamin Pasero
46bdbb4721 dictation - layout widget when cursor position changes (#206371) 2024-02-27 20:45:55 +01:00
Benjamin Pasero
887c9d0f3e Explorer: view title is different for 1 view vs. N views (fix #206368) (#206370) 2024-02-27 20:35:22 +01:00
Benjamin Pasero
e9f90c2abc Python error terminal output ⌘ + Click links erroneously treats filename as if it ends in a single quote ' (fix #206001) (#206366) 2024-02-27 20:18:19 +01:00
Benjamin Christopher Simmonds
1d3ff8e891 Refactor and Improve Hover Functionality (#206357)
* minor hover improvements?

* 💄
2024-02-27 18:53:46 +01:00
Johannes Rieken
8fd15a8634 add LanguageModelError-type (#206361)
https://github.com/microsoft/vscode/issues/206265
2024-02-27 18:50:12 +01:00
Johannes Rieken
4f0e2a843f refine language model (#206358)
* api - use `LanguageModelChat` prefix for messages and response, add todos

* update todos, tweak how `chatRequest` errors, remove `LanguageModelChatResponse#result`

* api - refine language model access

removes `requestLanguageModelAccess`,
removes `LanguageModelChatResponse#result`,
adds `LanguageModelChatRequestOptions`,
refines how errors happen when making a chat request

* use `throw` over Promise.reject

* don't error from `_getAuthAccess`, polish error messages

* rename to `sendChatRequest`
2024-02-27 18:14:05 +01:00
Matt Bierner
ef300d9945 Fix extra background in markdown code blocks (#206304)
Fixes #205129
2024-02-27 09:04:54 -08:00
Benjamin Christopher Simmonds
1025d0dafb Render hovers over context views (#206353)
render hovers over context views
2024-02-27 09:33:49 -07:00
Andrea Mah
8950c52e08 progress on AI TextSearchProvider (#205319)
These are the initial steps to having an API to contribute AI text results.
2024-02-27 08:10:08 -08:00
Benjamin Christopher Simmonds
3b8fe3ec81 Add custom hover to highlight labels and links (#206351)
Add custom hover to  highlight labels and Links
2024-02-27 16:55:13 +01:00
Daniel Imms
915a08f1f3 Merge pull request #205015 from cchanche/204458
Resize terminal direction
2024-02-27 07:47:08 -08:00