Commit graph

122438 commits

Author SHA1 Message Date
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
Daniel Imms b6aaf451e3
Merge pull request #216547 from microsoft/tyriar/216545
Fix outdated examples in api jsdoc
2024-06-18 14:41:35 -07:00
Daniel Imms 57842d1133
Merge pull request #216541 from microsoft/tyriar/211078
Add prompt input detection across wrapped lines (not continuations)
2024-06-18 14:17:04 -07:00
Daniel Imms 29a4e40bcb
Merge pull request #216519 from microsoft/tyriar/216002
Ensure completion text is used over label if present
2024-06-18 13:32:06 -07:00
Daniel Imms c6be7241b1
Fix outdated examples in api jsdoc
Fixes #216545
2024-06-18 13:29:16 -07:00
Daniel Imms 18d177df4c
Fix test as filtering changed 2024-06-18 12:55:51 -07:00
Daniel Imms f399d09afa
Delete recorded test 2024-06-18 12:40:47 -07:00
Daniel Imms b4ed13f770
Add prompt input detection across wrapped lines (not continuations)
Fixes #211078
2024-06-18 12:04:44 -07:00
Rob Lourens 5091dda80e
Fix chat confirmations for slash commands (#216536) 2024-06-18 20:43:05 +02:00
Benjamin Pasero ec121acd62
debt - enable type check in JS files (#216534)
* debt - enable type check in JS files

* fix require
2024-06-18 20:30:17 +02:00
Peng Lyu 03476c3864 fix #215421 2024-06-18 11:29:49 -07:00
Peng Lyu f0edc07570 re #215526. move off inline chat context key in notebook 2024-06-18 11:29:49 -07:00
Daniel Imms af6d5d3ee6
Update terminalSuggestAddon.ts 2024-06-18 11:27:55 -07:00
Sandeep Somavarapu 40e1b60992
ux feedback (#216518)
* ux feedback

* do not add activate action
2024-06-18 18:50:23 +02:00
Daniel Imms f4e68757be
Ensure completion text is used over label if present
Fixes #216002
2024-06-18 09:30:11 -07:00
Matt Bierner c3515864b9
Enable use strict on unc.js (#216515)
Fixes #216424

Reveals a few errors too that should be fixed by future changes
2024-06-18 18:08:04 +02:00
Sandeep Somavarapu 9a9aa28374
update new window actions (#216514) 2024-06-18 17:50:17 +02:00
Sandeep Somavarapu 170d851e98
report auto restart setting event (#216487) 2024-06-18 17:49:49 +02:00