Commit graph

118379 commits

Author SHA1 Message Date
Aaron Munger fe6db4073f
allow time to scroll (#204646) 2024-02-07 11:08:03 -08:00
Matt Bierner 533da38207
Use InEmbeddedEditor context for chat code blocks (#204641)
This als:

- Renames the variable to match the context key name
- Uses this context key to disable peek call hierarchy
- Enable the normal go to def commands in these contexts (not the peek versions)
2024-02-07 10:32:23 -08:00
Tyler James Leonhardt 348e88dc00
Revert "Stop the cursor from jumping when changing prefix in QuickAccess (#198821)" (#204638)
This reverts commit 3154b5f948.
2024-02-07 10:06:45 -08:00
Matt Bierner bc056d2978
Enable go to definition in chat code blocks (#204555)
* Enable go to definition in chat code blocks

Hooks up code blocks to the `ITextModelService` so that link decorations work as well

* Register ref
2024-02-07 10:03:28 -08:00
Peng Lyu cfa5001723
Allow type imports only in webview preloads (#204639) 2024-02-07 10:00:30 -08:00
Johannes Rieken cc2934a43e
remove ChatMessageRole#Function (#204637)
https://github.com/microsoft/vscode/issues/199908
2024-02-07 18:03:06 +01:00
Johannes Rieken c6be170d98
api - polish ChatResponseFileTreePart (#204630)
https://github.com/microsoft/vscode/issues/199908
2024-02-07 17:53:48 +01:00
Benjamin Pasero ee29464b84
voice - 💄 install experience (#204634)
* voice - allow chat in notebooks and 💄 install experience

* .
2024-02-07 08:53:00 -08:00
Sandeep Somavarapu 26b5aec036
some fixes (#204636) 2024-02-07 08:51:00 -08:00
Aaron Munger 7e3804fda9
Add first item to context menu for notebook variables (#204549)
* first context menu action

* stick with notebook term for now

* cleanup
2024-02-07 08:50:23 -08:00
Sandeep Somavarapu d9337a1721
- default extension access list (#204633)
- justify message to get access
2024-02-07 17:11:57 +01:00
Sandeep Somavarapu 9b129a0cf3
polish (#204627) 2024-02-07 08:07:26 -08:00
Benjamin Pasero 8fb476b602
chat - keep toolbar lean when hiding items (#204631) 2024-02-07 17:06:28 +01:00
Ulugbek Abdullaev 50bab6aa63
Merge pull request #203904 from CodinGame/fix-missing-await
Fix inoperative try/catch
2024-02-07 16:34:01 +01:00
Rob Lourens eef0e11f84
Don't double-up @workspace (#204625)
Fix #204624
2024-02-07 16:30:04 +01:00
Ladislau Szomoru d96a8b66ce
SCM - Use Publish action when the local branch does not have an upstream (#204617) 2024-02-07 15:54:49 +01:00
Benjamin Pasero 015d675fb6
Voice: show mic icon in chat boxes even when no extension is installed (fix #203896) (#204532)
* Voice: show mic icon in chat boxes even when no extension is installed (fix #203896)

* implement

* .

* .
2024-02-07 15:44:56 +01:00
Sandeep Somavarapu c9235bf40b
Introuduce extension features (#204607)
Introduce features with access control
2024-02-07 15:41:47 +01:00
Martin Aeschlimann d5ec4bd197
Monokai Dimmed theme: LESS syntax highlighting colors very different in v1.86.0 (#204605) 2024-02-07 14:52:21 +01:00
Alex Ross a81f19bd71
Bump distro (#204602) 2024-02-07 14:46:47 +01:00
Alex Ross fc771c597f
Update Go grammar (#204590) 2024-02-07 14:33:31 +01:00
Johannes Rieken 7c16d665f9
api - refine filetree-part (name and structure), add push method to stream (#204595)
https://github.com/microsoft/vscode/issues/199908
2024-02-07 13:51:18 +01:00
Johannes Rieken 57f5f81edd
api - rename: ChatAccess -> LanguageModelAccess (#204583)
* rename - ChatAccess -> LanguageModelAccess

* fix tests
2024-02-07 13:39:34 +01:00
Alex Ross 2c28a908d4
API feedback for activeCommentThread (#204588)
Part of #204484
2024-02-07 12:55:21 +01:00
Johannes Rieken d9a95cc509
fix surround with naming for the command palette (#204587)
https://github.com/microsoft/vscode/issues/204506
2024-02-07 12:53:30 +01:00
Ladislau Szomoru 0679fa72d5
Git - adjust branch base computation (#204585) 2024-02-07 12:43:16 +01:00
Johannes Rieken 614c5437cb
let prepareHistory use new response part classes (#204584) 2024-02-07 12:40:56 +01:00
Robo 926d4e5fd1
chore: update electron@27.3.1 (#204580)
* chore: update electron@27.3.1

* chore: bump distro
2024-02-07 12:08:06 +01:00
Robo ef78ec4e6f
fix: avoid DPR factor in mouse wheel event for newer versions (#204582) 2024-02-07 11:54:49 +01:00
Johannes Rieken dd7f36ffa8
refine ChatResponseMarkdownPart, properly deprecate ChatAgentExtendedResponseStream, refine InteractiveEditorRequest (#204579) 2024-02-07 11:19:43 +01:00
Ladislau Szomoru 23c84573fb
List - ensure DOM order in lists (#204574)
fix: ensure DOM order in lists

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-02-07 10:46:47 +01:00
Benjamin Pasero fd2db10345
"workbench.action.compareEditor.swapSides" may create Untitled files unnecessarily (fix #204560) (#204565) 2024-02-07 09:06:16 +01:00
Matt Bierner 64cd658cac
Disable some share context menus in editor playground (#204566) 2024-02-07 09:05:51 +01:00
Alex Ross f8546bc73f
API to find the active comment thread (#204486)
* API to find the active comment thread
Fixes #204484

* Add issue ref

* Add activeComment proposal to api tests

* Add settimeout to blur event
2024-02-07 08:59:24 +01:00
Robo 9db1b0571e
fix: sysroot used for client (#204559) 2024-02-07 05:50:23 +01:00
Matt Bierner 95386afadd
Expose chat code blocks as documents (#204551)
Exposes code blocks as documents. Also:

- Enables hovers in code blocks
- Makes sure hover widgets are cleared when chat is cleared or scrolled
2024-02-06 18:29:47 -08:00
Tyler James Leonhardt 29e000b1e5
Migrate user's password-store if they are gnome or gnome-keyring (#204553)
* Migrate user's `password-store` if they are `gnome` or `gnome-keyring`

True fix for https://github.com/microsoft/vscode/issues/204318

* add import
2024-02-07 03:06:06 +01:00
Robo 8a98afa440
chore: legacy server cleanups (#204501)
* fix: revert glibc requirements for tunnel cli

* chore: address feedback on wording

* fix: only store state when user allows the prompt

* chore: update checksums for sysroot

* fix: store connection choice per distro

* update rpm deps-list

---------

Co-authored-by: Connor Peet <connor@peet.io>
2024-02-07 10:14:41 +09:00
Anthony Kim 36b41dc6db
Add Python Prompt detection hint (#204513)
Add Python Prompt
2024-02-06 16:20:28 -08:00
Rob Lourens 780192a30b
Revert "Replace chat "command followups" with command button content (#204512)" (#204546)
This reverts commit cda51f6ab4.

Have to revert this because I can't get the vscode-copilot change to work. I might try again tomorrow in a back-compatible way.
2024-02-07 00:54:17 +01:00
Matt Bierner 01a9560863
Revert model uri change (#204541)
Only testing, not ready yet
2024-02-06 15:22:15 -08:00
Bhavya U ad05897293
Transfer view state between the chat view pane and editor (#204534) 2024-02-06 12:35:29 -08:00
Matt Bierner ea16ecb7ac
Fix code block sizing (#204536)
Missed this in previous PR
2024-02-06 21:09:45 +01:00
Matt Bierner 5700e15f44
Prototype local file editors in chat (#202754)
Adds support for rendering local file editors in chat

These editors have full editor support and are loaded from the workspace instead of having their content provided in chat

These editors can be created with a special markdown code block like:

~~~md
```vscode-local-file
{
     "uri": uri_json,
     "range": optional_range_data
}
```
2024-02-06 20:42:50 +01:00
Matt Bierner 0f47ae7932
Pick up latest TS for building VS Code (#204527) 2024-02-06 11:39:50 -08:00
Rob Lourens 384df5aad7
Filter out "command followups" from agents that haven't adopted new API (#204530) 2024-02-06 20:19:50 +01:00
Rob Lourens 20fe8ecf07
Ensure chat feedback buttons don't get pushed off screen (#204524) 2024-02-06 19:58:48 +01:00
Anthony Stewart e0ae0f30e3
Prevent F1 from opening browser help in webviews (#204499)
* Prevent F1 fro opening browser help in webviews

* Also prevent F5 from refreshing

* Update CSP hash
2024-02-06 18:49:56 +00:00
Matt Bierner df01567c35
Add codeql comments (#204448) 2024-02-06 10:49:29 -08:00
Connor Peet ebed3f2345
testing: adopt coverage icons (#204514) 2024-02-06 09:46:57 -08:00