Commit Graph

124157 Commits

Author SHA1 Message Date
Daniel Imms ed0a90c0b1 Merge pull request #215581 from microsoft/tyriar/211996
Add . and .. to suggestions, do nothing is completing same
2024-06-17 07:30:36 -07:00
Johannes Rieken 7a711a9986 define and use inlineChatForeground (defaults toeditorWidgetForeground) (#215951) 2024-06-17 06:40:13 -07:00
Johannes Rieken 24ca2600ce more deterministics names for event leakage tracing (#215950) 2024-06-17 14:12:07 +02:00
Sandeep Somavarapu 934307f5be fix #214621 (#215942) 2024-06-17 12:51:47 +02:00
Johannes Rieken 88d860624c Inline chat UI overhaul (#215927)
* don't dimiss inline chat content widget when already having typed something

https://github.com/microsoft/vscode-copilot/issues/6067

* extract `TextOnlyMenuEntryActionViewItem` for reuse

* remove unused variables

* * show chat input below request/response pairs
* setting for text-only buttons
* more dynamic buttons
* always show the first request, don't repopulate input with last message
* keep progress bar hidden, rely on "Generating..."
* no more special background color

* add `minimal` renderer style for chat renderings

* tweak font-size for details when render mode is minimal

* stable scroll position for inline chat, don't push down the lines chat is editing but push the inline chat upwards

* more buttons more compact, tweak labels

* * add missing service dependency
* repopulate input for some unit test

* allow output from `InteractiveChatController` suite
2024-06-17 11:26:21 +02:00
Johannes Rieken 0131b07802 Merge pull request #214900 from werat/fix-error-format
Fix error message format
2024-06-17 11:10:30 +02:00
Sandeep Somavarapu a7af3c0e6d fix #214329 (#215932) 2024-06-17 10:58:13 +02:00
Loïc Mangeonjean ed4de0582a Update preference markers on profile change (#214353)
fix: update preference markers on profile change

Co-authored-by: Loïc Mangeonjean <loic@coderpad.io>
2024-06-17 10:39:38 +02:00
Rob Lourens 85e9b0786c Don't clear chat disposables too early while progressive rendering (#215907)
This clear() is wrong because this loop is incrementally updating content, not rerendering everything. Deleting is also not quite right because we are technically leaking when things get rerendered. But that is only the case while in the middle of streaming content, and things will always be fixed up when the response is done loading.
Fix #212853
2024-06-17 05:47:44 +02:00
Rob Lourens b49212f5cb Fix showing hover on default chat participant (#215906) 2024-06-17 05:47:11 +02:00
Tyler James Leonhardt 5d7157cb03 Implement getAccounts API over getSessions (#215874)
And plumb that through to the Microsoft auth provider
2024-06-16 18:12:37 -07:00
Sandeep Somavarapu fc1a9a48ec report telemetry even when not auto (#215792) 2024-06-16 14:08:36 -07:00
Henning Dieterichs 8dcd7945af Improves observable logging experience (#215782) 2024-06-16 20:22:39 +02:00
Henning Dieterichs 937c8c0c94 Observable logging improvement (#215759) 2024-06-16 18:16:40 +02:00
Rob Lourens 35ac2d01a6 Improve chat input history (#215593)
* Fixes to history navigation with dynamic variables
Prevent ChatDynamicVariableModel deleting editor text while in history navigation

* Try to add history item for current input, doesn't quite work

* Use HistoryNavigator2 in chat

* Update context attachments for new input state model

* Add SetWithKey and use it in HistoryNavigator2

* Fix history for 2 widget inline chat

* Add log action, clean up

* Add tests for SetWithKey

* comment

* Fix
2024-06-14 16:38:22 -07:00
Benjamin Christopher Simmonds be838c0af7 Revert "Don't merge a view with a titleDescription (fix #166000) (#214010)" (#215597)
This reverts commit af1bd0264a.
2024-06-15 01:37:10 +02:00
Benjamin Christopher Simmonds a41578cab7 Fix titlebar restore when in zen mode (#215596)
fix titlebar restore when in zen mode
2024-06-15 01:12:14 +02:00
Connor Peet 03d781a755 cli: fix closing incorrectly if updated failed (#215595) 2024-06-15 00:54:51 +02:00
Joyce Er d32e093374 fix: prevent 'rerun without' hint from overflowing chat list (#215594) 2024-06-15 00:41:28 +02:00
Aaron Munger 608fe4f38c REPL/IW editor only using a notebook text model (#214356)
* registered editor with notebook model

* migrated some stuff from Interactive Editor

* display notebook and input box

* dont always filter kernels by view

* fix restore

* implement some commands

* working copy recovery/discarding

* fix tear down

* do not show last cell

* simplify notebookOptions creation

* reset text model on execute

* fix run button

* set tab name

* use differentiated notebooktype to determine kernel

* allow registering notebooks as other priorities

* conditionally register actions

* move registerAction back to top level

* fix input box message

* naming

* dont register extra repl commands for now

* use jupyter-notebook notebook type

* set scratchpad on backup recovery

* remove unused method
2024-06-14 15:12:29 -07:00
Peng Lyu fecd77fd69 Merge pull request #215577 from microsoft/rebornix/dirty-bonobo
Fix #215544. Fix notebook scoped instantiation service.
2024-06-14 13:28:10 -07:00
Daniel Imms 733f8b8526 Remove bad expected behavior from test 2024-06-14 12:59:58 -07:00
Daniel Imms ce3f763edb Add . and .. to suggestions, do nothing is completing same
Fixes #211996
2024-06-14 12:16:25 -07:00
Peng Lyu 789d05ac49 Fix #215544. Fix notebook scoped instantiation service. 2024-06-14 12:00:55 -07:00
Connor Peet af867d774a testing: polish attributable coverage API, fix coverage reporting in selfhost (#215559) 2024-06-14 11:39:38 -07:00
Benjamin Christopher Simmonds 4666c5068d Fix registered contextkey issue (#215564)
fix registered contextkey removes others
2024-06-14 20:38:21 +02:00
Daniel Imms 1c74595688 Merge pull request #215485 from microsoft/tyriar/stable
Disable pwsh/bash prompt reporting when on stable
2024-06-14 11:24:35 -07:00
Megan Rogge 288a52a0b7 use terminal chat context key instead of generic one to fix bug (#215552)
fix #215532
2024-06-14 18:44:26 +02:00
dependabot[bot] 8fdbb81a9f Bump braces from 3.0.2 to 3.0.3 in /extensions/npm (#215481)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-14 16:52:23 +02:00
Alexandru Dima dc8c2d019c Fix cursor synchronization issue in multi-cursor word left selection (#215523)
Make all cursors behave the same when doing word left (fixes #169904)
2024-06-14 11:56:24 +02:00
Johannes Rieken 0da59bdde2 fix https://github.com/microsoft/vscode/issues/215521 (#215522) 2024-06-14 11:18:17 +02:00
Robo 3b80131054 chore: add missing gl libraries for snap (#215493)
* chore: add missing gl libraries for angle

* chore: add wayland egl library
2024-06-14 01:36:01 +02:00
Rob Lourens d9d04e97b7 Show "Evaluate in debug console" expressions in debug console's input history (#215490)
Fix #214820
2024-06-13 16:13:03 -07:00
Daniel Imms 9ba6c8169a Fix tests 2024-06-13 15:08:33 -07:00
Daniel Imms a936b9881d Disable pwsh/bash prompt reporting when on stable
Fixes #215482
2024-06-13 14:40:25 -07:00
Christof Marti 1474750c61 Update to @vscode/proxy-agent 0.20.0 2024-06-13 23:10:27 +02:00
Connor Peet 3eeefd2273 testing: fix debug session tracking not working for n>1 test runs (#215476) 2024-06-13 14:02:51 -07:00
Sandeep Somavarapu 4e30f3ee15 fix smoke tests (#215467)
* fix smoke tests

* feedback
2024-06-13 21:30:43 +02:00
Sandeep Somavarapu 80e74016e6 fix: cache scanning extensions by profile (#215468) 2024-06-13 21:15:26 +02:00
Sandeep Somavarapu 96c719346d report when auto restarted (#215464) 2024-06-13 20:40:57 +02:00
Andrea Mah 559d3e476a remove query details and replace input with AI enabled. (#214658) 2024-06-13 10:58:03 -07:00
Rob Lourens df5b251f46 Increase repl history size (#215458)
Fix #215433
2024-06-13 19:37:10 +02:00
Henning Dieterichs d8e423b43f Implements #213571 (WIP) (#213575) 2024-06-13 19:25:11 +02:00
Daniel Imms 16e1dbdec2 Merge pull request #215452 from microsoft/tyriar/211922
Encode all chars 0x00-0x1f
2024-06-13 10:10:12 -07:00
Daniel Imms ce001001c8 Encode all chars 0x00-0x1f
Fixes #211922
2024-06-13 09:42:36 -07:00
dependabot[bot] 4ddcd5d230 Bump @azure/identity from 3.4.1 to 4.2.1 in /build (#214913)
Bumps [@azure/identity](https://github.com/Azure/azure-sdk-for-js) from 3.4.1 to 4.2.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/identity_3.4.1...@azure/identity_4.2.1)

---
updated-dependencies:
- dependency-name: "@azure/identity"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-06-13 18:26:11 +02:00
dependabot[bot] 57a1f6e7e7 Bump braces from 3.0.2 to 3.0.3 in /remote (#215378)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-13 17:59:29 +02:00
Sandeep Somavarapu fc7e37383a fix #215447 (#215448)
* fix #215447

* fix tests
2024-06-13 17:51:59 +02:00
Sandeep Somavarapu c79817de5f fix #214424 (#215327)
* fix #214424
2024-06-13 08:44:56 -07:00
Daniel Imms 0b8454176c Merge pull request #215444 from microsoft/tyriar/format_d_ts
Fix space prefix before asterisk in .d.ts
2024-06-13 07:22:20 -07:00