Add code-server to docker image #5855
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Use vscode as file browser/file editor/terminal. Get all the benefits of vscode without having to do anything.
How Has This Been Tested?
Local frontend testing. Need guidance.
Checklist (N/A)
This is just a WIP. Looking to get some guidance on whether having something like this is even desired.
I would add:
A toggle to switch between vscode view/built-in editor
Ability to define code-server.yaml settings
Ability to define vscode settings
It looks like running code-server is an extra 200-300 MB ram for the base mage project you create when running locally.
I have not been able to test the Dockerfile change and frontend change together. The frontend change is more of a WIP/POC but I would definitely be rewriting that part.
cc:
@wangxiaoyou1993