Commit graph

120274 commits

Author SHA1 Message Date
Daniel Imms 50b096c575
Don't rescale by default
Part of #207739
2024-03-22 10:46:54 -07:00
Rob Lourens b45774692c
ListView can warn when failing to measure rows because the list was not in the DOM (#208204)
After debugging this for the 100th time, I will make the 101st time easier to troubleshoot.
I don't think there are any reasonable cases where the list row height would actually be 0, so I think this avoids unnecessary calls to isAncestor
2024-03-22 10:31:52 -07:00
Ole 385ad93dd6
Log resource telemetry also for side-by-side views on browsers. (#208196)
* Log `resource` telemetry also for side-by-side views on browsers.

This telemetry is already logged in non-browser environments, and for the regular text editor (and other editors with a single document), but not yet for editors dealing with multiple documents, like "workbench.editors.diffEditorInput".

It is useful to have this telemetry to check how much e.g. the diff editor is used to open certain file types.

Fixes #208187

* Use URI.isUri instead of instanceof URI.
2024-03-22 17:22:32 +00:00
Daniel Imms 58368c444e
Merge pull request #208436 from microsoft/tyriar/208306
Add location support for newWithProfile command
2024-03-22 10:19:51 -07:00
Aiday Marlen Kyzy 9978dd8687
adding one more test 2024-03-22 18:14:13 +01:00
Martin Aeschlimann 3a28ac2cdb
server-web: resources not loaded with serverBasePath (#208435) 2024-03-22 18:06:35 +01:00
Daniel Imms 8fc2765204
Add location support for newWithProfile command
Fixes #208306
2024-03-22 09:53:54 -07:00
Daniel Imms c4e35f0f03
Merge pull request #208433 from microsoft/tyriar/207959
Simplify terminal sticky scroll refresh by deferring to microtask
2024-03-22 09:42:28 -07:00
Daniel Imms 789b9095a0
Simplify terminal sticky scroll refresh by deferring to microtask
Fixes #207959
2024-03-22 09:19:03 -07:00
Daniel Imms 9d19dc1c2b
Don't select all when opening quick chat with a query
Fixes #199734
2024-03-22 09:05:54 -07:00
Aiday Marlen Kyzy cd88c93223
adding one more test 2024-03-22 16:59:26 +01:00
Daniel Imms 712a3eefbd
Merge pull request #208425 from microsoft/tyriar/205744
Wait for cmd detection if running command at start up
2024-03-22 08:40:37 -07:00
Johannes Rieken d848ebe222
inline chat: fix info label placement (#208424) 2024-03-22 16:20:39 +01:00
Daniel Imms 1a6f5b638c
Wait for cmd detection if running command at start up
Fixes #205744
2024-03-22 08:08:23 -07:00
Johannes Rieken 2c28cd7185
tweak width of inline chat content widget (#208422) 2024-03-22 16:06:19 +01:00
Daniel Imms 3318a66301
Merge pull request #208421 from microsoft/tyriar/208420
Reduce duplicate insert into terminal menu item
2024-03-22 08:05:54 -07:00
Aiday Marlen Kyzy 1f8b9deafa
adding indentation tests for different languages 2024-03-22 16:02:54 +01:00
Daniel Imms 87eb9ff4b2
Merge pull request #208415 from microsoft/tyriar/204167
Include env in unsafe profiles config
2024-03-22 07:49:41 -07:00
Daniel Imms 128acbad20
Reduce duplicate insert into terminal menu item
Fixes #208420
2024-03-22 07:48:13 -07:00
Daniel Imms eae98ba554
Also include color and icon in unsafe profile config 2024-03-22 07:34:30 -07:00
Aaron Munger e67961480f
Extra scrolling logic to handle long tail of scroll events (#208341)
* special scrolling logic

* longer comment
2024-03-22 07:34:29 -07:00
Daniel Imms fa3b1b097f
Include env in unsafe profiles config
Fixes #204167
2024-03-22 07:33:28 -07:00
Johannes Rieken 7a8b6a8dd0
Merge pull request #200591 from jeanp413/fix-200590
Fixes breadcrumbs widget does not get resized properly
2024-03-22 15:23:24 +01:00
Aiday Marlen Kyzy 88d546e778
adding more tests 2024-03-22 14:41:36 +01:00
Johannes Rieken e763a3dea3
fixes https://github.com/microsoft/vscode/issues/208404 (#208407) 2024-03-22 14:35:09 +01:00
Johannes Rieken ad2e199859
reveal content widget when outside view port (#208405)
re https://github.com/microsoft/vscode-copilot/issues/4599
2024-03-22 14:24:40 +01:00
Johannes Rieken 88ea3e1662
fix bad command completions (#208399) 2024-03-22 13:24:38 +01:00
Johannes Rieken 93e2528628
fix https://github.com/microsoft/vscode/issues/208394 (#208397) 2024-03-22 13:24:21 +01:00
Johannes Rieken ad5a40fb18
Inline chat fixes/feature (#208393)
* only show slash command as detected when not having typed one

* use clearer message that hunks need to be accepted or discard, also add hover with more details

fixes https://github.com/microsoft/vscode/issues/206939
2024-03-22 13:24:07 +01:00
Aiday Marlen Kyzy a00f2e64f4
Merge pull request #208291 from microsoft/aiday/addingIndentationForIfForWhile
Indent next line for if/for/while statement followed by whitespace
2024-03-22 11:07:52 +01:00
Aiday Marlen Kyzy b0725d3bf2
Merge pull request #208319 from microsoft/local-quail
Indent on enter from within [], {}, ()
2024-03-22 11:07:23 +01:00
Johannes Rieken df09a73143
More inline chat fixes and polish (#208387)
* align preview and live mode for previewing new/untitled files

* fix layout when having preview-only changes

* increate max speed of progressive text edits

* History entries are tracked by object identity. Make sure `acceptInput` finds and updates previous entries by text

fyi @roblourens

fixes https://github.com/microsoft/vscode/issues/208386
2024-03-22 11:04:21 +01:00
João Moreno 2fda9b1fa4
use oidc for deep classifier (#208382)
* use oidc for deep classifier

* secrets -> vars

* try allow-no-subscriptions

* Update permissions in deep-classifier-runner.yml

* 💄

* update ref
2024-03-22 10:43:33 +01:00
Johannes Rieken fcb8417ba3
Inline chat fixes (#208383)
* - Allow to set overflowWidgetDomNode for chat widget's input editor
- tweak z-index for inline chat content widget

fixes https://github.com/microsoft/vscode/issues/208375

* set default/dummy model while chat is getting ready

fixes https://github.com/microsoft/vscode/issues/208377

* restore decoration highlights for commands, tweak command suggestions, leave some debt for agents

fixes https://github.com/microsoft/vscode/issues/208379
2024-03-22 09:58:16 +01:00
Ladislau Szomoru 85eea4a9b2
Git - emit change event as soon as file is staged (#208376) 2024-03-22 08:53:04 +01:00
Benjamin Pasero 1e38af3424
Opening recent from macOS dock creates a duplicate workspace (fix #208321) (#208372) 2024-03-22 08:42:50 +01:00
Benjamin Pasero 16997b315c
search - update description of search.exclude and add test for history (#208370) 2024-03-22 08:42:15 +01:00
Peng Lyu 2bb40a25d1
Re #208345. Render side by side all the time in notebook diff editor (#208355) 2024-03-21 22:20:35 -07:00
nopeless df6d629b30
fix: make cmd local 2024-03-21 23:34:15 -05:00
Rob Lourens 409da0445d
Fix chat agent activation event (#208362) 2024-03-22 05:28:11 +01:00
Andrea Mah 93b7e320e3
Merge pull request #208357 from microsoft/surrounding-pheasant
add quick access log for beginning of fileSearch call
2024-03-21 23:15:09 -05:00
andreamah 0c9a15a6d5 add quick access log for beginning of fileSearch call 2024-03-21 19:35:30 -07:00
Rob Lourens 75e751380f
ChatRequestHandler should allow returning void (#208349)
Fix #205835
2024-03-22 00:57:34 +01:00
Rob Lourens 20e7708c9d
Add chat history command to command palette (#208347)
Fix microsoft/vscode-copilot-release#1008
2024-03-22 00:53:45 +01:00
Justin Chen adfa191fec
adds limit on issue reporter description (#208346) 2024-03-22 00:51:06 +01:00
Rob Lourens 774f610801
Add missing 'name' property to LanguageModelChatAssistantMessage (#208235) 2024-03-21 15:24:18 -07:00
Don Jayamanne 8852f4a954
Always hide cut/copy/paste menu in the notebooks (#208297)
* Include execution count in notebook diff

* Fix tests

* Misc changes

* Fix tests

* Fix more tests

* Always hide cut/copy/paste menu in the notebooks
2024-03-21 23:17:18 +01:00
Justin Chen 22b6f2fb6c
issue reporter styling fixes (#208340) 2024-03-21 15:15:50 -07:00
Michael Lively 9f1605bd09
Add code cell symbols to nb outline + debt fixes (#208323)
* add symbol entries as children of code cells in nb outline

* extract filtering logic to getChildren for IOutline config, adjust level checks in nb SS

* fix broken outline filter logic // pass target to entryFactory // fix tests for symbol entries being level 8+

* define settings in `notebookCommon.ts`
2024-03-21 15:04:52 -07:00
Matt Bierner 70e896c977
Fix md preview substr highlighting (#208337)
Fix substr highlighting

Fixes #205515
2024-03-21 22:32:35 +01:00