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

Visual Studio Code - August Branch Mirror #6

Merged
merged 776 commits into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
776 commits
Select commit Hold shift + click to select a range
1647dde
SCM - source control graph rendering improvements (#226358)
lszomoru Aug 22, 2024
ce562fc
Remove collapseall/showall
DonJayamanne Aug 22, 2024
f95c722
Polish code action widget styles
daviddossett Aug 22, 2024
a7ca86f
Merge pull request #226363 from microsoft/ddossett/glamorous-quelea
daviddossett Aug 22, 2024
7963f8f
fix formatting
DonJayamanne Aug 22, 2024
2fd1ec1
Merge pull request #226220 from microsoft/don/issue224760.3
DonJayamanne Aug 22, 2024
23720fd
Capitalize code action widget list items (#226365)
daviddossett Aug 22, 2024
38d8c3a
Don't show HRs in the comments view (#226362)
alexr00 Aug 22, 2024
a3598f8
testing: add basic coverage introspection to testObserver APIs (#226211)
connor4312 Aug 22, 2024
afde513
properly connect search providers and handle undefined includes in fi…
andreamah Aug 22, 2024
5b33d87
Merge pull request #226369 from microsoft/chronic-guanaco
andreamah Aug 22, 2024
a754c04
aux window issue reporter default (#226370)
justschen Aug 22, 2024
493f415
make preview options non optional
andreamah Aug 22, 2024
34e0793
SCM - repository rendering improvements (#226368)
lszomoru Aug 23, 2024
1a1ec33
Merge pull request #226372 from microsoft/busy-smelt
andreamah Aug 23, 2024
aca1518
api: some slight lmtools polish (#226371)
connor4312 Aug 23, 2024
b8236f2
inline chat zone tweaks (#226328)
jrieken Aug 23, 2024
04ebdc5
make sure to handle accept/discard action in all cases (#226387)
jrieken Aug 23, 2024
598184c
chore: update electron@30.4.0 (#226385)
deepak1556 Aug 23, 2024
36e4ddb
esm - fix tests (#226389)
bpasero Aug 23, 2024
2c3224b
Running `code --new-window` does not open an empty window when `windo…
bpasero Aug 23, 2024
51457d0
change zone toolbar should not overflow the editor (#226396)
jrieken Aug 23, 2024
555329f
esm - fix build again (#226402)
bpasero Aug 23, 2024
f7cc48c
restore zone top only when not having been scrolled out already (#226…
jrieken Aug 23, 2024
019e9fb
Avoid resetting diff template data if disposed (#226373)
DonJayamanne Aug 23, 2024
29be8e8
Turns on asyncTokenization by default. Fixes #225794 (#226410)
hediet Aug 23, 2024
cd09f4a
consider cancel state when recomputing response type context key (#22…
jrieken Aug 23, 2024
a002d15
build - move `buildfile.js` out of `src` (#226403)
bpasero Aug 23, 2024
7cbcafc
esm - remove `loader.js` dependency fully (#226414)
bpasero Aug 23, 2024
3d4e5ab
esm - fix build more (#226416)
bpasero Aug 23, 2024
19d2a58
esm tweaks: amdX and web EH (#226417)
jrieken Aug 23, 2024
3069c9f
Inline completion file renames (#226419)
hediet Aug 23, 2024
d6394ad
SCM - improve loading more experience (#226421)
lszomoru Aug 23, 2024
00082d1
SCM - use fixed references when paging in more data (#226425)
lszomoru Aug 23, 2024
091668b
SCM - track "load more" state for each repository (#226435)
lszomoru Aug 23, 2024
af676cd
Revert "chore: update electron@30.4.0 (#226385)" (#226426)
deepak1556 Aug 23, 2024
1f28297
fix #225398 (#226436)
sandy081 Aug 23, 2024
29081ed
fix https://github.com/microsoft/vscode-copilot/issues/7124 (#226439)
jrieken Aug 23, 2024
7620202
fix https://github.com/microsoft/vscode-copilot/issues/7519 (#226444)
jrieken Aug 23, 2024
36ba96e
SCM - workaround for view order issue (#226448)
lszomoru Aug 23, 2024
0c743d4
Ctrl+D multiselection support for notebooks (#226206)
Yoyokrazy Aug 23, 2024
50a003e
SCM - add "outdated" indicator + fixes (#226477)
lszomoru Aug 23, 2024
3528aa4
write to clipboard if issue report body is too big (#226480)
justschen Aug 23, 2024
5b133aa
[folding] organize imports on save expands minimized imports (#226479)
aeschli Aug 23, 2024
88810d8
SCM - graph progress indicator improvements (#226482)
lszomoru Aug 23, 2024
34b5026
Add 'when' clause for tools (#226483)
roblourens Aug 23, 2024
bedf9f4
Enable ATA on web by default again
mjbvz Aug 23, 2024
47fb559
Reorder `go to source definition` (#226212)
mjbvz Aug 23, 2024
6f2e8f4
Pick up latest TS for building VS Code (#225817)
mjbvz Aug 23, 2024
a8a3339
Merge pull request #226202 from andrewbranch/autoImportSpecifierExclu…
mjbvz Aug 23, 2024
89f2077
Merge pull request #226485 from mjbvz/informal-echidna
mjbvz Aug 23, 2024
b356fa1
fix capitalization in action list (#226491)
justschen Aug 23, 2024
b8ad6f0
SCM - improve outdated badge rendering (#226495)
lszomoru Aug 23, 2024
12db21e
SCM - add action runner to show progress (#226498)
lszomoru Aug 23, 2024
9024515
fix `problemMatcher` bug (#226461)
meganrogge Aug 23, 2024
ed4db37
Tools API updates (#226493)
roblourens Aug 23, 2024
b967cdd
use imported `asArray` (#226499)
meganrogge Aug 23, 2024
df612ac
Remove 'name' on tool result part, and fix note about PromptElement t…
roblourens Aug 23, 2024
6a6ce14
Fix tool call params order (#226502)
roblourens Aug 24, 2024
e348be6
Remove allowImportingTsExtensions from created tsconfigs
mjbvz Aug 24, 2024
e81acea
Merge pull request #226541 from mjbvz/involved-gopher
mjbvz Aug 24, 2024
a24463c
Experimental undo/redo handling for notebook multicursor
rebornix Aug 25, 2024
3966113
Ignore placeholders when navigating nb diff items
DonJayamanne Aug 25, 2024
8a625dc
Merge pull request #226567 from microsoft/don/fixNavigationInNbDiff
DonJayamanne Aug 26, 2024
214bf83
3 Changes to MSAL auth (#226580)
TylerLeonhardt Aug 26, 2024
600cb73
Ensure output editor in NB diff is sized correctly
DonJayamanne Aug 26, 2024
c655326
Clear Diff Widget model before disposing the model
DonJayamanne Aug 26, 2024
727dbd6
Pass whole numbers to PrefixSumComputer for nb (#226568)
DonJayamanne Aug 26, 2024
3dcffc4
oops
DonJayamanne Aug 26, 2024
8be3fa2
esm - address compile errors in JS files (#226584)
bpasero Aug 26, 2024
9f04aaf
tests - depend on a test preload.js (#226588)
bpasero Aug 26, 2024
7656ec2
go back in versions to find the one that is api compatible - https://…
sandy081 Aug 26, 2024
a628b92
chore: update vscode-universal-bundler@0.1.3 (#226411)
deepak1556 Aug 26, 2024
46b8004
chore: update electron@30.4.0 (#226594)
deepak1556 Aug 26, 2024
d9fa822
ESM: revisit `removeGlobalNodeModuleLookupPaths` (fix #226042) (#226603)
bpasero Aug 26, 2024
32b4b6b
Fix #225998 (#226606)
benibenj Aug 26, 2024
cc5951d
Enforce revealing padding to be at most half the viewport (#226610)
alexdima Aug 26, 2024
1a0f603
Merge pull request #226582 from microsoft/don/nbDiffViewEnsureOuputMe…
DonJayamanne Aug 26, 2024
c059291
Merge pull request #226583 from microsoft/don/issue225207
DonJayamanne Aug 26, 2024
eb2f7c1
add secondary inline chat menu and render response commands there (#2…
jrieken Aug 26, 2024
eaf8451
SCM - tweak appearance of the load more indicator (#226623)
lszomoru Aug 26, 2024
90c3e49
Drop-down buttons to also go to next (#226619)
chrmarti Aug 26, 2024
e377061
SCM - refresh the view when the alwaysShowRepositories setting change…
lszomoru Aug 26, 2024
dc51350
do not show preview action in web (#226631)
sandy081 Aug 26, 2024
94f8698
polish profiles ui (#226639)
sandy081 Aug 26, 2024
efb6885
Pick up latest TS for building VS Code
mjbvz Aug 26, 2024
0833737
chat `clear` -> `new chat` in a11y help (#226647)
meganrogge Aug 26, 2024
5201a4b
improve & move debug console info up in help dialog (#226635)
meganrogge Aug 26, 2024
849154e
Fix type errors in suggest.ts
mjbvz Aug 26, 2024
70071d2
Bump micromatch from 4.0.2 to 4.0.8 in /extensions/npm (#226486)
dependabot[bot] Aug 26, 2024
3514b10
Merge branch 'main' into java-ai-libraries
aeschli Aug 26, 2024
5c69ec9
Merge pull request #226651 from mjbvz/tall-mackerel
mjbvz Aug 26, 2024
3af3e4f
Merge pull request #223677 from Flanker32/java-ai-libraries
aeschli Aug 26, 2024
5b7d2e1
Don't show preview for `Insert at cursor` (#226652)
aeschli Aug 26, 2024
df6d9b3
remove overrides of getActionsContext on viewpanecontainer (#226492)
sbatten Aug 26, 2024
ea1d863
fix input box focus issue for filter widget (#226667)
meganrogge Aug 26, 2024
61dd3c6
Revert "Drop-down buttons to also go to next (#226619)" (#226672)
alexr00 Aug 26, 2024
e6ab449
add user select to additional data (#226637)
justschen Aug 26, 2024
d09e5fd
fix some lightbulb bugs (#226677)
justschen Aug 26, 2024
5811c5d
Update distro - OSS tool
Tyriar Aug 26, 2024
ce9ce04
[css/json/html] update services (#226666)
aeschli Aug 26, 2024
4887c67
Merge pull request #226679 from microsoft/tyriar/oss_tool
Tyriar Aug 26, 2024
1184f71
show useful error message on bad uri
andreamah Aug 26, 2024
13d64e9
Add extra detail choice under chat response thumbs down (#226678)
roblourens Aug 26, 2024
17de21a
Merge pull request #226682 from microsoft/net-bobolink
andreamah Aug 26, 2024
c06299a
Make regular text in markdown comments wrap in notebook editors. (#22…
rehmsen Aug 26, 2024
ab81de5
Support for deleteLeft for notebook multi-select (#226680)
Yoyokrazy Aug 26, 2024
89bca2a
Merge remote-tracking branch 'origin/main' into rebornix/coherent-ora…
rebornix Aug 26, 2024
521cc16
Update undo/redo hooks
rebornix Aug 26, 2024
85ce229
Hook up undo/redo in multi cursor editing mode.
rebornix Aug 26, 2024
422b8e9
Merge pull request #226545 from microsoft/rebornix/coherent-orangutan
rebornix Aug 27, 2024
ff7a154
Don't allow returning a Promise from a tool call (#226688)
roblourens Aug 27, 2024
7473068
nls - add back `userLocale` to `locale (#224769) (#226701)
bpasero Aug 27, 2024
208303f
Include id in ErrorNoTelemetry message
nojaf Aug 27, 2024
a041950
Merge branch 'main' into pty-id-in-error
nojaf Aug 27, 2024
78f4b54
Support reverting cell metadata & cell language in notebook diff view…
DonJayamanne Aug 27, 2024
4ecd23c
Expand workspace stats
digitarald Aug 27, 2024
f83e47a
Merge pull request #226870 from microsoft/digitarald/radical-octopus
digitarald Aug 27, 2024
f0ee1cd
SCM - remove label hover (#226872)
lszomoru Aug 27, 2024
79f1a95
SCM - only show labels for the current/remote/base branches in the ho…
lszomoru Aug 27, 2024
652478d
make session for fileSearchProvider just an empty object (#226687)
andreamah Aug 27, 2024
9e6bd42
Account for modified content in cells (#226894)
DonJayamanne Aug 27, 2024
28bac81
debug: fix breakpoint icons in editor have wrong color (#226902)
connor4312 Aug 27, 2024
c4b2bba
Clear cached hash of text model when model changes (#226905)
DonJayamanne Aug 27, 2024
fde305a
Files to exclude doesn't work if using multiple extensions
andreamah Aug 27, 2024
f4e914e
Merge pull request #226910 from microsoft/andreamah/issue226830
andreamah Aug 28, 2024
17ba136
Closed notebook search blocks text search
andreamah Aug 28, 2024
9647599
Allow clicking anywhere in titles to expand/collap nb diff view cells…
DonJayamanne Aug 28, 2024
d1388fd
Use full time labels in chat history (#226922)
roblourens Aug 28, 2024
efd17c6
Fix Bash integration clobbering $? for PROMPT_COMMAND
akinomyoga Aug 28, 2024
fb831a6
Add a quick fix for `ensureNoDisposablesAreLeakedInTestSuite` (#226932)
alexdima Aug 28, 2024
df7cea5
SCM - fix hover layout regression (#226933)
lszomoru Aug 28, 2024
54cad31
cleanup web html pages (#216609)
joaomoreno Aug 28, 2024
21b0cfb
fix https://github.com/microsoft/vscode-copilot/issues/7701 (#226942)
jrieken Aug 28, 2024
977073d
fix https://github.com/microsoft/vscode/issues/226717 (#226943)
jrieken Aug 28, 2024
2a0e70d
title - tweak window controls container (#226941)
bpasero Aug 28, 2024
c9f093d
Revert "cleanup web html pages (#216609)"
joaomoreno Aug 28, 2024
4fb8522
Use instant hover for Radio buttons (#226940)
benibenj Aug 28, 2024
e264a81
Merge pull request #226959 from microsoft/revert-216609-joao/tan-beetle
joaomoreno Aug 28, 2024
f89c452
Inline chat fixes (#226960)
jrieken Aug 28, 2024
4cec36a
colorCustomizations don't get intellisense detail (#226962)
aeschli Aug 28, 2024
bba915f
fix #226732 (#226968)
sandy081 Aug 28, 2024
dea4412
disable code lense for the output editor (#226971)
jrieken Aug 28, 2024
9eb84ca
Always show hover hint if explicitly provided
Tyriar Aug 28, 2024
73aa45b
Don't verify completions are received on Windows
Tyriar Aug 28, 2024
2c24fee
Polish UI of inline-edits toolbar (#226969)
jrieken Aug 28, 2024
ee83a4c
Use OS separator when injecting ../ completion
Tyriar Aug 28, 2024
7380713
Merge pull request #226973 from microsoft/tyriar/223368
Tyriar Aug 28, 2024
d33446f
Merge pull request #226974 from microsoft/tyriar/226760
Tyriar Aug 28, 2024
3079ca3
Merge pull request #226976 from microsoft/tyriar/222237_3
Tyriar Aug 28, 2024
9e82c4a
Merge pull request #226913 from microsoft/andreamah/issue226859
andreamah Aug 28, 2024
e81a3a0
rename widget: remove trace log to avoid flooding until we unmount th…
ulugbekna Aug 28, 2024
368c17e
profiles editor feedback (#226982)
sandy081 Aug 28, 2024
2e4a043
debug: bump js-debug to 1.93 (#226986)
connor4312 Aug 28, 2024
51e4430
testing: call stack tpi refinements (#226981)
connor4312 Aug 28, 2024
d03aeaf
Can't open files (#226898) (#226996)
bpasero Aug 28, 2024
be0d177
fix desc for session (#226900)
andreamah Aug 28, 2024
b272c80
Fix api docs referencing old name
Tyriar Aug 28, 2024
478b036
don't duplicate walkthrough steps, add `when` clause (#226983)
meganrogge Aug 28, 2024
fbe0d9b
Cancel right click action when on scroll slider
Tyriar Aug 28, 2024
4bdaeb3
Merge pull request #227004 from microsoft/tyriar/226749
Tyriar Aug 28, 2024
f342519
Merge pull request #227006 from microsoft/tyriar/223358_2
Tyriar Aug 28, 2024
c524486
testing: fix alternate actions being inappropriately sticky (#227002)
connor4312 Aug 28, 2024
478d1bf
Sorting should have the default state checked (#227007)
alexr00 Aug 28, 2024
0e542f3
fix: populate chat command disambiguation (#227008)
joyceerhl Aug 28, 2024
913b9b9
Tweak organize imports setting descriptions
mjbvz Aug 28, 2024
3e0761c
Fix setting
mjbvz Aug 28, 2024
3e1258a
Using cancellation with findTextInFilesNew
andreamah Aug 28, 2024
45b0afb
Exclude not applied
andreamah Aug 28, 2024
12d9ce1
Merge pull request #227011 from mjbvz/productive-bird
mjbvz Aug 28, 2024
4c38824
Merge pull request #227013 from microsoft/andreamah/issue226916
andreamah Aug 28, 2024
b3cbbb4
Merge pull request #227014 from microsoft/andreamah/issue226714
andreamah Aug 28, 2024
015878c
fix #226725 (#227019)
sandy081 Aug 28, 2024
59b2709
adjustments to code action styling (#226999)
justschen Aug 28, 2024
c293d5a
fix lightbulb jumping in the gutter (but like not the trash) (#227022)
justschen Aug 28, 2024
0e62f01
Old FileSearchProvider session not properly cancelled
andreamah Aug 29, 2024
40a85d8
Merge pull request #227025 from microsoft/andreamah/issue227001
andreamah Aug 29, 2024
8cd1d86
Fix slash comands in /help that don't have sample queries (#227027)
roblourens Aug 29, 2024
4ab6e5d
Properly normalize very old chat session data (#227030)
roblourens Aug 29, 2024
80ef8fe
fix: freeze chat history before doing intent detection (#227028)
joyceerhl Aug 29, 2024
ae45c9d
Add welcome view with warning for chat extension with invalid API ver…
roblourens Aug 29, 2024
22c7f8f
using `RelativePattern` exclude and pattern causes an error
andreamah Aug 29, 2024
832bf49
Merge pull request #227036 from microsoft/andreamah/issue227035
andreamah Aug 29, 2024
1cc150c
Fix typo in extensionEnablementService.ts (#224145)
stalematker Aug 29, 2024
c955716
Bump micromatch from 4.0.5 to 4.0.8 in /remote (#227016)
dependabot[bot] Aug 29, 2024
fb56d0b
update distro pointer
isidorn Aug 29, 2024
65ce95d
fix https://github.com/microsoft/vscode/issues/227045 (#227048)
jrieken Aug 29, 2024
cf26b31
stop scrolling/revealing inline chat if "scrolling up" happened (#227…
jrieken Aug 29, 2024
724ebf4
Joh/friendly-hedgehog (#227056)
jrieken Aug 29, 2024
abf9cb9
don't move inline chat into target editor if there is already an acti…
jrieken Aug 29, 2024
528f5b8
Merge branch 'main' into isidorn/unlikely-swan
isidorn Aug 29, 2024
3ff7361
Add missing escape
Tyriar Aug 29, 2024
c2bd93f
Merge pull request #227069 from microsoft/tyriar/222237_2
Tyriar Aug 29, 2024
4443613
release stashed session on blur (#227071)
jrieken Aug 29, 2024
2bb6ebb
Merge pull request #227040 from microsoft/isidorn/unlikely-swan
isidorn Aug 29, 2024
59bcfc0
linux - enable WCO by default if custom title is used (#227065)
bpasero Aug 29, 2024
4711122
Merge pull request #226929 from akinomyoga/patch-1
Tyriar Aug 29, 2024
ab9f00c
linux - compute WCO width based on actual values (#227075)
bpasero Aug 29, 2024
be0639a
title - make sure toolbar is not consuming space without actions (#22…
bpasero Aug 29, 2024
79c48ea
emit height change event when discard/accept edits (#227079)
jrieken Aug 29, 2024
dfb96d1
wco - hardcode devtools location on Linux (#227084)
bpasero Aug 29, 2024
5b066ec
Fix chat welcome view showing up (#227096)
roblourens Aug 29, 2024
35232a7
Fix shell integration ps1 script for pwsh 5
Tyriar Aug 29, 2024
f858b32
Merge pull request #227134 from microsoft/tyriar/227132
Tyriar Aug 29, 2024
beefaee
fix lightbulb render location (#227138)
justschen Aug 29, 2024
f6d9f0e
title - more style fixes for proper positioning (#227139)
bpasero Aug 29, 2024
e674b3a
nb diff perf improvements by comparing hash values (#227145)
DonJayamanne Aug 29, 2024
a6730be
Revert fixes for nb diff identification due to possible impact on per…
DonJayamanne Aug 29, 2024
777c2ac
testing: fix vertical centering of component in the call stack view (…
connor4312 Aug 29, 2024
231deb1
Fix inline chat widget collapsing when removing attachments (#227167)
roblourens Aug 29, 2024
cfd4de1
Ensure to check if editor is undefined in nb diff view (#227174)
DonJayamanne Aug 30, 2024
11ad426
nb diff editor, use textbuffer hash for perf (#227173)
DonJayamanne Aug 30, 2024
6b924c5
ESM merge to main (#227184)
bpasero Aug 30, 2024
a6de21e
eng - add ESM migration commit to `.git-blame-ignore-revs` (#227190)
bpasero Aug 30, 2024
310f0a3
Engineering - upgrade AzureKeyVault task (#227191)
lszomoru Aug 30, 2024
964b129
workbench.action.toggleEditorGroupLayout does not maintain input focu…
bpasero Aug 30, 2024
135a89c
SCM - fix resource comparison (#227197)
lszomoru Aug 30, 2024
72e9b7d
SCM - remove old incoming/outgoing code (#227200)
lszomoru Aug 30, 2024
7e5c07f
Do not show sparkle button or insert at cursor on bash code blocks (#…
aeschli Aug 30, 2024
97ef3ff
first cut of import helper extension (#227203)
jrieken Aug 30, 2024
3dbbc0a
The `move` request should set the editor selection (#227204)
jrieken Aug 30, 2024
96af81f
SCM - introduce history item `displayId` (#227205)
lszomoru Aug 30, 2024
f57ba92
splash - support borders (#227210)
bpasero Aug 30, 2024
fb8d82e
Ignore VSCODE_STABLE variable in unit tests
Tyriar Aug 30, 2024
a82ad6e
import helper supports fix on save (#227219)
jrieken Aug 30, 2024
f32768e
stop inline chat reveal on any vertical scroll (#227220)
jrieken Aug 30, 2024
d6da5a8
Merge pull request #227221 from microsoft/tyriar/ignore_stable_var
Tyriar Aug 30, 2024
6f3c714
removes inline chat content widget (#227224)
jrieken Aug 30, 2024
004f8bd
Engineering - update OSS build agent pool (#227195)
lszomoru Aug 30, 2024
7806baa
nls - remove cookie migration (#227226)
bpasero Aug 30, 2024
f041706
esm - restore lost changes in tests from migration (#227225)
bpasero Aug 30, 2024
dfb54dd
Correct API doc comment
Tyriar Aug 30, 2024
7db8c30
Merge pull request #227235 from microsoft/tyriar/doc_comment
Tyriar Aug 30, 2024
f7ce9e9
Normalize path separator in ../ completion
Tyriar Aug 30, 2024
9b75e50
Merge pull request #227241 from microsoft/tyriar/227236
Tyriar Aug 30, 2024
5f1569a
Move shell integration scripts into common
Tyriar Aug 30, 2024
66cdc65
Merge remote-tracking branch 'origin/main' into tyriar/225665
Tyriar Aug 30, 2024
ac497db
Hide command guide if it's disable while showing
Tyriar Aug 30, 2024
adb25cf
Switching menubar display position failed with error (fix #205836) (#…
bpasero Aug 30, 2024
d8eb9b7
Fix terminal suggest in terminal editor
Tyriar Aug 30, 2024
ab4c5e0
Merge pull request #227245 from microsoft/tyriar/226868
Tyriar Aug 30, 2024
bda341c
Merge pull request #226715 from nojaf/pty-id-in-error
Tyriar Aug 30, 2024
22d736f
Better shifting of comment threads when editor changes (#227246)
alexr00 Aug 30, 2024
b698fca
Merge pull request #227247 from microsoft/tyriar/226865
Tyriar Aug 30, 2024
f1b7363
Don't show initial hint for extension or feature terminals
Tyriar Aug 30, 2024
03dc550
Update grammars (#227249)
alexr00 Aug 30, 2024
d31f3f1
Merge pull request #227250 from microsoft/tyriar/226992
Tyriar Aug 30, 2024
9aa4609
Tweak text in chat failure view (#227170)
roblourens Aug 30, 2024
1409cea
Add missing file changes
Tyriar Aug 31, 2024
0978e9e
Merge pull request #227244 from microsoft/tyriar/225665
Tyriar Aug 31, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,15 @@
**/src/vs/*/**/*.d.ts
**/src/vs/base/test/common/filters.perf.data.js
**/src/vs/loader.js
**/src2/**/dompurify.js
**/src2/**/marked.js
**/src2/**/semver.js
**/src2/typings/**/*.d.ts
**/src2/vs/*/**/*.d.ts
**/src2/vs/base/test/common/filters.perf.data.js
**/src2/vs/loader.js
**/test/unit/assert.js
**/test/unit/assert-esm.js
**/test/automation/out/**
**/typings/**
!.vscode
7 changes: 6 additions & 1 deletion .eslintplugin/code-ensure-no-disposables-leak-in-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export = new class EnsureNoDisposablesAreLeakedInTestSuite implements eslint.Rul
type: 'problem',
messages: {
ensure: 'Suites should include a call to `ensureNoDisposablesAreLeakedInTestSuite()` to ensure no disposables are leaked in tests.'
}
},
fixable: 'code'
};

create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
Expand All @@ -30,6 +31,10 @@ export = new class EnsureNoDisposablesAreLeakedInTestSuite implements eslint.Rul
context.report({
node,
messageId: 'ensure',
fix: (fixer) => {
const updatedSrc = src.replace(/(suite\(.*\n)/, '$1\n\tensureNoDisposablesAreLeakedInTestSuite();\n');
return fixer.replaceText(node, updatedSrc);
}
});
}
},
Expand Down
27 changes: 24 additions & 3 deletions .eslintplugin/code-import-patterns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export = new class implements eslint.Rule.RuleModule {
readonly meta: eslint.Rule.RuleMetaData = {
messages: {
badImport: 'Imports violates \'{{restrictions}}\' restrictions. See https://github.com/microsoft/vscode/wiki/Source-Code-Organization',
badFilename: 'Missing definition in `code-import-patterns` for this file. Define rules at https://github.com/microsoft/vscode/blob/main/.eslintrc.json'
badFilename: 'Missing definition in `code-import-patterns` for this file. Define rules at https://github.com/microsoft/vscode/blob/main/.eslintrc.json',
badAbsolute: 'Imports have to be relative to support ESM',
badExtension: 'Imports have to end with `.js` or `.css` to support ESM',
},
docs: {
url: 'https://github.com/microsoft/vscode/wiki/Source-Code-Organization'
Expand Down Expand Up @@ -181,8 +183,8 @@ export = new class implements eslint.Rule.RuleModule {

if (targetIsVS) {
// Always add "vs/nls" and "vs/amdX"
restrictions.push('vs/nls');
restrictions.push('vs/amdX'); // TODO@jrieken remove after ESM is real
restrictions.push('vs/nls.js');
restrictions.push('vs/amdX.js'); // TODO@jrieken remove after ESM is real
}

if (targetIsVS && option.layer) {
Expand Down Expand Up @@ -212,6 +214,25 @@ export = new class implements eslint.Rule.RuleModule {
}

private _checkImport(context: eslint.Rule.RuleContext, config: ImportPatternsConfig, node: TSESTree.Node, importPath: string) {
const targetIsVS = /^src\/vs\//.test(getRelativeFilename(context));
if (targetIsVS) {

// ESM: check for import ending with ".js" or ".css"
if (importPath[0] === '.' && !importPath.endsWith('.js') && !importPath.endsWith('.css')) {
context.report({
loc: node.loc,
messageId: 'badExtension',
});
}

// check for import being relative
if (importPath.startsWith('vs/')) {
context.report({
loc: node.loc,
messageId: 'badAbsolute',
});
}
}

// resolve relative paths
if (importPath[0] === '.') {
Expand Down
22 changes: 17 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@
"http",
"https",
"minimist",
"node:module",
"native-keymap",
"native-watchdog",
"net",
Expand Down Expand Up @@ -692,6 +693,7 @@
"when": "test",
"allow": [
"vs/css.build",
"vs/css.build.js",
"assert",
"sinon",
"sinon-test"
Expand Down Expand Up @@ -937,6 +939,10 @@
"when": "hasBrowser",
"pattern": "vs/workbench/workbench.web.main"
},
{
"when": "hasBrowser",
"pattern": "vs/workbench/workbench.web.main.js"
},
{
"when": "hasBrowser",
"pattern": "vs/workbench/~"
Expand Down Expand Up @@ -977,11 +983,13 @@
"vs/editor/~",
"vs/editor/contrib/*/~",
"vs/editor/editor.all",
"vs/editor/editor.all.js",
"vs/workbench/~",
"vs/workbench/api/~",
"vs/workbench/services/*/~",
"vs/workbench/contrib/*/~",
"vs/workbench/contrib/terminal/terminal.all"
"vs/workbench/contrib/terminal/terminal.all",
"vs/workbench/contrib/terminal/terminal.all.js"
]
},
{
Expand All @@ -994,11 +1002,13 @@
"vs/editor/~",
"vs/editor/contrib/*/~",
"vs/editor/editor.all",
"vs/editor/editor.all.js",
"vs/workbench/~",
"vs/workbench/api/~",
"vs/workbench/services/*/~",
"vs/workbench/contrib/*/~",
"vs/workbench/workbench.common.main"
"vs/workbench/workbench.common.main",
"vs/workbench/workbench.common.main.js"
]
},
{
Expand All @@ -1011,11 +1021,13 @@
"vs/editor/~",
"vs/editor/contrib/*/~",
"vs/editor/editor.all",
"vs/editor/editor.all.js",
"vs/workbench/~",
"vs/workbench/api/~",
"vs/workbench/services/*/~",
"vs/workbench/contrib/*/~",
"vs/workbench/workbench.common.main"
"vs/workbench/workbench.common.main",
"vs/workbench/workbench.common.main.js"
]
},
{
Expand All @@ -1025,15 +1037,15 @@
]
},
{
"target": "src/vs/{loader.d.ts,css.ts,css.build.ts,monaco.d.ts,nls.ts}",
"target": "src/vs/{loader.d.ts,css.ts,css.build.ts,monaco.d.ts,nls.ts,nls.messages.ts}",
"restrictions": []
},
{
"target": "src/vscode-dts/**",
"restrictions": []
},
{
"target": "src/{bootstrap-amd.js,bootstrap-fork.js,bootstrap-node.js,bootstrap-window.js,bootstrap.js,cli.js,main.js,server-cli.js,server-main.js}",
"target": "src/{bootstrap-amd.js,bootstrap-fork.js,bootstrap-node.js,bootstrap-window.js,cli.js,main.js,server-cli.js,server-main.js,bootstrap-cli.js,bootstrap-server.js}",
"restrictions": []
}
]
Expand Down
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ ee1655a82ebdfd38bf8792088a6602c69f7bbd94

# jrieken: new eslint-rule
4a130c40ed876644ed8af2943809d08221375408

# bpasero: ESM migration
6b924c51528e663dda5091a1493229a361676aca
50 changes: 25 additions & 25 deletions .github/workflows/monaco-editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,34 +65,34 @@ jobs:
- name: Run Monaco Editor Checks
run: yarn monaco-compile-check

- name: Editor Distro & ESM
run: yarn gulp editor-esm
# - name: Editor Distro & ESM
# run: yarn gulp editor-esm

- name: Editor ESM sources check
working-directory: ./test/monaco
run: yarn run esm-check
# - name: Editor ESM sources check
# working-directory: ./test/monaco
# run: yarn run esm-check

- name: Typings validation prep
run: |
mkdir typings-test
# - name: Typings validation prep
# run: |
# mkdir typings-test

- name: Typings validation
working-directory: ./typings-test
run: |
yarn init -yp
../node_modules/.bin/tsc --init
echo "import '../out-monaco-editor-core';" > a.ts
../node_modules/.bin/tsc --noEmit
# - name: Typings validation
# working-directory: ./typings-test
# run: |
# yarn init -yp
# ../node_modules/.bin/tsc --init
# echo "import '../out-monaco-editor-core';" > a.ts
# ../node_modules/.bin/tsc --noEmit

- name: Package Editor with Webpack
working-directory: ./test/monaco
run: yarn run bundle-webpack
# - name: Package Editor with Webpack
# working-directory: ./test/monaco
# run: yarn run bundle-webpack

- name: Compile Editor Tests
working-directory: ./test/monaco
run: yarn run compile
# - name: Compile Editor Tests
# working-directory: ./test/monaco
# run: yarn run compile

- name: Run Editor Tests
timeout-minutes: 5
working-directory: ./test/monaco
run: yarn test
# - name: Run Editor Tests
# timeout-minutes: 5
# working-directory: ./test/monaco
# run: yarn test
4 changes: 4 additions & 0 deletions .vscode-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ const extensions = [
label: 'github-authentication',
workspaceFolder: path.join(os.tmpdir(), `msft-auth-${Math.floor(Math.random() * 100000)}`),
mocha: { timeout: 60_000 }
},
{
label: 'microsoft-authentication',
mocha: { timeout: 60_000 }
}
];

Expand Down
16 changes: 16 additions & 0 deletions .vscode/extensions/vscode-selfhost-import-aid/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"configurations": [
{
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--enable-proposed-api=ms-vscode.vscode-selfhost-import-aid"
],
"name": "Launch Extension",
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"request": "launch",
"type": "extensionHost"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "vscode.typescript-language-features",
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
}
}
29 changes: 29 additions & 0 deletions .vscode/extensions/vscode-selfhost-import-aid/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "vscode-selfhost-import-aid",
"displayName": "VS Code Selfhost Import Aid",
"description": "Util to improve dealing with imports",
"engines": {
"vscode": "^1.88.0"
},
"version": "0.0.1",
"publisher": "ms-vscode",
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:typescript"
],
"main": "./out/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
},
"license": "MIT",
"scripts": {
"compile": "gulp compile-extension:vscode-selfhost-import-aid",
"watch": "gulp watch-extension:vscode-selfhost-import-aid"
},
"dependencies": {
"typescript": "5.5.4"
}
}
Loading