Commit Graph

128401 Commits (main)

Author SHA1 Message Date
Alexandru Dima 75969ec253
Merge pull request #236586 from microsoft/revert-236356-like-takin
Revert "Pressing alt/opt makes the hover temporarily sticky"
2024-12-19 14:23:46 +01:00
Daniel Imms 05519998ae
Ignore bg terminals for confirmOnExit
Fixes #235575
2024-12-19 05:10:51 -08:00
Alexandru Dima 5385e31b3f
Trigger inline edits on paste (#236584) 2024-12-19 14:10:37 +01:00
Alex Dima aea3ab47f5
Fix compilation errors 2024-12-19 14:07:44 +01:00
Alexandru Dima 9813e9a4a9
Revert "Pressing alt/opt makes the hover temporarily sticky (#236356)"
This reverts commit 317d55da7b.
2024-12-19 13:59:41 +01:00
Henning Dieterichs 225d1ca870
Improved value formatting in observable logging (#236579)
* Improved value formatting in observable logging

* substr -> substring
2024-12-19 13:07:00 +01:00
Benjamin Pasero 2ba0803abf
multi root - allow `--remove` for removal of workspace folders (fix #204770) (#236580) 2024-12-19 13:02:00 +01:00
Alex Ross 41a58be380
Bug: The cursor must be within a commenting range to add a comment. (#236578)
Fixes #236559
2024-12-19 03:52:16 -08:00
Henning Dieterichs b392dd9337
simplification: tokenizeLineWithEdit -> tokenizeLinesAt (#236577) 2024-12-19 12:51:27 +01:00
Alexandru Dima 1b078e1a20
Disable word wrap in preview editor (#236574) 2024-12-19 12:42:58 +01:00
Benjamin Pasero a4fdb49a0d
Merge pull request #236572 from microsoft/ben/terrible-cow
chat - fix setup in web based on remote connection
2024-12-19 12:41:16 +01:00
Benjamin Christopher Simmonds 22959031c0
Enable dragging of editor from breadcrumbs in single tabs (#236571)
drag editor from single tab breadcrumbs
2024-12-19 12:23:45 +01:00
Benjamin Pasero 7f512c528d
chat - fix setup in web based on remote connection 2024-12-19 12:13:57 +01:00
Benjamin Pasero 011e8ec6df
chat setup - use 1 service as source of truth for extensions (#236564) 2024-12-19 11:56:01 +01:00
Daniel Imms cbfd8ab513
Cache builtin commands and get all global commands for pwsh
This should make things quite a bit faster for expensive fetching of
commands. This also caches empty builtin commands so it's not attempted
every time.

Fixes #236097
Part of #235024
2024-12-19 02:50:44 -08:00
Johannes Rieken 7efdaa5e8e
don't show inline chat hint when line has too many comments or strings. (#236567)
The limit is 25% strings, comments, or regex token and (as before) lines ending in comments

https://github.com/microsoft/vscode-copilot-release/issues/3009
2024-12-19 11:34:50 +01:00
Sandeep Somavarapu 7e000daa48
recovery fix: fixing installing extensions everywhere when it is already installed locally (#236562)
* recovery fix: fixing installing extensions everywhere when it is already installed locally

* clean up
2024-12-19 10:55:10 +01:00
Christof Marti d74499bdb9 @vscode/proxy-agent 0.28.0 2024-12-19 10:43:46 +01:00
Benjamin Christopher Simmonds d47f63e5dc
Revert focus behavior fix for views/panels (#236556)
Revert "Fix inconsistent focus behavior when toggling views/panels (#235622)"

This reverts commit d5746c5593.
2024-12-19 10:35:34 +01:00
Rob Lourens acd32b17b8
Use IExtensionsWorkbenchService instead (#236540)
Use IExtensionsWorkbenchService
2024-12-18 20:17:02 -08:00
Connor Peet dd86be1a95
lists: support user selection in lists, and adopt it in the debug console (#236534)
- Adds a `userSelection` option on lists that can be used to control behavior
- Uses the DND logic for handling scrolling near the top and bottom
- Preserved selected list elements while they're selected to ensure they
  can be accurately copied.
- The DOM events we get around selection are pretty poor. I support mouse
  here but I'm unclear if/how touch events should be handled.

![](https://memes.peet.io/img/24-12-f06c680d-f209-476b-8945-b6fc33efe502.mp4)

Fixes #228432, cc @joaomoreno
2024-12-19 10:33:45 +09:00
SteVen Batten 03e9e31965
Await remote extensions before checking enablement (#236538)
await remote extensions before checking enablement
2024-12-19 02:25:00 +01:00
Tyler James Leonhardt 37b1016c80
Lock some SCM strings (#236531)
Fixes https://github.com/microsoft/vscode/issues/236530
2024-12-18 15:04:42 -08:00
Rob Lourens 6869b35a03
Show chat participants and tools on extension features page (#236526)
* Show chat participants and tools on extension features page

* Remove "ID"
2024-12-18 14:16:19 -08:00
Michael Lively a7d5ca7e7d
Fix logic for notebook outline data source isEmpty() fn (#236525)
amend logic for notebook outline data source isEmpty()
2024-12-18 23:12:51 +01:00
Connor Peet 4572abc566
debug: fix REPL input not resizing when pasting content that wraps (#236519)
Fixes #229541
2024-12-18 22:51:49 +01:00
Megan Rogge 0900a62113
get terminal completions to work for screen reader users (#236516)
fix #235022
2024-12-18 22:40:29 +01:00
Henning Dieterichs 37c543ba48
Implements gutter indicator (off by default). (#236522)
* Implements gutter indicator (off by default).

* Adds isSingleLine method to monaco Range

* update
2024-12-18 21:26:30 +00:00
Connor Peet 3fd6eef7b9
fix: workbench.debug.action.focusRepl resolving before focus is given (#236520)
Note: I intentionally did not keep this registered under the command palette because there is a similar duplicate command provided automatically from the views service.

Fixes #228852
2024-12-18 22:04:11 +01:00
Connor Peet e6e5856995
debug: fix unexpected behaviors with duplicate `name`s in `launch.json` (#236513)
Suffix duplicated launch configs with a config at the time they're read. In debug we assume the names are unique, so this should fix #231377 and probably other hidden issues as well.
2024-12-18 13:39:57 -07:00
Joyce Er 1147139fbb
fix: copy from context menu for chat references does not work (#236518) 2024-12-18 21:27:49 +01:00
Benjamin Christopher Simmonds c88542ef62
Fix navigation to single match in tree find (#236515)
fixes #236478
2024-12-18 12:21:30 -08:00
Daniel Imms ebe010b7aa
Merge pull request #236514 from microsoft/tyriar/219583
Speculative fix when pwsh is 'powershell' on mac/linux
2024-12-18 12:07:26 -08:00
Daniel Imms 9fc5861de2
Speculative fix when pwsh is 'powershell' on mac/linux
Fixes #219583
2024-12-18 11:51:32 -08:00
Connor Peet 7f9c7a4187
testing: avoid profiles dropdown when there's a single profile (#236509)
Fixes #232767
2024-12-18 20:03:57 +01:00
Megan Rogge 91581cab6f
focus debug console when it becomes visible (#236502)
fix #236499
2024-12-18 10:53:00 -08:00
Michael Lively d6d5ebe048
Splitting cells should maintain the current edit state (#236507)
* split cell command should be in editing mode

* stay in preview if splitting from that state

* writing the PR description made me realize that this was way simpler
2024-12-18 19:49:25 +01:00
Connor Peet 4c3f5de789
debug: make ctrl+c copy value(s) in debug views (#236501)
Not sure how this ever worked, but it was reported as a bug, and this makes it work.

Fixes #232767
2024-12-18 12:40:34 -06:00
Megan Rogge 4fcae8834d
do not show no suggestions widget unless it was explicitly invoked (#236505) 2024-12-18 19:38:58 +01:00
Connor Peet aaa5982ec9
debug: fix underflow/overflow in breakpoint edit widget (#236428)
Fixes #233819
2024-12-18 18:50:52 +01:00
Henning Dieterichs 7d0efabd3b
Adds single observable logging (#236481)
* Adds single observable logging

* Improved observePosition

* Fixes CI

* Fixes tests
2024-12-18 16:47:19 +00:00
Alex Ross 148a1ca4bd
TreeView: MaxCallStackError - Nesting (#236493)
Part of #233056
2024-12-18 17:41:28 +01:00
Johannes Rieken 929ce7c1fa
fixes a random bunch of leaking disposables (#236487)
Adds (disabled for now) disposable tracker that is based on the finalization registry, gist is that every GC'ed disposable that isn't disposed is a bug.
2024-12-18 16:45:47 +01:00
Henning Dieterichs cec5112d11
Fixes https://github.com/microsoft/vscode-copilot/issues/9818 (#236486) 2024-12-18 16:40:44 +01:00
Megan Rogge a02cb4218a
add `when` for terminal chat keybinding (#236480)
fix #236474
2024-12-18 16:10:16 +01:00
Ladislau Szomoru 3a4f4164c7
Git - fix context key for unstageSelectedRanges (#236476) 2024-12-18 15:49:37 +01:00
Sandeep Somavarapu 1efa0d2196
refactor: enhance sync method and reuse for preview and some clean up (#236470)
* refactor: enhance sync method and reuse for preview and some clean up

* fix tests
2024-12-18 14:59:40 +01:00
Benjamin Christopher Simmonds b274aac2ca
Allow center layout with vertical groups (#236471)
allow center layout with vertical groups
2024-12-18 14:46:43 +01:00
Benjamin Pasero 473620cdd2
Wrong use of disable store in searchResultsView.ts (fix #236456) (#236469) 2024-12-18 14:14:46 +01:00
Alexandru Dima 7579838b39
Render the a background cover up only if really necessary (#236460) 2024-12-18 14:12:34 +01:00