Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Customizing the UI components #6993

Unanswered
smohith1803 asked this question in Q&A
Discussion options

Hi there,

I'm new to software development and I'm interested in learning how to customize the UI components of code-server. Could you please point me in the right direction or provide some resources that would be helpful?

i have gone through the code-server's codebase and couldn't find the source code of VScode , in fact the directory lib/vscode is empty.
it would be very helpful, if you could point me to the part of the code-base where i could edit the ui components.

Thank you for your time and assistance.

You must be logged in to vote

Replies: 3 comments 3 replies

Comment options

lib/vscode is a sub-module, so you need to run git submodule update --init to pull it down. If you follow the contribution guide it will tell you more.

But, if you are just experimenting it might be easier to clone VS Code directly (https://github.com/microsoft/vscode) and make your edits there rather than doing it through code-server. code-server wraps VS Code with a web server and applies patches on top with quilt so it is a bit more complicated.

You must be logged in to vote
0 replies
Comment options

Thank You!!

As part of my project, i need to make certain edits in the ui components of code-server and build a docker image of it.

You must be logged in to vote
0 replies
Comment options

I'm also looking at doing something similar, seems like the way to go is to fork the current version of vscode, fork this repo, point lib/vscode at the forked vscode and then then build from that?

You must be logged in to vote
3 replies
Comment options

If you plan on forking this repo and using the patch-based method, then you will not need to fork VS Code, you can just fork this repo, add your patches, then build.

But if you would rather not use patches, then yup you will need to fork both VS Code and code-server and point your code-server fork to your VS Code fork.

Comment options

I'm not super familiar with writing patches so I'll spend a little time figuring it out and making a decision. I'm going to be doing a reasonable amount of UI work and replacing some of the default action bar items so it might be easier to go directly into vscode and then let code server just patch in the server/browser parts.

Comment options

Yeah if you have large changes planned, the patch method could be rough, so that makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /