Commit graph

118185 commits

Author SHA1 Message Date
Benjamin Pasero 54488a73dd
perf - handle workbench.contrib.textInputActionsProvider (#203947) (#203958)
perf - handle `workbench.contrib.textInputActionsProvider`
2024-02-01 15:49:14 +00:00
Rob Lourens a3d4451154
Always allow ctrl+up to focus the chat list on windows (#203982) 2024-02-01 08:48:58 -07:00
Rob Lourens dbd391ebba
Don't allow picking the same variable multiple times (#203975)
* Cache agent subCommands, make some async code sync

* Fix lastSlashCommands

* Cache parsed chat query in one place so we don't have to parse the same thing over and over

* Don't allow picking the same variable multiple times
Fix microsoft/vscode-copilot-release#733

* Fix tests
2024-02-01 16:33:38 +01:00
Sandeep Somavarapu dcea438aca
fix #203457 (#203972) 2024-02-01 15:21:07 +01:00
Alex Ross 69684cd43c
Bullet point renders in front of checkbox in comments view (#203968)
Fixes #203194
2024-02-01 14:44:49 +01:00
Johannes Rieken 8ba046adbe
print heap stats instead of memory usage (#203959)
* print heap stats instead of memory usage

* ensure no hanging on to service

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-02-01 11:37:19 +01:00
Alex Ross 442c133fe9
Try to fix build pipeline (#203951) 2024-02-01 09:43:05 +01:00
Benjamin Christopher Simmonds 2c5286826b
Merge pull request #203681 from microsoft/benibenj/ytterbic-rooster
Added Tab Drag and Drop Indicator
2024-02-01 09:01:41 +01:00
Benjamin Pasero c93c6b2d17 perf - simplify registering workbench contributions 2024-02-01 08:22:44 +01:00
Benjamin Pasero 3969ef5b50 perf - track ellapsedWorkbenchContributions 2024-02-01 08:22:44 +01:00
Lucas Towers 8182fd55db
Fix markdown light and dark mode when using high contrast themes (#203690) 2024-02-01 00:54:32 +00:00
Aaron Munger 472af59e08
more copy SVG fixes (#203937)
* re-add check for image for context menu, add selector for jupyter rendered SVGs

* consisent command name
2024-02-01 00:58:00 +01:00
Nathan Shively-Sanders 5e6ec068b2
Split TS' AI-backed code actions into separate entries (#201140)
* Split TS' AI-backed code actions into separate entries

Lets the user decide whether to add AI to their code action, which shows
intent, which is good for us to learn whether people actually want this.

Related: this should be unflagged for insiders. To do this, do I just
delete the flags?

* Stop appending a duplicate message in missingFunctionDeclaration

* Fix: quickfix was still showing Copilot-only

It's a workaround--I'm not sure of the right way to do this.

* Update to use `isAI`

* Put AI code actions after others.

* Add isAI to rest of code actions

* Remove flags for TS AI code actions

* Check for copilot-chat instead of copilot

It's possible to have copilot installed without copilot-chat.

* Fix file casing

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2024-01-31 22:46:39 +00:00
Daniel Imms 3246d63177
Merge pull request #203932 from microsoft/tyriar/203930
Don't recreate TerminalLinkManager after registered by ext
2024-01-31 14:06:33 -08:00
Daniel Imms 32ebbed9ef
Bind proc ready event to link manager, not contrib 2024-01-31 12:58:39 -08:00
Daniel Imms fac9ec9c1b
Don't recreate TerminalLinkManager after registered by ext
Fixes #203930
2024-01-31 12:57:25 -08:00
Connor Peet 7e2981e8a6
eng: fix missing VSCODE_CHECK_ONLY in CLI publish step (#203926) 2024-01-31 21:25:26 +01:00
Daniel Imms 8d961d7333
Merge pull request #199357 from hsfzxjy/terminal-si-help-duration-199170
Add duration to the terminal command SI tooltip
2024-01-31 12:16:07 -08:00
Rob Lourens 5c0d2f47a1
Incomplete markdown patching for codeblocks with >3 backticks (#203925)
* Fix incomplete markdown handling of links with codespans

* Incomplete markdown patching for codeblocks with >3 backticks
2024-01-31 21:14:47 +01:00
Rob Lourens 790e20c0f0
Get rid of 'slash command' from API (#203924)
Also don't send an empty string for 'subCommand' when there is no slash command selected
2024-01-31 20:41:08 +01:00
Connor Peet 3ad2e082c5
eng: group cli build vs publish steps (#203920)
Fixes #203871
2024-01-31 11:22:50 -08:00
Hylke Bons c1c6e6a77b Update panel and auxiliary bar action titles 2024-01-31 20:22:32 +01:00
Matt Bierner 8980d5e232
Adopt localize2 in a few more places (#203919)
Add a more usages of `localize2`

This pass covers some more advanced cases my previous pass missed. Also caught a few instances where the original string was different from the actual localize string
2024-01-31 11:17:19 -08:00
Francois Marier 3d15752604
Use HTTPS for the apt repository (#203833) 2024-01-31 10:46:26 -08:00
Daniel Imms f7b26ac95c
Merge pull request #203915 from microsoft/tyriar/203437
Fix leak/exception and links becoming bricked within the terminal
2024-01-31 10:31:27 -08:00
Daniel Imms e27f03ea27
Improve wording, add duration string helper function 2024-01-31 10:06:28 -08:00
Daniel Imms 66a1e00a80
Merge branch 'main' into terminal-si-help-duration-199170 2024-01-31 09:37:42 -08:00
Connor Peet 7e0c93cec5
cli: skip integrity check when prereq skip flag is present (#203912) 2024-01-31 18:33:55 +01:00
Daniel Imms cb31b8d1b2
Dispose all link adapters when the link manager is disposed
Fixes #184046
2024-01-31 09:20:50 -08:00
Aaron Munger ef40932ae9
display unknown text mime outputs as plain text (#203849) 2024-01-31 08:51:41 -08:00
Daniel Imms 4addb2442e
Fix maxLineContext expression
Looks like an accidental / instead of ,
2024-01-31 08:21:34 -08:00
BeniBenj f664e0c810
💄 2024-01-31 16:53:12 +01:00
Johannes Rieken 98332892fd
Joh/superior-reptile (#203899)
* perf - make `PerfviewContrib` a lazy contribution, force-create from editor input resolving and action

re https://github.com/microsoft/vscode/issues/203445

* add `PerfviewContrib#get`

* 💄

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-01-31 16:43:43 +01:00
Daniel Imms 4dc4b87665
Remove service brand from link resolver
It's not a service
2024-01-31 07:28:14 -08:00
Daniel Imms b4eea3cfc3
Use mutable disposable for link provider 2024-01-31 07:12:53 -08:00
Daniel Imms 29cd81ab19
Bind external link providers to link manager lifecycle
Fixes #203437
2024-01-31 07:05:33 -08:00
Benjamin Christopher Simmonds 784091ea75
Fix Extra Padding Near Dropdown in Terminal (#203901)
fix #202078
2024-01-31 16:02:38 +01:00
Henning Dieterichs f4b01aeab8 Inline completion: missing cancelation token 2024-01-31 15:55:59 +01:00
Benjamin Pasero 07e767371a
debt - fix flaky test by skipping in CI (#203892) 2024-01-31 15:48:03 +01:00
Daniel Imms fe8e4442de
Avoid leaking link providers if link manager is already disposed
Fixes #203437
2024-01-31 06:45:02 -08:00
Aaron Munger 7a56623b82
enable copying svg cell output (#203843)
* find the correct svg element and write it to the clipboard

* add context to allow context menu

* simplify selection

* better logs for error states
2024-01-31 06:18:37 -08:00
Benjamin Pasero e2b6dd7835
💄 2024-01-31 15:15:20 +01:00
Johannes Rieken 6aad7f2ec9
move StartSessionAction back to /browser/, add indirection for holdForSpeech-feature (#203890)
https://github.com/microsoft/vscode-copilot/issues/3857
2024-01-31 15:13:58 +01:00
Raymond Zhao 6d2c0170d7
fix: settings search box clears while searching (#203758)
* fix: settings search box clears while searching

* fix: use isTriggered instead of new variable

* polish
2024-01-31 06:11:40 -08:00
Sandeep Somavarapu 85cc2e53a3
fix #201286 (#203888)
* fix #201286

* fix tests
2024-01-31 15:07:20 +01:00
Benjamin Christopher Simmonds e9b79cde5e
Add method for auxillary window to figure out its titlebar layout (#203778)
* Provide a method on layout service to know if custom title bar should be visible
Fixes #203460

* export title bar setting to be used in aux window layout

* adopt in aux windows

* fix

* fix unit test failure

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-01-31 15:07:01 +01:00
Ulugbek Abdullaev d112117119 add ensureNoDisposablesAreLeakedInTestSuite() to tests 2024-01-31 15:04:23 +01:00
Ladislau Szomoru 4acf2d9fd8
SCM - 💄 Only show Repositories sub-menu if there are multiple repositories (#203884)
SCM - Only show Repositories sub-menu if there are multiple repositories
2024-01-31 13:41:54 +01:00
Benjamin Pasero ba2cf46e20
watcher - do not allow empty strings in exclude/include setting (#203883) 2024-01-31 12:32:57 +01:00
Henning Dieterichs 694f90fbf8 Some renames 2024-01-31 12:27:44 +01:00