Commit graph

122661 commits

Author SHA1 Message Date
Johannes Rieken 4bd8cce180
enable inlineChat.experimental.textButtons for the team (#216679) 2024-06-20 09:48:58 +02:00
Ladislau Szomoru 416476a0b1
SCM - maintain colors in history section (#216680) 2024-06-20 09:48:33 +02:00
Benjamin Pasero 13d82c160e
Status bar: make neighbour items look good when there are multiple (fix #216637) (#216678) 2024-06-20 09:28:27 +02:00
Bhavya U a3017010e9
Remove check for validity (#216675) 2024-06-20 08:41:51 +02:00
Tyler James Leonhardt c8f4447710
Don't use an emitter so ExtensionSecrets doesn't have to be disposable (#216672)
ref https://github.com/microsoft/vscode/issues/214234
2024-06-20 07:02:22 +02:00
Robo 4b19907cc8
fix[x11]: crash in gpu process with software compositor (#216661)
* fix[x11]: crash in gpu process with software compositor

* chore: bump distro
2024-06-20 07:02:04 +02:00
Rob Lourens 6afc1c2793
Finalize chat participant "when" (#216670)
Fix #214379
2024-06-20 13:24:19 +09:00
Robo d550ede2c3
chore: update glibc version checker for remote (#215599) 2024-06-20 04:30:41 +02:00
Ladislau Szomoru eb4092a6de
Git - more cleanup of the history item labels (#216648)
* Git - 💄 history provider cleanup

* Git - more cleanup of the history item labels
2024-06-20 01:23:05 +02:00
Ladislau Szomoru f280d9980f
Git - 💄 history provider cleanup (#216647) 2024-06-19 16:01:02 -07:00
Raymond Zhao a37d32986d
chore: add diagnostics to integration test runs (#216646) 2024-06-20 00:33:14 +02:00
Ladislau Szomoru c67b31f3f1
SCM - open multi-file diff editor from history (#216645) 2024-06-20 00:26:05 +02:00
Gabriela Araujo Britto 878af0771b
[typescript-language-features] Region-based semantic diagnostics for TypeScript (#208713)
* WIP

* invalidate diagnostics in range

* check whether should use region based diagnostics

* add ts-expect-errors

* make region opt off by default

* bump to expected 5.6

* update comments to refer to 5.6

* make region diagnostics on by default for insiders
2024-06-19 15:12:57 -07:00
Sandeep Somavarapu 7717059b2e
fix #214294 (#216644)
* fix #214294

* fix version message

* finetune message
2024-06-19 23:57:39 +02:00
Raymond Zhao 0cce95eac9
Bump braces (#216643) 2024-06-19 23:23:15 +02:00
Michael Sorensen 51917e869e
Fixes #182449 : Pressing Shift re-enables webview during Drag and Drop Events (#209211)
* added shift key listener to re-enable drag events for webview https://github.com/microsoft/vscode/issues/182449

* adding drag and drag over listeners to webview iframe(s)

updating html hash

adding shift release listener to drag and drag over events

adding new custom drag event handler to allow event bubbling

adding new event types

correcting comment:

removing drag over listener from drag monitor since we are converting this to drag events

making webview drag monitor stateful and adding missing events to iframe dom html file

Revert "Merge remote-tracking branch 'microsoft/main' into swordensen"

This reverts commit 47e38770cc69511ef7f35687ed087ec0e1b5ec9e, reversing
changes made to 8f719275613cd30cadf5b06d6a3c55d617e2406f.

Revert "making webview drag monitor stateful and adding missing events to iframe dom html file"

This reverts commit 8f719275613cd30cadf5b06d6a3c55d617e2406f.

Revert "removing drag over listener from drag monitor since we are converting this to drag events"

This reverts commit bfae5f1880bfc165eb99b34ffa24d59ce6c3b2dc.

Revert "correcting comment:"

This reverts commit 696facbbcae31f1899d94cd2ef21fcc94e08acce.

Revert "Merge branch 'main' into main"

This reverts commit 78ed36c09132045131d23a981406dedc76dcd745, reversing
changes made to 7b96d0eb9b21ce558e8d69b49ece1344da83e0d2.

Revert "adding new event types"

This reverts commit 7b96d0eb9b21ce558e8d69b49ece1344da83e0d2.

Revert "adding new custom drag event handler to allow event bubbling"

This reverts commit 39971e0367f2bf21f4e9b952b7c0d47bbb0725d8.

Revert "adding shift release listener to drag and drag over events"

This reverts commit 4f5d9e87dc355ae6dd7fccac0d44942b45ad3d07.

Revert "updating html hash"

This reverts commit 6a474cb4157b90bf07cf4862f583d3db324040aa.

Revert "adding drag and drag over listeners to webview iframe(s)"

This reverts commit 6688ec615686529b86413f68b55216c7e856fd85.

adding harmless change to see if this causes smoketests and integration tests to fail

adding sha hash

Revert "adding sha hash"

This reverts commit 830baa81d337ca4c22027083d6699b765fdee7b5.

Revert "adding harmless change to see if this causes smoketests and integration tests to fail"

This reverts commit ceb55f9f48c3b31c497826ee9b9f091c2d3f6d89.

Revert "Revert "adding drag and drag over listeners to webview iframe(s)""

This reverts commit 1baf4834090fc7b8b6cabfc2a2195a691fcf400a.

Revert "Revert "adding shift release listener to drag and drag over events""

This reverts commit 40bc29c1c21a0ff23c6b03abc6a5ec7a34a82a98.

Revert "Revert "adding new custom drag event handler to allow event bubbling""

This reverts commit 44f4fdacd9d981d5f3f85333d99c1e09ba91aa5f.

Revert "Revert "adding new event types""

This reverts commit 67f1aaa6a1f9d99140ab394c3549a129d90b6bdf.

removing internal drag listener

removing types. Maybe it's causing build issues?

renaming drag event to WebviewDragEvent to avoid collision with native DragEvent type

resolving conflict with correcting comment

Revert "Revert "Merge branch 'main' into main""

This reverts commit 1a4d711810762af8943c6095ccfb9c6847dd3923.

Revert "Revert "Merge branch 'main' into main""

This reverts commit 8520787fb68ae197bac5fae61131ec88a0be3809.

resolving conflict

Revert "resolving conflict"

This reverts commit c5b3f7fc40f3015fee5d9123a4d3d19dca3d1987.

Revert "Merge remote-tracking branch 'microsoft/main' into swordensen"

somehow i got assigned these changes in the process of unreverting my merges

fix: serialization of newline characters

removing console log

forgot the security hash when removing console log

* updating sha
2024-06-19 21:18:44 +00:00
Aaron Munger 36d874f090
override pgup pgdown for SR users (#216638) 2024-06-19 13:49:09 -07:00
Ladislau Szomoru 856fba0b67
SCM - more work related to history (#216641)
* Rename base to remote

* introduce base

* Remove resolveHistoryItemGroupBase

* 💄

* More 💄

* Remove file that is out of scope
2024-06-19 22:05:10 +02:00
Ladislau Szomoru 5c1b006c49
Statusbar - support more than 2 items in a group (#216605)
* Statusbar - support more than 2 items in a group

* 💄

* some 💄

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-06-19 20:33:11 +02:00
Aaron Munger 2e6ee2cdc0
add config gear icon and make empty hint text consistent (#216633) 2024-06-19 11:21:51 -07:00
Connor Peet 48ab2a6a9a
debug: fix cannot read properties of undefined (reading 'scheduler') (#216636)
Fixes #216576
2024-06-19 11:17:50 -07:00
Matt Bierner 54d9054371
Fix event registration in webviewIconManager (#216635)
For #214234
2024-06-19 11:16:15 -07:00
Ladislau Szomoru 484cd68eff
SCM - history view (#216629)
* Hacked up the starting point

* More progress

* More progress

* Simplified algo, basic support for colors

* Add the concept of secondary colors for merge commits

* Further optimizations of the algo

* Bug fixes to clean-up algo

* Add support for curved branches

* Keep track of nodes that are moved so that the second parent for the merge commit is rendered in the correct swimlane

* Account for offset when drawing a base commit

* Algo rework completed

* Revert some of the hacks that were put in place to quickly get going

* Add caching to the history items used in the graph
Remove more hacks that were in place

* Added initial tests

* More work so that incoming/outgoing works along history

* Uncomment more code

* Bug fixes to edge cases

* Experiment with a new rendering for curved branches

* Handle repository with a single commit

* Maintain swimlanes

* Fix condition

* Saving my changes

* More polish and clean-up

* Remove code that is not needed

* Revert change

* Revert more changes

* More fixes

* Rename interface

* One last minor change

* Pull request feedback

* More refactoring

* More pull request feedback

* Fix layering issues
2024-06-19 19:45:06 +02:00
George Garside 1330e6d2b8
Fix merged table cells in extension marketplace readme rendering unmerged (#211666)
Fix merged table cells not rendering like marketplace

Marketplace website supports merged cells in tables for rendering the readme for an extension, but not inside VS Code causing tables to be broken. Add colspan and rowspan attributes to the allow list for parity with marketplace.visualstudio.com.
2024-06-19 17:38:29 +00:00
y0sh1ne 0a8e930a73
Update language-configuration.json(fix #215999) (#216394)
Update language-configuration.json

add "~" in surroundingPairs
2024-06-19 17:24:44 +00:00
Matt Bierner d662a014f4
Make pasting canceling ongoing geterr requests (#216089)
Should speed up pasting
2024-06-19 10:22:00 -07:00
Matt Bierner 8939d4f467
Show progress spinner while resolving paste edits (#216553) 2024-06-19 10:17:10 -07:00
Johannes Rieken a11602734b
inline chat positioning polish (#216630)
* make sure to show close button when having just message responses

* * no more intented rendering of inline chat
* make sure the top of the view zone is always revealed
2024-06-19 18:10:43 +02:00
Sandeep Somavarapu a764c2ac80
Support version for proposed APIs (#216608)
Support version for proposed APIs
2024-06-19 18:01:46 +02:00
Rob Lourens f97a14715e
Fix floating debug toolbar zindex (#216627)
Fix #216421
2024-06-19 17:20:29 +02:00
Daniel Imms 11f415d4d7
Merge pull request #216621 from microsoft/tyriar/216597
Fix warning when running yarn test-browser
2024-06-19 06:48:45 -07:00
Daniel Imms 3cb3a37238
Fix warning when running yarn test-browser
Fixes #216597
2024-06-19 06:30:25 -07:00
Aaron Munger ca601132ef
Interactive window execution hint (#216524)
* use similar textRenderer function to get hint element

* formatted execution hint with gear

* make the keybinding a link

* link to settings

* remove configure link

* clean up element to update

* wrap properly and fix aria status

* cleanup
2024-06-19 06:17:58 -07:00
Ladislau Szomoru bf74ad22b4
SCM - keep logging but switch the trace level (#216611) 2024-06-19 14:12:58 +02:00
Alex Ross 6ce4315300
Update file comment proposal (#216600)
Part of  #214327
2024-06-19 12:31:19 +02:00
Johannes Rieken 984c143f32
add experimental setting to enable variable completions for all chat locations (editor, notebook, terminal) (#216588) 2024-06-19 10:19:06 +02:00
Johannes Rieken a95b0a0ca7
fix a few more leaking listeners (#216584)
https://github.com/microsoft/vscode/issues/214234
2024-06-19 09:46:36 +02:00
Johannes Rieken d196a315d6
make sure telemetry source for inline widget toolbar is set (#216580) 2024-06-19 08:53:55 +02:00
Benjamin Pasero 83f03bbb7b
debt - enlist most JS files in tsconfig.json (#216566) 2024-06-19 08:35:55 +02:00
Benjamin Pasero c2e20cb17f
Silent warning when argv.json has syntax errors (fix #212671) (#215551) 2024-06-19 10:55:06 +09:00
Rob Lourens 23c85ae40f
Add "Toggle Breakpoint" to command palette (#216561)
Fix #207167
2024-06-19 03:09:42 +02:00
Tyler James Leonhardt 54e0cddffb
Remove accounts first before adding or updating (#216560) 2024-06-18 16:38:38 -07:00
Rob Lourens 88b4dc75bd
Chat Tools API (#213273)
* Implement a chat skills API

* Move around

* Rename to 'tools' and make variables part of it

* Updates

* value

* Differentiate 'tool invocation' and 'reference'

* Just one interface, ChatReference

* dts updates

* Rename "skills" to "tools"

* Fix up

* Add static registration of tools

* string

* Updates

* Fix

* Rename 'chat' in API

* Rename "chatTool"
2024-06-18 16:38:20 -07:00
Connor Peet 5acb82336f
testing: update some feedback on followup items (#216559)
While I'm here,

Fixes https://github.com/microsoft/vscode-copilot/issues/6258
Fixes https://github.com/microsoft/vscode-copilot/issues/6259
2024-06-19 01:09:56 +02:00
Connor Peet 1aec898f11
testing: update attributable coverage api with call feedback (#216558) 2024-06-18 16:01:37 -07:00
Rob Lourens a41c11cd22
Fix cut off participant avatar shadow in chat header (#216557)
Fix cut off participant shadow in header
2024-06-19 00:58:03 +02:00
Matt Bierner 1fc7961ad5
Pick up latest TS for building VS Code (#216552) 2024-06-19 00:26:38 +02:00
Connor Peet 30cc181847
debug: finalize testRun in DebugSessionOptions (#216549)
debug finalize testRun in DebugSessionOptions

Closes #214486
2024-06-18 15:25:15 -07:00
Connor Peet 0dfcf2c829
debug: add location to evaluate expression hovers (#216551)
Adopts https://github.com/microsoft/debug-adapter-protocol/pull/481

fyi @roblourens, I think hover is the only place where this is relevant and this adds it there
2024-06-18 15:22:21 -07:00
Connor Peet f36a1edcf1
debug: fix uncaught error in watch tree (#216550)
Not sure why this method existed, we were the only consumer of it and it didn't really work (it errored if the node didn't exist and never returned 'false')
2024-06-19 00:16:01 +02:00