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

Bump code to 1.78 #2

Merged
merged 10,000 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
cedf1ea
cli: add new control server messages for wsl (#180438)
connor4312 Apr 20, 2023
155d71f
use auth session id for sync when enabled by embedder (#180444)
sandy081 Apr 20, 2023
b58314d
add plan-items to release notes section (#180445)
sandy081 Apr 20, 2023
3677be2
Oops
Apr 20, 2023
2c10a8e
Render both debug frame indicator and breakpoint (#180448)
joyceerhl Apr 20, 2023
e162bc0
clean up extension recommendations (#180450)
sandy081 Apr 20, 2023
565df23
Add API that exposes interactive session provider name (#180437)
roblourens Apr 20, 2023
4a4980c
Suppress default text drop if there's also a uri list (#180452)
mjbvz Apr 20, 2023
db1eefe
Support markdown string
Apr 20, 2023
175cd6b
Fix search result count again (#180453)
rzhao271 Apr 20, 2023
abb2efe
Add comment
Apr 20, 2023
05ad55f
Allow description map to be optional
Apr 20, 2023
9b59b96
Add extension based tests
Apr 20, 2023
f46a362
Fix test
Apr 20, 2023
837eef0
Try
Apr 21, 2023
ee76f10
Use custom node-gyp for SDL pipeline (#179723)
rzhao271 Apr 21, 2023
34dd36b
Allow new codeblock actions to be shown at the top level of the toolb…
roblourens Apr 21, 2023
db90880
Make description optional when reading storage
Apr 21, 2023
60ce77c
debug session: use queue to make sure debugee status get processed in…
FlorentRevest Apr 21, 2023
631a893
No more raw IPC in the Issue Reporter (#180449)
TylerLeonhardt Apr 21, 2023
7a11584
fix run selected text
meganrogge Apr 21, 2023
23ee753
Fix Interactive Session widget role (#180463)
roblourens Apr 21, 2023
b19017c
Merge pull request #180467 from microsoft/merogge/sendText
meganrogge Apr 21, 2023
3fedc56
Merge pull request #180422 from microsoft/joh/linear-parrotfish
jrieken Apr 21, 2023
cd79fe9
cleanup save API (#180476)
bpasero Apr 21, 2023
c29e4b0
Revert "add accessibility verbosity settings for terminal and diff ed…
alexdima Apr 21, 2023
a18e1ac
changed the weight to workbench contrib
aiday-mar Apr 21, 2023
93a5a6e
cancel code lens resolve requests when document is being edited (#180…
jrieken Apr 21, 2023
b4bccd9
show commands only when having reply, proper type for different edit …
jrieken Apr 21, 2023
8d00125
Fixes #3928 (#180404)
hediet Apr 21, 2023
6bf3a52
[debt] extract Session object which holds useful state for commands
jrieken Apr 21, 2023
b2cddf3
Fixes #153754. (#180490)
hediet Apr 21, 2023
f7eb567
allow for default sash ratio in diff editor (side-by-side) and use it…
jrieken Apr 21, 2023
048d9f5
Fixes #173495 (#180492)
hediet Apr 21, 2023
6086d7c
Fix no tree view error when view is disposed during refresh (#180415)
alexr00 Apr 21, 2023
5490a49
add missing monaco.d.ts file
jrieken Apr 21, 2023
a362f95
Merge pull request #180493 from microsoft/joh/dangerous-ferret
jrieken Apr 21, 2023
ca24086
Remove comments when a comment provider is unregistered (#180502)
alexr00 Apr 21, 2023
8bf021c
Observed deriveds are now recomputed lazily. (#180487)
hediet Apr 21, 2023
4f3df05
Fixes #173209 (#180505)
hediet Apr 21, 2023
8a7df61
Merge branch 'main' into aiday/improvingInteractiveEditor
aiday-mar Apr 21, 2023
9fca32c
Don't dispose model in separate transactions, as deriveds are now com…
hediet Apr 21, 2023
c39f1ae
Fixes #180224 (#180511)
hediet Apr 21, 2023
9e7d9f5
in notebooks cancel inline chat sessions from sibling editors when st…
jrieken Apr 21, 2023
6bc2162
extension host - allow to veto stopping (#179224) (#180513)
bpasero Apr 21, 2023
d912be6
changing the code so that view in chat is an additional button in the…
aiday-mar Apr 21, 2023
3ad6291
adding the context key while waiting for the merge
aiday-mar Apr 21, 2023
43ca3ee
changing the css
aiday-mar Apr 21, 2023
ece0082
Improve selected row checkbox style (#180515)
alexr00 Apr 21, 2023
2fa843c
cleanup preview styles and keep status bar consistent (#180518)
jrieken Apr 21, 2023
1041663
add `CTX_INTERACTIVE_EDITOR_LAST_RESPONSE_TYPE` and use that to contr…
jrieken Apr 21, 2023
a7e2047
Merge branch 'main' into aiday/improvingInteractiveEditor
aiday-mar Apr 21, 2023
337ae07
cleaning the code
aiday-mar Apr 21, 2023
b87ccca
cleaning the code
aiday-mar Apr 21, 2023
7eaeec8
Add command for expanding unresolved comments (#180521)
alexr00 Apr 21, 2023
dad6ca3
adopt tunnel mutex name change (#180524)
aeschli Apr 21, 2023
039fd89
chore: update [email protected] (#180526)
deepak1556 Apr 21, 2023
d3af653
joh/passive barracuda (#180530)
jrieken Apr 21, 2023
c0fe26c
handle 403 and bail out immediately (#180547)
sandy081 Apr 21, 2023
ed93e4d
Also wait for user data init
sandy081 Apr 21, 2023
3b56dca
wait only when init is required
sandy081 Apr 21, 2023
3f3a57a
Merge pull request #180549 from microsoft/sandy081/zippy-xerinae
sandy081 Apr 21, 2023
a5669b1
make sure rename disposes it `EditorStateCancellationTokenSource` so …
jrieken Apr 21, 2023
6bef4cd
Don't run chat codeblocks in task terminals (#180552)
roblourens Apr 21, 2023
9fbf386
Add command/keybinding to change drop type (#180556)
mjbvz Apr 21, 2023
cb6d294
Code review
Apr 21, 2023
2b3ea50
Fix drop widget having transparent background on hover (#180562)
mjbvz Apr 21, 2023
de1f016
Update distro
Apr 21, 2023
d0778ec
Oops
Apr 21, 2023
55ab7fa
Iios
Apr 21, 2023
50dc807
Re #178715. Wait for notebook model to be ready for dispose (#180560)
rebornix Apr 21, 2023
d5da685
remove unnecessary ? (#180564)
sandy081 Apr 21, 2023
3ec13f0
Merge pull request #180566 from microsoft/kartik/savedAPI
Apr 21, 2023
5df31a1
Allow to provide description to environment collection
Apr 21, 2023
31cd1ee
ensure focus is set correctly in output, enable keyboard scrolling fo…
amunger Apr 21, 2023
e71aaf7
report telemetry (#180567)
sandy081 Apr 21, 2023
bede6ba
Instrument Microsoft account type (#180573)
TylerLeonhardt Apr 21, 2023
ab7c32a
Specify codeActionKinds (#180576)
mjbvz Apr 21, 2023
25da7d5
Also search injected text decorations tree for margin decorations (#1…
joyceerhl Apr 23, 2023
3a69e15
quick access - allow a `Promise<FastAndSlowPicks<T>>` and adopt for c…
bpasero Apr 24, 2023
b21e880
Change the way the InteractiveSessionModel is loaded into the widget …
roblourens Apr 24, 2023
467cf3b
don't terminate IE session when observing outside edits (#180680)
jrieken Apr 24, 2023
0a6b7a3
Merge pull request #170518 from MonadChains/issue-151220/add-CURRENT-…
jrieken Apr 24, 2023
dbac899
hide ghost text when invoking IE session (#180682)
jrieken Apr 24, 2023
bdf6efe
Merge branch 'main' into bug/diff-breakpoint-clash
hediet Apr 24, 2023
e3018c3
Fixes #180222 (#180681)
hediet Apr 24, 2023
5f20cf6
Fixes #180538 (#180683)
hediet Apr 24, 2023
58e72cb
Fixes #180489 (#180684)
hediet Apr 24, 2023
16307b3
Merge pull request #179130 from maxmmyron/bug/diff-breakpoint-clash
hediet Apr 24, 2023
f0a3f5f
add jsdoc comment for trackFocus (#180690)
jrieken Apr 24, 2023
05244e2
work in propgress, adding the fix for the feedback bug also
aiday-mar Apr 24, 2023
8df6888
Show hover message for diff revert arrow (#180378)
joyceerhl Apr 24, 2023
3c05482
fixes #177444 (#180704)
joaomoreno Apr 24, 2023
1175e47
prioritize images over text in accessiblity mode
amunger Apr 21, 2023
f92df53
Fix #180588 (#180708)
sandy081 Apr 24, 2023
ff83d0b
fix #180670
meganrogge Apr 24, 2023
1334160
cleaning the code
aiday-mar Apr 24, 2023
9b099b5
Merge pull request #180580 from microsoft/aamunger/accessibilityMimeT…
amunger Apr 24, 2023
58a76bc
Merge branch 'main' into aamunger/outputAccessibility
amunger Apr 24, 2023
33c124c
split out event propagation handling
amunger Apr 24, 2023
b81fd85
Merge pull request #180713 from microsoft/merogge/cache
meganrogge Apr 24, 2023
db73884
using the toggle functionality instead
aiday-mar Apr 24, 2023
7a4984d
pre saving the old data
aiday-mar Apr 24, 2023
7c905c6
use editor options
meganrogge Apr 24, 2023
21c7b95
polishing the code
aiday-mar Apr 24, 2023
193bec8
remove true
aiday-mar Apr 24, 2023
1b6bf15
Allow negative numbers for `go to match` (#180479)
mjbvz Apr 24, 2023
03540d6
Pick up latest TS for building VS code (#180706)
mjbvz Apr 24, 2023
14a24d5
SCM - ActionBar rendering optimization (#180712)
lszomoru Apr 24, 2023
df75e71
add some padding to MD message, restore right alignment of status label
jrieken Apr 24, 2023
638b02a
show accept/discard btns even when last response was a message response
jrieken Apr 24, 2023
59ef73f
check the scroll height of the correct element
amunger Apr 24, 2023
0dc7369
Use readonly editor instead of an untitled buffer when showing enviro…
Apr 24, 2023
b292560
Use view state to restore InteractiveSessionViewPane session by id (#…
roblourens Apr 24, 2023
7d6225b
Merge pull request #180427 from microsoft/aiday/improvingInteractiveE…
aiday-mar Apr 24, 2023
48f69c7
remove escape to container hotkey
amunger Apr 24, 2023
af8b51e
Merge pull request #180738 from microsoft/aamunger/scrollingWhileStre…
amunger Apr 24, 2023
3897a9c
Merge branch 'main' into aamunger/outputAccessibility
amunger Apr 24, 2023
1714f71
Organize Errors in GitHub Auth and make sure no double prompting happ…
TylerLeonhardt Apr 24, 2023
f29dcfb
Use readonly editor instead of an untitled buffer when showing enviro…
Apr 24, 2023
5605a4e
Initial support for notebook CodeActions (#180740)
Yoyokrazy Apr 24, 2023
27c883b
Improves observable docs
hediet Apr 24, 2023
4602cf0
fix class selection query
amunger Apr 24, 2023
53b0058
fix message formatting
amunger Apr 24, 2023
4d44426
fix: Double pasting in webview(using russian keyboard layout) (#16100…
YinDongFang Apr 24, 2023
00272d0
Merge pull request #180751 from microsoft/aamunger/scrollingWhileStre…
amunger Apr 24, 2023
7c07ee8
Merge pull request #180753 from microsoft/aamunger/truncationMessage
amunger Apr 24, 2023
42fbc2f
Use custom command to open JS doc links (#180737)
mjbvz Apr 24, 2023
6a283f7
testing: tie test output correctly to runs, rework ui accordingly (#1…
connor4312 Apr 24, 2023
1ed09f8
Apply buffer copy optimization to `updateOutput` oto (#180755)
mjbvz Apr 24, 2023
31cd5ac
Restore welcome message when restoring chat session (#180756)
roblourens Apr 24, 2023
0636eaf
add F20-F24 key support for keyboard shortcuts
iliazeus Apr 10, 2023
9d583d6
remove unused keyCodeOrd from key mappings list
iliazeus Apr 10, 2023
6637eae
Feed :notebook: error to interactive session. (#180766)
rebornix Apr 24, 2023
af972cc
Merge pull request #180569 from microsoft/aamunger/outputAccessibility
amunger Apr 24, 2023
3df1f0e
Add command to show chat session history (#180770)
roblourens Apr 25, 2023
7a4d55a
testing: avoid including individual children in run at cursor if thei…
connor4312 Apr 25, 2023
2902f27
Add maximum number of persisted chat sessions (#180775)
roblourens Apr 25, 2023
8327e68
fix #180721
meganrogge Apr 25, 2023
4840721
Merge pull request #180776 from microsoft/merogge/start
meganrogge Apr 25, 2023
14ea89e
build: quieter node module cache logging (#180709)
joaomoreno Apr 25, 2023
e04309e
Default Themes: Rename Experimental to Dark Modern (#180785)
aeschli Apr 25, 2023
4308681
Merge user port changes with extension forwarded ports (#180694)
alexr00 Apr 25, 2023
2764bfe
context keys: fix: add serialize() support for ContextKeyNotRegexExpr
ulugbekna Apr 24, 2023
fc5b15d
update third party notices (#180788)
sandy081 Apr 25, 2023
6bd5fe0
new default theme: check setting when patching initial colors (#180687)
aeschli Apr 25, 2023
d53381b
json/css/html: update dependencies (#180714)
aeschli Apr 25, 2023
9f31548
add nls message to preserve link syntax (#180821)
aeschli Apr 25, 2023
4d9332c
Merge pull request #180719 from microsoft/merogge/option
meganrogge Apr 25, 2023
6fc6189
Merge pull request #180750 from microsoft/hediet/b/arrogant-hedgehog
hediet Apr 25, 2023
89b615d
add lint rule to prevent type discrimination properties in API types …
jrieken Apr 25, 2023
91284cc
remove nb.codeactiononsave setting, add `nb.experimental` to command ID
Yoyokrazy Apr 25, 2023
b446833
Merge pull request #180870 from microsoft/top-vicuna
Yoyokrazy Apr 25, 2023
ebfeae2
update wording
amunger Apr 25, 2023
d3da46f
Merge pull request #180879 from microsoft/aamunger/scrollSetting
amunger Apr 25, 2023
ab6ba2e
cli: fix problem restarting tunnel with uppercase letter in name (#18…
connor4312 Apr 25, 2023
8daeaab
Fix drop mime type wildcard regexp (#180883)
mjbvz Apr 25, 2023
39296d2
Disable breakpoint hint when a test loading icon is present (#180884)
joyceerhl Apr 25, 2023
7e01e0f
Add extra notes on `files` drop mime type (#180886)
mjbvz Apr 25, 2023
8243eb2
Fix enumItem labels (#180889)
mjbvz Apr 25, 2023
7be41e9
Fix markdown settings localization (#180891)
TylerLeonhardt Apr 25, 2023
a51593e
Bump distro (#180895)
roblourens Apr 25, 2023
2c51b3d
Fix #180797. Fine tune edit mode switch. (#180900)
rebornix Apr 26, 2023
31f513a
Update terminal status even if it is already present
Apr 26, 2023
8e4aae8
Fix #180857. Empty cmd+f should not unset search keyword. (#180901)
rebornix Apr 26, 2023
a668ae6
Fix #180861. Cell stays in editing mode if it is not modified by find…
rebornix Apr 26, 2023
31d7041
API :lipstick: (#180911)
bpasero Apr 26, 2023
479e63a
more cursor overrides: style and blinking
jrieken Apr 26, 2023
3d0daca
making the css selectable by changing the css file
aiday-mar Apr 26, 2023
0e4b323
make sure to restore diff editor focus after repositioning the zone w…
jrieken Apr 26, 2023
b72905c
back to `computeHumanReadableDiff` diff
jrieken Apr 26, 2023
95274e5
Merge pull request #180930 from microsoft/joh/universal-pig
jrieken Apr 26, 2023
7d76d94
Merge pull request #180921 from microsoft/aiday/interactiveWindowCSSFix
aiday-mar Apr 26, 2023
5c9860c
simplify code for demo (#180932)
sandy081 Apr 26, 2023
205b7f3
disable inline completions for inline chat input
jrieken Apr 26, 2023
38d3566
disabe cmd/ctrl+z for "special undo" of inline chat
jrieken Apr 26, 2023
5e4d633
Merge pull request #180936 from microsoft/joh/striped-dragonfly
jrieken Apr 26, 2023
a7cfec3
don't show release notes on web (#180937)
joaomoreno Apr 26, 2023
4270de1
Fix initial comment expand state (#180941)
alexr00 Apr 26, 2023
0198f59
prevent endless autoSend loop of inline chat (#180945)
jrieken Apr 26, 2023
9d2090b
"Show Next Change" doesn't show the right change (#180951)
alexr00 Apr 26, 2023
3e824cf
make sure EditModeStrategy#apply/cancel isn't called twice, keep refe…
jrieken Apr 26, 2023
672c554
Enables experiments for diffEditor.diffAlgorithm (#180954)
hediet Apr 26, 2023
16b96c4
update distro (#180953)
alexdima Apr 26, 2023
ed603a1
Fix typo in vscode.d.ts (#177377)
LakshyAAAgrawal Apr 26, 2023
2d34614
fix multi range formatting (#180955)
jrieken Apr 26, 2023
47c4c92
update distro (#180957)
alexdima Apr 26, 2023
30e62e1
Fix #177405. Treat error as plain text. (#180960)
rebornix Apr 26, 2023
dccdcf7
Fix #180290. Tweak wording accurately for install/enable missing exte…
rebornix Apr 26, 2023
38f1a66
Fix #163383 (#180963)
sandy081 Apr 26, 2023
ccd3092
Fix copying a suggested followup question in chat (#180965)
roblourens Apr 26, 2023
407cb5a
add workspaceTrust to nb "codeaction" infra (#180968)
Yoyokrazy Apr 26, 2023
326dc5a
Fix Issue Reporter API (#180971)
TylerLeonhardt Apr 26, 2023
fcc2290
Merge pull request #180903 from microsoft/kartik/updatestatus
Apr 26, 2023
0af79d4
[json] update service (#180972)
aeschli Apr 26, 2023
5d7d5e4
fix #180899
meganrogge Apr 26, 2023
74d91b8
Notification marker color turns grey when selected (#180973)
aeschli Apr 26, 2023
738ab79
Add mode to the notification (#180977)
TylerLeonhardt Apr 26, 2023
c4fad83
Add overrideCategory back (#180975)
bhavyaus Apr 26, 2023
5c44e81
Update getting started theme picker images to reflect new themes (#18…
daviddossett Apr 26, 2023
8ee5443
Fixes bug in observable utility
hediet Apr 26, 2023
67a7211
Fixes #180792
hediet Apr 26, 2023
b816a3f
Fixes CI
hediet Apr 26, 2023
50cc7df
Merge pull request #180978 from microsoft/merogge/qp
meganrogge Apr 26, 2023
ea031c7
Update vscode.d.ts for clearSessionPreference (#180979)
TylerLeonhardt Apr 26, 2023
afe68c6
Use a colon instead of quotes to handle long queries better (#180980)
TylerLeonhardt Apr 26, 2023
3d04348
fix #172465
meganrogge Apr 26, 2023
b44d1fb
undo some changes
meganrogge Apr 26, 2023
0a778a5
Allow clicking to remove breakpoint even alongside non debug decorati…
joyceerhl Apr 26, 2023
9f86a45
Load chat username/icon from current session, not persisted data (#18…
roblourens Apr 26, 2023
0049376
Merge pull request #180985 from microsoft/merogge/diff
meganrogge Apr 26, 2023
d6290ef
update distro (#180992)
sbatten Apr 27, 2023
180f909
Avoid double encoding vscode.dev links (#181002)
joyceerhl Apr 27, 2023
5ba4af0
Fixes #181007 (#181008)
hediet Apr 27, 2023
1e29d60
Fixes #181009 (#181011)
hediet Apr 27, 2023
5886713
Use correct key for hybrid port unforwarding (#181005)
alexr00 Apr 27, 2023
92f910f
Adds telemetry to understand how long the diff editor was visible to …
hediet Apr 27, 2023
726b7f5
enable live preview for last line of document. for that... (#181029)
jrieken Apr 27, 2023
5e32d30
fix #175014
meganrogge Apr 27, 2023
2a557e7
fix tab order for hidden status element when a message shows
jrieken Apr 27, 2023
e6855a2
don't use role or aria-label attributes so that contents get read out
jrieken Apr 27, 2023
2d28a86
Add a couple teammates to my-endgame notebook (#181059)
TylerLeonhardt Apr 27, 2023
016a3fd
Merge pull request #181042 from microsoft/merogge/playTime
meganrogge Apr 27, 2023
effba3a
Merge pull request #181043 from microsoft/joh/urban-camel
meganrogge Apr 27, 2023
c1ce900
Merge pull request #181046 from microsoft/joh/deep-manatee
meganrogge Apr 27, 2023
2c2dcae
debug: bump js-debug (#181049)
connor4312 Apr 27, 2023
c455231
Revert "Fix: diff editor arrow click enables breakpoint " (#181040)
hediet Apr 27, 2023
651bd24
Set glyph margin decoration width appropriately (#181071)
joyceerhl Apr 27, 2023
5b6af07
Move opening default built-in walkthrough to after built-in walkthrou…
bhavyaus Apr 27, 2023
68b2de2
chore: bump distro (#181104)
deepak1556 Apr 28, 2023
0389468
Unexpected theme name showing up in web (#181091)
aeschli Apr 28, 2023
e410e7c
Install extension in the right server (#181110)
sandy081 Apr 28, 2023
3862229
Fixes `PieceTreeBase.equal` (#181125)
alexdima May 1, 2023
c74c003
Revert "Fixes `PieceTreeBase.equal` (#181125)" (#181270)
roblourens May 1, 2023
657bb89
cli: tunnels can sporadically become unresponsive (#181286)
connor4312 May 2, 2023
252e546
Add temporary nodeJS walkthrough (#181442)
bhavyaus May 3, 2023
0591d3e
bump version
sandy081 May 4, 2023
6a995c4
unc - adopt setting and handling of allow list (#5)
bpasero May 4, 2023
4329d7c
code web server initial commit
filiptronicek Oct 26, 2021
c0d02bf
Don't test the Feedback component
filiptronicek Oct 28, 2021
acfe94d
enable prebuilds for all branches
akosyakov Aug 30, 2022
ce42e01
Add example guide for pre-installing vscode extensions with docker in…
axonasif Jan 17, 2023
38dd445
:lipstick:
jeanp413 Jan 31, 2023
9931548
Update deprecated example in README
bjrne Apr 18, 2023
9cc40e8
Merge branch 'main' into gp-code-1.78
daniel-wachira May 12, 2023
ee984c9
Fix default image destroyed in merge
daniel-wachira May 12, 2023
a867067
Port the delayed signal patch to gp-code-1.78
daniel-wachira May 12, 2023
f7fb9f9
Fix build
daniel-wachira May 12, 2023
8a7a90c
Remove access token requirement as we're running in a sandbox
daniel-wachira May 19, 2023
ff720fa
Revert "Remove access token requirement as we're running in a sandbox"
daniel-wachira May 21, 2023
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.
12 changes: 12 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM mcr.microsoft.com/devcontainers/typescript-node:16-bullseye

ADD install-vscode.sh /root/
RUN /root/install-vscode.sh

RUN git config --system codespaces-theme.hide-status 1

USER node
RUN YARN_CACHE="$(yarn cache dir)" && rm -rf "$YARN_CACHE" && ln -s /vscode-dev/yarn-cache "$YARN_CACHE"

USER root
CMD chown node:node /vscode-dev && sudo -u node mkdir -p /vscode-dev/yarn-cache && sleep inf
86 changes: 18 additions & 68 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -1,84 +1,32 @@
# Code - OSS Development Container

[![Open in Remote - Containers](https://img.shields.io/static/v1?label=Remote%20-%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode)
This dev container includes configuration for a development container for working with Code - OSS in a local container. For using [GitHub Codespaces](https://github.com/features/codespaces) follow the [prebuilt setup](prebuilt/README.md) which installs VNC for displaying the application window.

This repository includes configuration for a development container for working with Code - OSS in a local container or using [GitHub Codespaces](https://github.com/features/codespaces).
> **Note:** You will need X11's `DISPLAY` or Wayland's `WAYLAND_DISPLAY` environment variable set locally to allow for the Code - OSS window to display. See [Running GUI app on WSL](https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps) for Windows and [Quartz](https://www.xquartz.org) for Mac.

> **Tip:** The default VNC password is `vscode`. The VNC server runs on port `5901` and a web client is available on port `6080`.

## Quick start - local

If you already have VS Code and Docker installed, you can click the badge above or [here](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode) to get started. Clicking these links will cause VS Code to automatically install the Remote - Containers extension if needed, clone the source code into a container volume, and spin up a dev container for use.
## Quick start

1. Install Docker Desktop or Docker for Linux on your local machine. (See [docs](https://aka.ms/vscode-remote/containers/getting-started) for additional details.)

2. **Important**: Docker needs at least **4 Cores and 8 GB of RAM** to run a full build. If you are on macOS, or are using the old Hyper-V engine for Windows, update these values for Docker Desktop by right-clicking on the Docker status bar item and going to **Preferences/Settings > Resources > Advanced**.
2. **Important**: Docker needs at least **4 Cores and 8 GB of RAM** to run a full build with **9 GB of RAM** being recommended. If you are on macOS, or are using the old Hyper-V engine for Windows, update these values for Docker Desktop by right-clicking on the Docker status bar item and going to **Preferences/Settings > Resources > Advanced**.

> **Note:** The [Resource Monitor](https://marketplace.visualstudio.com/items?itemName=mutantdino.resourcemonitor) extension is included in the container so you can keep an eye on CPU/Memory in the status bar.

3. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [Remote - Containers](https://aka.ms/vscode-remote/download/containers) extension.

![Image of Remote - Containers extension](https://microsoft.github.io/vscode-remote-release/images/remote-containers-extn.png)

> **Note:** The Remote - Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.

4. Press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd> and select **Remote-Containers: Clone Repository in Container Volume...**.

> **Tip:** While you can use your local source tree instead, operations like `yarn install` can be slow on macOS or when using the Hyper-V engine on Windows. We recommend the "clone repository in container" approach instead since it uses "named volume" rather than the local filesystem.

5. Type `https://github.com/microsoft/vscode` (or a branch or PR URL) in the input box and press <kbd>Enter</kbd>.

6. After the container is running, open a web browser and go to [http://localhost:6080](http://localhost:6080), or use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.

Anything you start in VS Code, or the integrated terminal, will appear here.

Next: **[Try it out!](#try-it)**

## Quick start - GitHub Codespaces

1. From the [microsoft/vscode GitHub repository](https://github.com/microsoft/vscode), click on the **Code** dropdown, select **Open with Codespaces**, and then click on **New codespace**. If prompted, select the **Standard** machine size (which is also the default).

> **Note:** You will not see these options within GitHub if you are not in the Codespaces beta.

2. After the codespace is up and running in your browser, press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd> and select **Ports: Focus on Ports View**.

3. You should see **VNC web client (6080)** under in the list of ports. Select the line and click on the globe icon to open it in a browser tab.
3. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [Dev Containers](https://aka.ms/vscode-remote/download/containers) extension.

> **Tip:** If you do not see the port, <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd>, select **Forward a Port** and enter port `6080`.
![Image of Dev Containers extension](https://microsoft.github.io/vscode-remote-release/images/dev-containers-extn.png)

4. In the new tab, you should see noVNC. Click **Connect** and enter `vscode` as the password.
> **Note:** The Dev Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.

Anything you start in VS Code, or the integrated terminal, will appear here.

Next: **[Try it out!](#try-it)**

### Using VS Code with GitHub Codespaces

You may see improved VNC responsiveness when accessing a codespace from VS Code client since you can use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/). Here's how to do it.

1. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the the [GitHub Codespaces extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).

> **Note:** The GitHub Codespaces extension requires the Visual Studio Code distribution of Code - OSS.

2. After the VS Code is up and running, press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd>, choose **Codespaces: Create New Codespace**, and use the following settings:
- `microsoft/vscode` for the repository.
- Select any branch (e.g. **main**) - you can select a different one later.
- Choose **Standard** (4-core, 8GB) as the size.

4. After you have connected to the codespace, you can use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.

> **Tip:** You may also need change your VNC client's **Picture Quality** setting to **High** to get a full color desktop.

5. Anything you start in VS Code, or the integrated terminal, will appear here.
4. Due to the size of the repository we strongly recommend cloning it on a Linux filesystem for better bind mount performance. On macOS we recommend using a Docker volume (press <kbd>F1</kbd> and select **Dev Containers: Clone Repository in Container Volume...**) and on Windows we recommend using a WSL folder:
- Make sure you are running a recent WSL version to get X11 and Wayland support.
- Use the WSL extension for VS Code to open the cloned folder in WSL.
- Press <kbd>F1</kbd> and select **Dev Containers: Reopen in Container**.

Next: **[Try it out!](#try-it)**

## Try it!

This container uses the [Fluxbox](http://fluxbox.org/) window manager to keep things lean. **Right-click on the desktop** to see menu options. It works with GNOME and GTK applications, so other tools can be installed if needed.

> **Note:** You can also set the resolution from the command line by typing `set-resolution`.

To start working with Code - OSS, follow these steps:

1. In your local VS Code client, open a terminal (<kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>\`</kbd>) and type the following commands:
Expand All @@ -88,18 +36,20 @@ To start working with Code - OSS, follow these steps:
bash scripts/code.sh
```

2. After the build is complete, open a web browser or a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to the desktop environment as described in the quick start and enter `vscode` as the password.

3. You should now see Code - OSS!
2. You should now see Code - OSS!

Next, let's try debugging.

1. Shut down Code - OSS by clicking the box in the upper right corner of the Code - OSS window through your browser or VNC viewer.
1. Shut down Code - OSS by clicking the box in the upper right corner of the Code - OSS window.

2. Go to your local VS Code client, and use the **Run / Debug** view to launch the **VS Code** configuration. (Typically the default, so you can likely just press <kbd>F5</kbd>).

> **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../.vscode/launch.json). However, running `scripts/code.sh` first will set up Electron which will usually solve timeout issues.
> **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../../.vscode/launch.json). However, running `scripts/code.sh` first will set up Electron which will usually solve timeout issues.

3. After a bit, Code - OSS will appear with the debugger attached!

Enjoy!

# Notes

The container comes with VS Code Insiders installed. To run it from an Integrated Terminal use `VSCODE_IPC_HOOK_CLI= /usr/bin/code-insiders .`.
50 changes: 16 additions & 34 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,22 @@
{
"name": "Code - OSS",

// Image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
"image": "mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:branch-main",
"overrideCommand": false,
"runArgs": [ "--init", "--security-opt", "seccomp=unconfined", "--shm-size=1g"],

"settings": {
"resmon.show.battery": false,
"resmon.show.cpufreq": false
"name": "Code - OSS with X11/Wayland",
"build": {
"dockerfile": "Dockerfile"
},

// noVNC, VNC
"forwardPorts": [6080, 5901],
"portsAttributes": {
"6080": {
"label": "VNC web client (noVNC)",
"onAutoForward": "silent"
},
"5901": {
"label": "VNC TCP port",
"onAutoForward": "silent"
"overrideCommand": false,
"privileged": true,
"mounts": [
{
"source": "vscode-dev",
"target": "/vscode-dev",
"type": "volume"
}
},

"extensions": [
"dbaeumer.vscode-eslint",
"mutantdino.resourcemonitor"
],

// Optionally loads a cached yarn install for the repo
"postCreateCommand": ".devcontainer/cache/restore-diff.sh",

"remoteUser": "node",

"hostRequirements": {
"memory": "8gb"
"customizations": {
"vscode": {
"extensions": [
"mutantdino.resourcemonitor"
]
}
}
}
12 changes: 12 additions & 0 deletions .devcontainer/install-vscode.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

apt update
apt install -y wget gpg

wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
rm -f packages.microsoft.gpg

apt update
apt install -y code-insiders libsecret-1-dev libxkbfile-dev
105 changes: 105 additions & 0 deletions .devcontainer/prebuilt/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Code - OSS Development Container

[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode)

This repository includes configuration for a development container for working with Code - OSS in a local container or using [GitHub Codespaces](https://github.com/features/codespaces).

> **Tip:** The default VNC password is `vscode`. The VNC server runs on port `5901` and a web client is available on port `6080`.

## Quick start - local

If you already have VS Code and Docker installed, you can click the badge above or [here](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode) to get started. Clicking these links will cause VS Code to automatically install the Dev Containers extension if needed, clone the source code into a container volume, and spin up a dev container for use.

1. Install Docker Desktop or Docker for Linux on your local machine. (See [docs](https://aka.ms/vscode-remote/containers/getting-started) for additional details.)

2. **Important**: Docker needs at least **4 Cores and 8 GB of RAM** to run a full build with **9 GB of RAM** being recommended. If you are on macOS, or are using the old Hyper-V engine for Windows, update these values for Docker Desktop by right-clicking on the Docker status bar item and going to **Preferences/Settings > Resources > Advanced**.

> **Note:** The [Resource Monitor](https://marketplace.visualstudio.com/items?itemName=mutantdino.resourcemonitor) extension is included in the container so you can keep an eye on CPU/Memory in the status bar.

3. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [Dev Containers](https://aka.ms/vscode-remote/download/containers) extension.

![Image of Dev Containers extension](https://microsoft.github.io/vscode-remote-release/images/dev-containers-extn.png)

> **Note:** The Dev Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.

4. Press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd> and select **Dev Containers: Clone Repository in Container Volume...**.

> **Tip:** While you can use your local source tree instead, operations like `yarn install` can be slow on macOS or when using the Hyper-V engine on Windows. We recommend the "clone repository in container" approach instead since it uses "named volume" rather than the local filesystem.

5. Type `https://github.com/microsoft/vscode` (or a branch or PR URL) in the input box and press <kbd>Enter</kbd>.

6. After the container is running, open a web browser and go to [http://localhost:6080](http://localhost:6080), or use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.

Anything you start in VS Code, or the integrated terminal, will appear here.

Next: **[Try it out!](#try-it)**

## Quick start - GitHub Codespaces

1. From the [microsoft/vscode GitHub repository](https://github.com/microsoft/vscode), click on the **Code** dropdown, select **Open with Codespaces**, and then click on **New codespace**. If prompted, select the **Standard** machine size (which is also the default).

> **Note:** You will not see these options within GitHub if you are not in the Codespaces beta.

2. After the codespace is up and running in your browser, press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd> and select **Ports: Focus on Ports View**.

3. You should see **VNC web client (6080)** under in the list of ports. Select the line and click on the globe icon to open it in a browser tab.

> **Tip:** If you do not see the port, <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd>, select **Forward a Port** and enter port `6080`.

4. In the new tab, you should see noVNC. Click **Connect** and enter `vscode` as the password.

Anything you start in VS Code, or the integrated terminal, will appear here.

Next: **[Try it out!](#try-it)**

### Using VS Code with GitHub Codespaces

You may see improved VNC responsiveness when accessing a codespace from VS Code client since you can use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/). Here's how to do it.

1. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the the [GitHub Codespaces extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).

> **Note:** The GitHub Codespaces extension requires the Visual Studio Code distribution of Code - OSS.

2. After the VS Code is up and running, press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd>, choose **Codespaces: Create New Codespace**, and use the following settings:
- `microsoft/vscode` for the repository.
- Select any branch (e.g. **main**) - you can select a different one later.
- Choose **Standard** (4-core, 8GB) as the size.

4. After you have connected to the codespace, you can use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.

> **Tip:** You may also need change your VNC client's **Picture Quality** setting to **High** to get a full color desktop.

5. Anything you start in VS Code, or the integrated terminal, will appear here.

Next: **[Try it out!](#try-it)**

## Try it!

This container uses the [Fluxbox](http://fluxbox.org/) window manager to keep things lean. **Right-click on the desktop** to see menu options. It works with GNOME and GTK applications, so other tools can be installed if needed.

> **Note:** You can also set the resolution from the command line by typing `set-resolution`.

To start working with Code - OSS, follow these steps:

1. In your local VS Code client, open a terminal (<kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>\`</kbd>) and type the following commands:

```bash
yarn install
bash scripts/code.sh
```

2. After the build is complete, open a web browser or a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to the desktop environment as described in the quick start and enter `vscode` as the password.

3. You should now see Code - OSS!

Next, let's try debugging.

1. Shut down Code - OSS by clicking the box in the upper right corner of the Code - OSS window through your browser or VNC viewer.

2. Go to your local VS Code client, and use the **Run / Debug** view to launch the **VS Code** configuration. (Typically the default, so you can likely just press <kbd>F5</kbd>).

> **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../../.vscode/launch.json). However, running `scripts/code.sh` first will set up Electron which will usually solve timeout issues.

3. After a bit, Code - OSS will appear with the debugger attached!

Enjoy!
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fi

TAG="branch-${BRANCH//\//-}"
echo "[$(date)] ${BRANCH} => ${TAG}"
cd "${SCRIPT_PATH}/../.."
cd "${SCRIPT_PATH}/../../.."

echo "[$(date)] Starting image build and push..."
export DOCKER_BUILDKIT=1
Expand Down
Loading