Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from microsoft:main #240

Open
wants to merge 802 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
802 commits
Select commit Hold shift + click to select a range
d662a01
Make pasting canceling ongoing geterr requests (#216089)
mjbvz Jun 19, 2024
0a8e930
Update language-configuration.json(fix #215999) (#216394)
y0sh1ne Jun 19, 2024
1330e6d
Fix merged table cells in extension marketplace readme rendering unme…
grgar Jun 19, 2024
484cd68
SCM - history view (#216629)
lszomoru Jun 19, 2024
54d9054
Fix event registration in webviewIconManager (#216635)
mjbvz Jun 19, 2024
48ab2a6
debug: fix cannot read properties of undefined (reading 'scheduler') …
connor4312 Jun 19, 2024
2e6ee2c
add config gear icon and make empty hint text consistent (#216633)
amunger Jun 19, 2024
5c1b006
Statusbar - support more than 2 items in a group (#216605)
lszomoru Jun 19, 2024
856fba0
SCM - more work related to history (#216641)
lszomoru Jun 19, 2024
36d874f
override pgup pgdown for SR users (#216638)
amunger Jun 19, 2024
51917e8
Fixes #182449 : Pressing Shift re-enables webview during Drag and Dro…
swordensen Jun 19, 2024
0cce95e
Bump braces (#216643)
rzhao271 Jun 19, 2024
7717059
fix #214294 (#216644)
sandy081 Jun 19, 2024
878af07
[typescript-language-features] Region-based semantic diagnostics for …
gabritto Jun 19, 2024
c67b31f
SCM - open multi-file diff editor from history (#216645)
lszomoru Jun 19, 2024
a37d329
chore: add diagnostics to integration test runs (#216646)
rzhao271 Jun 19, 2024
f280d99
Git - 💄 history provider cleanup (#216647)
lszomoru Jun 19, 2024
eb4092a
Git - more cleanup of the history item labels (#216648)
lszomoru Jun 19, 2024
d550ede
chore: update glibc version checker for remote (#215599)
deepak1556 Jun 20, 2024
6afc1c2
Finalize chat participant "when" (#216670)
roblourens Jun 20, 2024
4b19907
fix[x11]: crash in gpu process with software compositor (#216661)
deepak1556 Jun 20, 2024
c8f4447
Don't use an emitter so ExtensionSecrets doesn't have to be disposabl…
TylerLeonhardt Jun 20, 2024
a301701
Remove check for validity (#216675)
bhavyaus Jun 20, 2024
13d82c1
Status bar: make neighbour items look good when there are multiple (f…
bpasero Jun 20, 2024
416476a
SCM - maintain colors in history section (#216680)
lszomoru Jun 20, 2024
4bd8cce
enable `inlineChat.experimental.textButtons` for the team (#216679)
jrieken Jun 20, 2024
b41c889
Increase the length of the drop-down shadow of sticky scroll (#216686)
aiday-mar Jun 20, 2024
d58a511
fix #216687 (#216688)
sandy081 Jun 20, 2024
8ca1b8c
Keepins same indentation if increaseIndentPattern is satisifed on lin…
aiday-mar Jun 20, 2024
570e45b
SCM - distinct rendering for HEAD commit (#216691)
lszomoru Jun 20, 2024
7d07f6d
Fixes #216434
hediet Jun 20, 2024
4795e48
enable install another version action for all gallery extensions (#21…
sandy081 Jun 20, 2024
07dcb7a
inline chat stable scroll should ensure first line stays visible (#21…
jrieken Jun 20, 2024
05bd928
SCM - support multiple colors on the same column (#216708)
lszomoru Jun 20, 2024
b03fd7c
SCM - switch to an experimental setting (#216713)
lszomoru Jun 20, 2024
8993f76
add proxy-bypass-list as argv argument
isidorn Jun 20, 2024
d7792c1
do not recommend version in the suggestions (#216718)
sandy081 Jun 20, 2024
62fbb97
proposed support for proposed api versioning (#216719)
sandy081 Jun 20, 2024
8fc26cd
Don't allow suggest on Windows PowerShell
Tyriar Jun 20, 2024
4d858a6
allow usage of `extname(N)` template in custom labels (#213033)
bsShoham Jun 20, 2024
1ba11c3
Merge pull request #216724 from microsoft/tyriar/214869
Tyriar Jun 20, 2024
6408de4
Merge branch 'main' into fix_opening_links
Tyriar Jun 20, 2024
6f013bf
Tweak method and make comments smaller
Tyriar Jun 20, 2024
117f76a
Merge pull request #210898 from Timmmm/fix_opening_links
Tyriar Jun 20, 2024
e820af9
Comment Thread API: Newly created comment threads no longer auto-focu…
alexr00 Jun 20, 2024
d6dcdf9
Fix terminal sticky scroll on HC themes
Tyriar Jun 20, 2024
cdae24c
Merge pull request #216735 from microsoft/tyriar/216729
Tyriar Jun 20, 2024
05d0e6c
Use fixed positioning for terminal suggest
Tyriar Jun 20, 2024
9a56f75
update distro (#216733)
sandy081 Jun 20, 2024
404abb1
Merge pull request #216738 from microsoft/tyriar/211306
Tyriar Jun 20, 2024
f08ce27
Add activation event for languageModelTools (#216742)
roblourens Jun 20, 2024
f4a72d0
Observable improvements
hediet Jun 20, 2024
2fb5b16
Sets default placeholderText color
hediet Jun 20, 2024
fae9ee1
SCM - do not show a single commit in the history (#216748)
lszomoru Jun 20, 2024
e6c0d82
watcher - await `parcel.subscribe` (#216751)
bpasero Jun 20, 2024
34899a7
Fixes observable leak
hediet Jun 20, 2024
d6ffb9f
chore: append SDL scan to main build pipeline (#215598)
rzhao271 Jun 20, 2024
1e8fba7
Polish inline chat compact styles
daviddossett Jun 20, 2024
3093512
Implements experimental inline edits
hediet Jun 20, 2024
94e56ca
SCM - rendering bugfix (#216758)
lszomoru Jun 20, 2024
ec7a89c
updated file to include ai and vector db libs for py and js
cobey Jun 20, 2024
a15f572
fixed missing quote on one line
cobey Jun 20, 2024
eeb8299
fixed bad quote type
cobey Jun 20, 2024
0bb8c91
More polish
daviddossett Jun 20, 2024
16fa357
chore: disable APIScan to fix build (#216767)
rzhao271 Jun 20, 2024
8aee206
Merge pull request #216765 from microsoft/ddossett/zonal-buzzard
daviddossett Jun 20, 2024
824eaf5
Merge branch 'main' into cobey/add_vector_ai_tags
cobey Jun 20, 2024
5f330d3
Fix sort order of chat variables in quick pick (#216773)
bhavyaus Jun 21, 2024
ee173b0
Tools API tweaks, merge into lmTools (#216750)
roblourens Jun 21, 2024
4bbebd8
splits up process explorer and issue reporter services (#216766)
justschen Jun 21, 2024
d701eb5
SCM - switch logs to trace level (#216784)
lszomoru Jun 21, 2024
9bb1379
fix https://github.com/microsoft/vscode/issues/216720 (#216736)
jrieken Jun 21, 2024
40e700a
Fix module patching (microsoft/vscode-copilot-release#1294)
chrmarti Jun 20, 2024
e0a7112
Test custom root certificate (microsoft/vscode-copilot-release#1294)
chrmarti Jun 20, 2024
defc051
fix #214341 (#216790)
sandy081 Jun 21, 2024
63d0666
fix https://github.com/microsoft/vscode/issues/216791 (#216794)
jrieken Jun 21, 2024
e341e59
Close All Editors action performs a soft revert skipping over change …
bpasero Jun 21, 2024
e87da4b
Merge pull request #216771 from cobey/cobey/add_vector_ai_tags
isidorn Jun 21, 2024
abb277a
TS 5.5 - adopt @import JSDoc comments (#216796)
bpasero Jun 21, 2024
ae248b7
SCM - tracking down more rendering bugs (#216799)
lszomoru Jun 21, 2024
d64446d
filter send and cancel actions from execute toolbar (#216801)
jrieken Jun 21, 2024
a759468
add some testing language model streaming (#216789)
jrieken Jun 21, 2024
21b7ce1
fix https://github.com/microsoft/vscode-copilot/issues/6010 (#216802)
jrieken Jun 21, 2024
ce71050
Do not listen on tree menus (#216446)
alexr00 Jun 21, 2024
c8f6bdc
add example in the description
isidorn Jun 21, 2024
a2cab72
don't move inline chat zone into selection when changes aren't far aw…
jrieken Jun 21, 2024
f9a6ab7
Merge pull request #216716 from microsoft/isidorn/alert-lemur
isidorn Jun 21, 2024
63430da
fix #216808 (#216812)
sandy081 Jun 21, 2024
6ddf63f
Serialize PromptInputModel
Tyriar Jun 21, 2024
f4f94df
Merge pull request #216820 from microsoft/tyriar/210753
Tyriar Jun 21, 2024
68ca9a7
SCM - improve merge-base detection (#216823)
lszomoru Jun 21, 2024
d09eaa4
Resize terminal horizontal and vertical separately
Tyriar Jun 21, 2024
1bd152d
Correct terminal row calculation
Tyriar Jun 21, 2024
f44e0da
fix #215410 (#216828)
sandy081 Jun 21, 2024
5256e0a
Pick up TS 5.5 stable release (#216827)
mjbvz Jun 21, 2024
c75b992
Merge pull request #216829 from microsoft/tyriar/216810_1
Tyriar Jun 21, 2024
4c7ac7b
Merge pull request #216831 from microsoft/tyriar/216810_2
Tyriar Jun 21, 2024
795e206
do not allow creating multiple new profiles (#216833)
sandy081 Jun 21, 2024
ce744ff
adopt to restart extensions (#216832)
sandy081 Jun 21, 2024
7fca5bc
feedback: improve message and styling (#216835)
sandy081 Jun 21, 2024
a3a8dd5
a11y: Add opt-in setting to underline links within p elements (#216842)
daviddossett Jun 21, 2024
05e6e67
Update missing area label query for my-work.ghinb (#216846)
Yoyokrazy Jun 21, 2024
7cee428
Larger default nb find widget size + in selection label verbage (#216…
Yoyokrazy Jun 21, 2024
0a03218
Fix two chat history bugs (#216848)
roblourens Jun 21, 2024
c7a9755
adding auzre ai package tagging for js
cobey Jun 21, 2024
125f358
Unleash the chat API (#216850)
roblourens Jun 21, 2024
e47ec0a
fix settings editor memory leak (#216763)
SimonSiefke Jun 21, 2024
b6924a1
use first mappedEditsProviders that returns a result (#216885)
aeschli Jun 22, 2024
111a6f7
Rework ChatListRenderer (#216897)
roblourens Jun 23, 2024
524d1ec
use progressService for code mapper (#216910)
aeschli Jun 23, 2024
3410773
Fix tsc -p ./src, remove no-default-lib (#216760)
jakebailey Jun 24, 2024
feae5bf
make sure errors are recreated when making LM requests (#216807)
jrieken Jun 24, 2024
b01aaed
adding missing azure ai py packages to tagging (#216861)
cobey Jun 24, 2024
9d41b1c
Support Textual Selections in notebook find widget (#216840)
Yoyokrazy Jun 24, 2024
e2c6c2b
SCM - avoid opening multiple multi-file diff editors for the same his…
lszomoru Jun 24, 2024
6d903b4
Respect command enablement in tree view message buttons (#216995)
alexr00 Jun 24, 2024
53c0b5a
Joh/mental-koi (#217004)
jrieken Jun 24, 2024
74a5de9
fix #216574 (#217023)
sandy081 Jun 24, 2024
cd5f306
fixes: install pre-release action & disablement (#217157)
sandy081 Jun 24, 2024
d38b24b
Developing the accessible hover view/help (#216710)
aiday-mar Jun 24, 2024
c1bf420
fix #213840 (#217189)
sandy081 Jun 24, 2024
65e5508
Revert change to not listen on tree menus (#217170)
alexr00 Jun 24, 2024
64e0137
Add event handling for Home and End keys in FilterWidget (#217200)
benibenj Jun 24, 2024
b94320d
add API proposal tracking link (#217201)
jrieken Jun 24, 2024
93a7382
report file operation result code (#217211)
sandy081 Jun 24, 2024
10961c6
Minor inline text button polish
daviddossett Jun 24, 2024
36a5701
Merge pull request #217292 from microsoft/ddossett/enchanting-blackbird
daviddossett Jun 24, 2024
1b883b2
Fix #209158. Add Copy Output and Open Output in Text Editor to Scroll…
rebornix Jun 24, 2024
3cdb165
Update to @vscode/proxy-agent 0.21.0
chrmarti Jun 24, 2024
298c722
Module not shared on Windows?
chrmarti Jun 24, 2024
7b12ac0
debug: fix shadowed variables duplicating inlay values (#217330)
connor4312 Jun 24, 2024
e3e15e1
Add http.noProxy setting (fixes #211956)
mohankumarelec Jun 24, 2024
b8f8a1b
Cap number of code blocks models we keep around (#216753)
mjbvz Jun 24, 2024
4a59a68
Revert "Remove check for validity" (#217334)
bhavyaus Jun 24, 2024
2a106ad
fix: some settings still localize link markdown (#217375)
rzhao271 Jun 24, 2024
06bf1d5
rename 'insert at cursor' to 'apply in editor' (#217376)
aeschli Jun 24, 2024
45be8b8
[css/json/html] update services (#217364)
aeschli Jun 24, 2024
b66a2b0
Bump distro (#217382)
roblourens Jun 24, 2024
8d0ba61
removes remnants of lightbulb telemetry (#217410)
justschen Jun 24, 2024
763a3ab
Merge branch 'main' into cobey/add_azure_ai_js
cobey Jun 24, 2024
53e6a23
Update endgame ghinb -> June Milestone (#217475)
Yoyokrazy Jun 24, 2024
aef2886
Allow multiple extensions to provide default values for object settin…
benibenj Jun 24, 2024
36dc195
fix: Quotes with headings on markdown not rendering properly (#205227)
its-meny Jun 24, 2024
a5fea0c
Merge pull request #214589 from rehmsen/notebook_comment_lifecycle
rebornix Jun 24, 2024
445a0cf
Run steps for valid issues only (#217596)
bhavyaus Jun 24, 2024
b7ff4c5
intellisense for code actions on save (#215475)
justschen Jun 24, 2024
278b6a3
Fix static fn call for nb codeaction (#217605)
Yoyokrazy Jun 24, 2024
d681a19
Make ExtHostSecrets disposable (#217619)
TylerLeonhardt Jun 24, 2024
4f39693
Cleanup getting started video experiment (#217620)
bhavyaus Jun 24, 2024
1435b36
Chore: OSS tool (#217642)
Yoyokrazy Jun 25, 2024
6f3598b
Ensure that the first line of markdown in a 'supportHtml' MarkdownStr…
roblourens Jun 25, 2024
3e9cab0
Fix error from undefined 'isSettled' (#217646)
roblourens Jun 25, 2024
ca8cb6f
registerColor: pass in a single value for defaults, improve further (…
aeschli Jun 25, 2024
b36286d
Fix property undefined bug (#217800)
benibenj Jun 25, 2024
1b27e60
Bump ws from 8.13.0 to 8.17.1 in /extensions/notebook-renderers (#216…
dependabot[bot] Jun 25, 2024
a28cbc2
css/json/html web: adopt LanguageClient API change (#218060)
aeschli Jun 25, 2024
4580ba5
make collapsedText theme-able (#173203)
mtbaqer Jun 25, 2024
8001137
Merge pull request #216857 from cobey/cobey/add_azure_ai_js
isidorn Jun 25, 2024
682fa68
Adopt link decoration var (#216859)
daviddossett Jun 25, 2024
e9b254e
use chord instead of label (#218107)
amunger Jun 25, 2024
3106eec
add anthony to endgame notebook
eleanorjboyd Jun 25, 2024
01ef3f7
Fix #218058 (#218182)
sandy081 Jun 25, 2024
393e122
proper fix for #218058 (#218200)
sandy081 Jun 25, 2024
b216c3e
Merge pull request #218179 from microsoft/intense-stork
eleanorjboyd Jun 25, 2024
477babf
Opt in to link underlines for settings commands
daviddossett Jun 25, 2024
3d4f7d7
Merge pull request #218211 from microsoft/ddossett/continental-bonobo
daviddossett Jun 25, 2024
75280e7
Opt in to link underlines in extensions details page
daviddossett Jun 25, 2024
9191f5d
Use link decoration in ports view
daviddossett Jun 25, 2024
8f00f67
Merge pull request #218214 from microsoft/ddossett/hard-spoonbill
daviddossett Jun 25, 2024
c8aed5e
Merge pull request #218218 from microsoft/ddossett/'
daviddossett Jun 25, 2024
1ab0dbf
Opt in to link underlines in hover status bar actions
daviddossett Jun 25, 2024
9b81d8a
Opt in language status actions too
daviddossett Jun 25, 2024
e076510
Use link color and underline var for setting overrides links (#218212)
daviddossett Jun 25, 2024
1088b76
Merge pull request #218226 from microsoft/ddossett/individual-ant
daviddossett Jun 25, 2024
45db560
Check disposal in async rendering (#218235)
mjbvz Jun 25, 2024
e53968c
Re #209158. Output replacement might use legacy output id. (#218237)
rebornix Jun 25, 2024
0feeac7
Still fix incomplete markdown when the response is complete but still…
roblourens Jun 26, 2024
6e345d4
Remove getSessions API in favor of getAccounts (#218238)
TylerLeonhardt Jun 26, 2024
df8835a
fix: processing runtime arguments with non boolean values (#218243)
deepak1556 Jun 26, 2024
0354163
SCM - fix commit input text selection (#218249)
lszomoru Jun 26, 2024
44623fa
Add action label and keybindings for the editor hover status bar in t…
aiday-mar Jun 26, 2024
979ad0a
Set focus back to the editor hover part on escape from the accessible…
aiday-mar Jun 26, 2024
e5d157c
Inline chat fixes (#218318)
jrieken Jun 26, 2024
ea9edd0
Replace inner text whitespace unicode characters other than `\n` and …
aiday-mar Jun 26, 2024
b4eb545
fix: do not show activity bar's focus border on click (#217837)
hecticme Jun 26, 2024
d193d82
"default" colorCustomization doesn't get unset when removing setting …
aeschli Jun 26, 2024
7ebe6d3
use `globalThis` instead of `window` (#218368)
jrieken Jun 26, 2024
85f13f9
Refactor createConfigureKeybindingAction to support disabling keybind…
benibenj Jun 26, 2024
64c1b1c
Revert "Git - do not show smart commit dialog when using Commit (Amen…
lszomoru Jun 26, 2024
68f6b91
Add seen set to service instantiation
c-claeys Jun 26, 2024
fdec5a0
fix https://github.com/microsoft/vscode/issues/217853 (#218380)
jrieken Jun 26, 2024
05b1eaf
Improve casing of environment changes actions
Tyriar Jun 26, 2024
da06c08
Inline chat fixes and polish (#218398)
jrieken Jun 26, 2024
962e72c
Merge pull request #218400 from microsoft/tyriar/218118
Tyriar Jun 26, 2024
59c0407
Reset inline chat widget before terminal chat widget
Tyriar Jun 26, 2024
14b094b
fix: add disposable to elementDisposables instead of templateDisposab…
SimonSiefke Jun 26, 2024
ed20361
fix: possible memory leak in SettingTreeRenderers (#216768)
SimonSiefke Jun 26, 2024
720c893
Merge pull request #218405 from microsoft/tyriar/218402
Tyriar Jun 26, 2024
c6e312a
Fix terminalChatFocus behavior
Tyriar Jun 26, 2024
a11a0d7
Fix two bugs in #214589 fixing #213535. (#218357)
rehmsen Jun 26, 2024
b37c33d
Fix missing cases for not reporting prompts
Tyriar Jun 26, 2024
47262be
Disable terminal initial hint when ctrl+i is triggered
Tyriar Jun 26, 2024
18981d2
Merge pull request #218435 from microsoft/tyriar/215482
Tyriar Jun 26, 2024
02cbb7a
Merge pull request #218417 from microsoft/tyriar/216624
Tyriar Jun 26, 2024
e73d388
Merge pull request #218439 from microsoft/tyriar/213820
Tyriar Jun 26, 2024
955be75
Add new line before end of fenced code block
Tyriar Jun 26, 2024
e80e61a
Merge pull request #218451 from microsoft/tyriar/213941
Tyriar Jun 26, 2024
7607e75
debug: bump js-debug for 1.91 (#218469)
connor4312 Jun 26, 2024
b9f2435
Fix up markdown lists that use * (#218483)
roblourens Jun 26, 2024
9e7cd44
fix: show context menu option to disable empty editor hint (#218548)
joyceerhl Jun 26, 2024
fb3bace
switch order of keybinding registration (#218622)
amunger Jun 26, 2024
5950c29
Fix 'cancel chat' keybinding on windows (#218647)
roblourens Jun 27, 2024
cb9d1e4
Don't throw for $updateAgent failure (#218649)
roblourens Jun 27, 2024
5ba8a8b
fix #218126 (#218679)
sandy081 Jun 27, 2024
53ed076
Fix comment threads starting expanded (#218684)
alexr00 Jun 27, 2024
56a2eb0
fix #217851 (#218698)
sandy081 Jun 27, 2024
9e9eb5e
Don't check `locked` stat in file picker (#218707)
alexr00 Jun 27, 2024
2e3a1d8
fix #217902 (#218716)
sandy081 Jun 27, 2024
1ae48f1
fix https://github.com/microsoft/vscode/issues/218804 (#218822)
jrieken Jun 27, 2024
9a2ef8f
Update distro hash
chrmarti Jun 27, 2024
973dc30
fix #218219 (#218876)
sandy081 Jun 27, 2024
4b28f5d
Use webgl in terminal sticky scroll
Tyriar Jun 27, 2024
8d54ffc
chore: fix typos (#216562)
xiaoxianBoy Jun 27, 2024
2eedc13
look for keylabel that is used for mac as well (#219015)
amunger Jun 27, 2024
aea213b
chore: bump braces in build (#219010)
rzhao271 Jun 27, 2024
d390b22
fix lint error
jrieken Jun 28, 2024
cb1514f
Bump version to 1.92.0 (#219067)
benibenj Jun 28, 2024
f6f90e0
Implement NLS without AMD loader (#214588)
bpasero Jun 28, 2024
ed4e6ed
Update grammars (#219070)
alexr00 Jun 28, 2024
d0db6d0
fix https://github.com/microsoft/vscode/issues/218692 (#219078)
jrieken Jun 28, 2024
388469b
debt - CSS cleanup, accessibile diff viewer padding (#219102)
jrieken Jun 28, 2024
ff1b002
SCM - 💄 remove custom observable logging (#219101)
lszomoru Jun 28, 2024
2014f1d
nls - removal of loader plugin (#219098)
bpasero Jun 28, 2024
c50fcf3
Fix selection issue with filtered group models (#218889)
benibenj Jun 28, 2024
f272e4d
Disable compare action when no resource selected (#218875)
benibenj Jun 28, 2024
efa1397
Update default color for sticky scroll and location specific ones (#2…
benibenj Jun 28, 2024
8cb093f
Merge pull request #218941 from microsoft/tyriar/216817
Tyriar Jun 28, 2024
ecf8188
add location specific data along when making chat request (#219114)
jrieken Jun 28, 2024
6889c34
Adopt editor placeholder for comment widget (#219119)
alexr00 Jun 28, 2024
dd7d937
remove dead types from old proposal versions (#219120)
jrieken Jun 28, 2024
d9744cf
skip version check in oss (#219127)
sandy081 Jun 28, 2024
5da15f5
Merge pull request #218393 from c-claeys/instantiation-dfs
jrieken Jun 28, 2024
46362de
Support <sub> and <sup> in chat (#219053)
roblourens Jun 28, 2024
fe473c8
issue reporter short circuit logic fix (#219002)
justschen Jun 28, 2024
5fc4b6e
skip version check in oss (#219206)
sandy081 Jun 28, 2024
da36fe7
fix #218133 (#219212)
sandy081 Jun 28, 2024
206e438
Fix #218031 (#219215)
roblourens Jun 28, 2024
032c1b7
don't show output items if they are empty (#216844)
amunger Jun 28, 2024
c8a4a25
Add 'command' to chat telemetry (#219218)
roblourens Jun 28, 2024
5bece9e
Clear all workspace chats should also clear all open chats (#219198)
roblourens Jun 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .configurations/configuration.dsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ properties:
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: npm
directives:
description: Install NodeJS version >=18.15.x and <19
description: Install NodeJS version 20
allowPrerelease: true
settings:
id: OpenJS.NodeJS.LTS
version: "18.18.0"
version: "20.14.0"
source: winget
- resource: NpmDsc/NpmPackage
id: yarn
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/typescript-node:18-bookworm
FROM mcr.microsoft.com/devcontainers/typescript-node:20-bookworm

ADD install-vscode.sh /root/
RUN /root/install-vscode.sh
Expand Down
21 changes: 6 additions & 15 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,21 +151,13 @@
{
// Files should (only) be removed from the list they adopt the leak detector
"exclude": [
"src/vs/base/test/browser/browser.test.ts",
"src/vs/base/test/browser/ui/scrollbar/scrollableElement.test.ts",
"src/vs/base/test/browser/ui/scrollbar/scrollbarState.test.ts",
"src/vs/editor/contrib/codeAction/test/browser/codeActionModel.test.ts",
"src/vs/editor/test/common/services/languageService.test.ts",
"src/vs/editor/test/node/classification/typescript.test.ts",
"src/vs/platform/configuration/test/common/configuration.test.ts",
"src/vs/platform/extensions/test/common/extensionValidator.test.ts",
"src/vs/platform/opener/test/common/opener.test.ts",
"src/vs/platform/registry/test/common/platform.test.ts",
"src/vs/platform/remote/test/common/remoteHosts.test.ts",
"src/vs/platform/workspace/test/common/workspace.test.ts",
"src/vs/platform/workspaces/test/electron-main/workspaces.test.ts",
"src/vs/workbench/api/test/browser/mainThreadConfiguration.test.ts",
"src/vs/workbench/api/test/common/extHostExtensionActivator.test.ts",
"src/vs/workbench/api/test/node/extHostTunnelService.test.ts",
"src/vs/workbench/contrib/bulkEdit/test/browser/bulkCellEdits.test.ts",
"src/vs/workbench/contrib/chat/test/common/chatWordCounter.test.ts",
Expand All @@ -176,7 +168,6 @@
"src/vs/workbench/contrib/tasks/test/common/problemMatcher.test.ts",
"src/vs/workbench/contrib/tasks/test/common/taskConfiguration.test.ts",
"src/vs/workbench/services/commands/test/common/commandService.test.ts",
"src/vs/workbench/services/extensions/test/common/extensionDescriptionRegistry.test.ts",
"src/vs/workbench/services/userActivity/test/browser/domActivityTracker.test.ts",
"src/vs/workbench/test/browser/quickAccess.test.ts"
]
Expand Down Expand Up @@ -317,6 +308,10 @@
"selector": "BinaryExpression[operator='instanceof'][right.name='MouseEvent']",
"message": "Use DOM.isMouseEvent() to support multi-window scenarios."
},
{
"selector": "BinaryExpression[operator='instanceof'][right.name=/^HTML\\w+/]",
"message": "Use DOM.isHTMLElement() and related methods to support multi-window scenarios."
},
{
"selector": "BinaryExpression[operator='instanceof'][right.name='KeyboardEvent']",
"message": "Use DOM.isKeyboardEvent() to support multi-window scenarios."
Expand Down Expand Up @@ -650,7 +645,6 @@
"events",
"fs",
"fs/promises",
"graceful-fs",
"http",
"https",
"minimist",
Expand All @@ -672,6 +666,7 @@
"vscode-regexpp",
"vscode-textmate",
"worker_threads",
"@xterm/addon-clipboard",
"@xterm/addon-image",
"@xterm/addon-search",
"@xterm/addon-serialize",
Expand Down Expand Up @@ -1021,11 +1016,7 @@
]
},
{
"target": "src/vs/workbench/{workbench.desktop.main.nls.js,workbench.web.main.nls.js}",
"restrictions": []
},
{
"target": "src/vs/{loader.d.ts,css.ts,css.build.ts,monaco.d.ts,nls.ts,nls.build.ts,nls.mock.ts}",
"target": "src/vs/{loader.d.ts,css.ts,css.build.ts,monaco.d.ts,nls.ts}",
"restrictions": []
},
{
Expand Down
4 changes: 2 additions & 2 deletions .github/classifier.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"debug": {"assign": ["roblourens"]},
"debug-disassembly": {"assign": []},
"dialogs": {"assign": ["sbatten"]},
"diff-editor": {"assign": ["alexdima"]},
"diff-editor": {"assign": ["hediet"]},
"dropdown": {"assign": ["lramos15"]},
"editor-api": {"assign": ["alexdima"]},
"editor-autoclosing": {"assign": ["alexdima"]},
Expand Down Expand Up @@ -116,7 +116,7 @@
"json": {"assign": ["aeschli"]},
"json-sorting": {"assign": ["aiday-mar"]},
"keybindings": {"assign": ["ulugbekna"]},
"keybindings-editor": {"assign": ["sandy081"]},
"keybindings-editor": {"assign": ["ulugbekna"]},
"keyboard-layout": {"assign": ["ulugbekna"]},
"L10N": {"assign": ["TylerLeonhardt", "csigs"]},
"l10n-platform": {"assign": ["TylerLeonhardt"]},
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/locker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
- name: Run Locker
uses: ./actions/locker
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
daysSinceClose: 45
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
daysSinceUpdate: 3
ignoredLabel: "*out-of-scope,accessibility"
ignoreLabelUntil: "author-verification-requested"
ignoredMilestones: "Backlog Candidates"
labelUntil: "verified"
11 changes: 11 additions & 0 deletions .github/workflows/on-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ jobs:
- name: Install Actions
run: npm install --production --prefix ./actions

- name: Check for Validity
uses: ./actions/validity-checker
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}

- name: Run CopyCat (VSCodeTriageBot/testissues)
if: github.event.issue.user.login != 'ghost'
uses: ./actions/copycat
with:
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
Expand All @@ -25,6 +31,7 @@ jobs:
repo: testissues

- name: Run New Release
if: github.event.issue.user.login != 'ghost'
uses: ./actions/new-release
with:
label: new release
Expand All @@ -36,6 +43,7 @@ jobs:
days: 5

- name: Run Clipboard Labeler
if: github.event.issue.user.login != 'ghost'
uses: ./actions/regex-labeler
with:
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
Expand All @@ -44,6 +52,7 @@ jobs:
comment: "It looks like you're using the VS Code Issue Reporter but did not paste the text generated into the created issue. We've closed this issue, please open a new one containing the text we placed in your clipboard.\n\nHappy Coding!"

- name: Run Clipboard Labeler (Chinese)
if: github.event.issue.user.login != 'ghost'
uses: ./actions/regex-labeler
with:
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
Expand All @@ -53,6 +62,7 @@ jobs:

# source of truth in ./english-please.yml
- name: Run English Please
if: github.event.issue.user.login != 'ghost'
uses: ./actions/english-please
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
Expand All @@ -64,6 +74,7 @@ jobs:
translatorRequestedLabelColor: "c29cff"
# source of truth in ./test-plan-item-validator.yml
- name: Run Test Plan Item Validator
if: github.event.issue.user.login != 'ghost'
uses: ./actions/test-plan-item-validator
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/on-reopen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: On Reopen
on:
issues:
types: [reopened]

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v4
with:
repository: "microsoft/vscode-github-triage-actions"
ref: stable
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions

- name: Check for Validity
uses: ./actions/validity-checker
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import { IstanbulCoverageContext } from 'istanbul-to-vscode';
import * as vscode from 'vscode';
import { SourceLocationMapper, SourceMapStore } from './testOutputScanner';
import { SearchStrategy, SourceLocationMapper, SourceMapStore } from './testOutputScanner';
import { IScriptCoverage, OffsetToPosition, RangeCoverageTracker } from './v8CoverageWrangling';

export const istanbulCoverageContext = new IstanbulCoverageContext();
Expand All @@ -18,7 +18,7 @@ export const istanbulCoverageContext = new IstanbulCoverageContext();
export class PerTestCoverageTracker {
private readonly scripts = new Map</* script ID */ string, Script>();

constructor(private readonly maps: SourceMapStore) {}
constructor(private readonly maps: SourceMapStore) { }

public add(coverage: IScriptCoverage, test?: vscode.TestItem) {
const script = this.scripts.get(coverage.scriptId);
Expand Down Expand Up @@ -71,11 +71,7 @@ class Script {
public async report(run: vscode.TestRun) {
const mapper = await this.maps.getSourceLocationMapper(this.uri.toString());
const originalUri = (await this.maps.getSourceFile(this.uri.toString())) || this.uri;

run.addCoverage(this.overall.report(originalUri, this.converter, mapper));
for (const [test, projection] of this.perItem) {
run.addCoverage(projection.report(originalUri, this.converter, mapper, test));
}
run.addCoverage(this.overall.report(originalUri, this.converter, mapper, this.perItem));
}
}

Expand All @@ -88,20 +84,11 @@ class ScriptCoverageTracker {
}
}

/**
* Generates the script's coverage for the test run.
*
* If a source location mapper is given, it assumes the `uri` is the mapped
* URI, and that any unmapped locations/outside the URI should be ignored.
*/
public report(
public *toDetails(
uri: vscode.Uri,
convert: OffsetToPosition,
mapper: SourceLocationMapper | undefined,
item?: vscode.TestItem
): V8CoverageFile {
const file = new V8CoverageFile(uri, item);

) {
for (const range of this.coverage) {
if (range.start === range.end) {
continue;
Expand All @@ -113,8 +100,8 @@ class ScriptCoverageTracker {
const endCov = convert.toLineColumn(range.end);
let end = new vscode.Position(endCov.line, endCov.column);
if (mapper) {
const startMap = mapper(start.line, start.character);
const endMap = startMap && mapper(end.line, end.character);
const startMap = mapper(start.line, start.character, SearchStrategy.FirstAfter);
const endMap = startMap && mapper(end.line, end.character, SearchStrategy.FirstBefore);
if (!endMap || uri.toString().toLowerCase() !== endMap.uri.toString().toLowerCase()) {
continue;
}
Expand All @@ -123,28 +110,48 @@ class ScriptCoverageTracker {
}

for (let i = start.line; i <= end.line; i++) {
file.add(
new vscode.StatementCoverage(
range.covered,
new vscode.Range(
new vscode.Position(i, i === start.line ? start.character : 0),
new vscode.Position(i, i === end.line ? end.character : Number.MAX_SAFE_INTEGER)
)
yield new vscode.StatementCoverage(
range.covered,
new vscode.Range(
new vscode.Position(i, i === start.line ? start.character : 0),
new vscode.Position(i, i === end.line ? end.character : Number.MAX_SAFE_INTEGER)
)
);
}
}
}

/**
* Generates the script's coverage for the test run.
*
* If a source location mapper is given, it assumes the `uri` is the mapped
* URI, and that any unmapped locations/outside the URI should be ignored.
*/
public report(
uri: vscode.Uri,
convert: OffsetToPosition,
mapper: SourceLocationMapper | undefined,
items: Map<vscode.TestItem, ScriptCoverageTracker>,
): V8CoverageFile {
const file = new V8CoverageFile(uri, items, convert, mapper);
for (const detail of this.toDetails(uri, convert, mapper)) {
file.add(detail);
}

return file;
}
}

export class V8CoverageFile extends vscode.FileCoverage {
export class V8CoverageFile extends vscode.FileCoverage2 {
public details: vscode.StatementCoverage[] = [];

constructor(uri: vscode.Uri, item?: vscode.TestItem) {
super(uri, { covered: 0, total: 0 });
(this as vscode.FileCoverage2).testItem = item;
constructor(
uri: vscode.Uri,
private readonly perTest: Map<vscode.TestItem, ScriptCoverageTracker>,
private readonly convert: OffsetToPosition,
private readonly mapper: SourceLocationMapper | undefined,
) {
super(uri, { covered: 0, total: 0 }, undefined, undefined, [...perTest.keys()]);
}

public add(detail: vscode.StatementCoverage) {
Expand All @@ -154,4 +161,9 @@ export class V8CoverageFile extends vscode.FileCoverage {
this.statementCoverage.covered++;
}
}

public testDetails(test: vscode.TestItem): vscode.FileCoverageDetail[] {
const t = this.perTest.get(test);
return t ? [...t.toDetails(this.uri, this.convert, this.mapper)] : [];
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(vscode.tests.registerTestFollowupProvider({
async provideFollowup(_result, test, taskIndex, messageIndex, _token) {
return [{
title: '$(sparkle) Ask copilot for help',
title: '$(sparkle) Fix with Copilot',
command: 'github.copilot.tests.fixTestFailure',
arguments: [{ source: 'peekFollowup', test, message: test.taskStates[taskIndex].messages[messageIndex] }]
}];
Expand Down Expand Up @@ -119,7 +119,7 @@ export async function activate(context: vscode.ExtensionContext) {
map,
task,
kind === vscode.TestRunProfileKind.Debug
? await runner.debug(currentArgs, req.include)
? await runner.debug(task, currentArgs, req.include)
: await runner.run(currentArgs, req.include),
coverageDir,
cancellationToken
Expand Down Expand Up @@ -196,13 +196,8 @@ export async function activate(context: vscode.ExtensionContext) {
true
);

coverage.loadDetailedCoverage = async (_run, coverage) => {
if (coverage instanceof V8CoverageFile) {
return coverage.details;
}

return [];
};
coverage.loadDetailedCoverage = async (_run, coverage) => coverage instanceof V8CoverageFile ? coverage.details : [];
coverage.loadDetailedCoverageForTest = async (_run, coverage, test) => coverage instanceof V8CoverageFile ? coverage.testDetails(test) : [];

for (const [name, arg] of browserArgs) {
const cfg = ctrl.createRunProfile(
Expand Down
Loading