Code Server Is An AWESOME Replacement for VS Code!

  Рет қаралды 28,139

Jim's Garage

Jim's Garage

Күн бұрын

Пікірлер: 78
@olsenlid
@olsenlid Жыл бұрын
Great to see your channel growing at a steady pace. Love your vids :)
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks for the support, glad you like them!
@shootinputin6332
@shootinputin6332 7 ай бұрын
I've had a github page for years but never really did anything with it. That just changed with this video. Thanks, Jim!
@Jims-Garage
@Jims-Garage 7 ай бұрын
You're welcome 😁
@drankthetranquil
@drankthetranquil 5 ай бұрын
this video changed my entire dev env thank you. this solves so many of my portability and consistency issues
@Jims-Garage
@Jims-Garage 5 ай бұрын
That's awesome! :)
@toddselby443
@toddselby443 5 күн бұрын
This video must have been made before your KZbin riches allowed you a fancy sweater budget. Thanks for the help with a really useful tool.
@Jims-Garage
@Jims-Garage 5 күн бұрын
I wish! Haha
@thbe51
@thbe51 11 күн бұрын
Hi! One year later.... where is the "git clone" command? I don't seem to have such a command
@thbe51
@thbe51 10 күн бұрын
Figured it out.... git was not installed on the underlaying OS (debian 12) Not using docker in this case. Thanks anyway!
@TheWild_
@TheWild_ Жыл бұрын
One problem I have with code serve on dokcer is that whenever I'm working with HTML files and I want to use the Live Server extension to see my changes i real time I cant, because It's through docker uses a diferrent port. Any idea how I can come around that?
@Jims-Garage
@Jims-Garage Жыл бұрын
Should be possible if you follow these instructions: github.com/coder/code-server/discussions/4963
@MikeKranidis
@MikeKranidis 7 ай бұрын
Another one useful and well documented video, thanks.
@Jims-Garage
@Jims-Garage 7 ай бұрын
Thanks, Mike
@JonathanPeel
@JonathanPeel 10 ай бұрын
This is awesome. Do you have videos that explain how to set up the proxy you are using?
@Jims-Garage
@Jims-Garage 10 ай бұрын
Yes, check out my Traefik video earlier in the series
@JonathanPeel
@JonathanPeel 10 ай бұрын
@@Jims-GarageThank you, I did find it, basically I started with this video, and that led me to "Oooo, what is Traefik", and I found that one (I have since replaced Nginx on one of our small demo servers with Traefik, the labels makes configuration a whole lot simpler"... That video led me to "ooo what is Portainer", and I got that installed, although to be honest I will probably only use it to look at logs. I am now back at getting Code-Server to work, it is running, but I want npm and dotnet. They, I guess would need to be installed inside the container.
@Glatze603
@Glatze603 Жыл бұрын
Basically cool, but without "remote ssh" and "remote explorer" it´s not really the same. I have two ssh jumpserver that are only allowed to access my remote machines and I would like to get it integrated. Maybe in combination with the docker-based openssh-server.
@Jims-Garage
@Jims-Garage Жыл бұрын
True, I believe you can do the following, however: "You can't use Remote SSH on code-server since code-server itself is (kinda) a Remote SSH session. Instead, if you gain access to the system, you can: Get a DE like Xfce Get VNC server/Xrdp and use it to connect to your deployment's GUI. Then you can install VS Code, get the Remote SSH extension and use it."
@SrinivasaRaoGurram
@SrinivasaRaoGurram 3 ай бұрын
Hey when I install code server, I am getting error as insecure context; right now I am using on rpi5 sbc; but I want to host it and use it for public
@RoySalisbury
@RoySalisbury 9 ай бұрын
Can you use the hosted coder server instance to then connect to a remote VS code instance via SSH (like you can do in VS Code)?
@Jims-Garage
@Jims-Garage 9 ай бұрын
It's possible but it's not pretty to do it.
@phoebe-1234
@phoebe-1234 4 ай бұрын
How can I install extension? Why do most extensions not exist in code server?
@popalex
@popalex 11 ай бұрын
Great video ! Can you give more details about the reverse proxy part?
@Jims-Garage
@Jims-Garage 10 ай бұрын
Take a look at my Traefik video, that should outline how it works and why it's useful to have.
@antonio_carvalho
@antonio_carvalho 3 ай бұрын
Thank you for this perfect review of code server, it answered all the questions I had about it!
@Jims-Garage
@Jims-Garage 3 ай бұрын
@@antonio_carvalho awesome, hope you like it!
@SrinivasaRaoGurram
@SrinivasaRaoGurram 3 ай бұрын
Can you create a separate video how to overcome insecure contexts web page
@noviankristianto1060
@noviankristianto1060 7 ай бұрын
The way you explain the content is really amazing. Enjoy watching your content. Thanks for the video🎉
@Jims-Garage
@Jims-Garage 7 ай бұрын
I appreciate that!
@mankvlpwnz
@mankvlpwnz 3 ай бұрын
I'am unable to make it see my server files or this is not the way it works?
@Jims-Garage
@Jims-Garage 3 ай бұрын
Try using a volume mount to mount the files you need into the container.
@mankvlpwnz
@mankvlpwnz 3 ай бұрын
@@Jims-Garage that helped thanks
@basdfgwe
@basdfgwe Жыл бұрын
Yeah its good to edit text files using the stuff from vscode. But not sure that this is the replacement for vscode application. It has most of the things from a development perspective but it doesn't have the development environment. I'm assuming in order to get this to work in the way that I'm thinking is that you will need to run the code server in each of your development enviroments. So if you have a server for node related work, then you will need to have docker and this image running to take advantage of running your project. Which probably then begs the question - why not use vscode desktop app (single install) and remote-ssh into your development environments/servers ?
@i_accept_all_cookies
@i_accept_all_cookies 11 ай бұрын
They also have a project, Coder, that "enables organizations to set up development environments in the cloud. Environments are defined with Terraform, connected through a secure high-speed Wireguard tunnel, and are automatically shut down when not in use to save on costs."
@kodingDanKabel
@kodingDanKabel 10 ай бұрын
can we run php artisan serve (Laravel PHP) in terminal (which normally run on localhost) ?
@Evil6_9
@Evil6_9 Жыл бұрын
Can you provide any solutions for extensions ? There are multiple extensions that i want to use, but i can't use them 😔
@Jims-Garage
@Jims-Garage Жыл бұрын
What's the issue?
@Evil6_9
@Evil6_9 Жыл бұрын
We can't use live server , live preview and many others It shows: *The 'Language PL/SQL' extension is not available in code-server for Web.* Here i was trying pl/sql extension
@Jims-Garage
@Jims-Garage Жыл бұрын
@@Evil6_9 I haven't actually used that extension before, I'll take a look.
@funfunfun18
@funfunfun18 Жыл бұрын
Hey Jim. I’m a Rails developer. I’m keen to set up Code Server and do light development through my iPad. I need to run my test suite in a Docker container via the terminal - any suggestions on an optimal configuration for this please? I don’t mind spending a bit of money. The hosted solutions I’ve checked out so far don’t seem to allow the building of containers
@Jims-Garage
@Jims-Garage Жыл бұрын
Hey, welcome. Just so I understand, are you looking to deploy the container from the code-server container via the GUI terminal? If so, it's possible but it's not an elegant solution. Here are some options reddit.com/r/docker/s/C0RiZFJehy
@muratcosar3873
@muratcosar3873 6 ай бұрын
Has anyone used it with Alpine without any problems?
@ENT_PRESTIGIOUS
@ENT_PRESTIGIOUS 11 ай бұрын
how do i make it login with my microsoft account?
@Robertjaymercer
@Robertjaymercer Жыл бұрын
Thank again for your video sir. Quick question if i may, i previously installed it on one of my server (ubuntu server 22.04 with docker and portainer) but when i tried to "compose up" a file it would tell me that docker wasn t installed... never managed to fix this, would you have an input by any chance?
@Jims-Garage
@Jims-Garage Жыл бұрын
I assume you have installed Docker and Docker Compose?
@Robertjaymercer
@Robertjaymercer Жыл бұрын
@@Jims-Garage oh yes definitely. I can compose and deploy containers on the servers with my vs code wish ssh (from my windows computer) or directly on the server on ssh, but when trying to deploy a container via codeserver installed on a container it give me that message on the terminal "bin/bash... docker is not installed"
@Jims-Garage
@Jims-Garage Жыл бұрын
@@Robertjaymercer I see what you mean, sorry I misunderstood. I believe you can do it following these instructions: coder.com/docs/code-server/latest/FAQ#can-i-use-docker-in-a-code-server-container
@Robertjaymercer
@Robertjaymercer Жыл бұрын
@@Jims-Garage thank you for your time sir, will check it out!
@julesbois2122
@julesbois2122 8 ай бұрын
Where should I put my own code on a Linux machine? It should be somewhere in ~/? What is the "best practice" in this matter?
@Jims-Garage
@Jims-Garage 8 ай бұрын
There's no single answer as it depends on what you're doing. For instance, mine is on my NAS for redundancy and I have password files access controlled with ACLs
@julesbois2122
@julesbois2122 8 ай бұрын
@@Jims-Garage Oh thanks. But my question is more primitive. I'm just getting started with Linux. I installed nginx and VS code-server on a separate machine that I have at home. I will work from someone else's device, not from my home. What directory should my scripts (code), my current work, usually be in? I understand that I can place my files anywhere. But still, what do people do?
@Jims-Garage
@Jims-Garage 8 ай бұрын
@@julesbois2122 most likely the home directory but it doesn't matter
@mesharetelohim
@mesharetelohim Жыл бұрын
Hey Jim great job with the Video. With regards to Code server you can set it up with your homelab Yaml files and create folders and delete files just like you would when you access the folder. That way you don't really need a separate file manager or so when accessing your docker directory and it works as a one stop place for everything. Cheers
@Jims-Garage
@Jims-Garage Жыл бұрын
Certainly, if it's a bind mount then you have access to the file structure. Any changes are reflected in the workspace (might just need to be careful of permissions).
@mesharetelohim
@mesharetelohim Жыл бұрын
​@@Jims-Garageyea I have a question on that. If my code server instance is limited to my homelab is there any issues giving it a root access?
@Jims-Garage
@Jims-Garage Жыл бұрын
@@mesharetelohim it's always good practice not to, but it'll be fine if it's just internally available.
@barbeque701
@barbeque701 5 ай бұрын
hello! i am an incoming computer science student and i am planning to buy a tablet. can my tablet be a good portable 2nd option to code on using vs code? i have seen stuff on running vscode on tablets but i am far too clueless on the world of programming to understand what is going on. so for those who know more on this topic, is it possible for me to use my tablet as a portable 2nd option to code using vscode?
@Jims-Garage
@Jims-Garage 5 ай бұрын
@@barbeque701 you could use this product in the video. However a true ide is probably better. What kind of tablet are you thinking? A surface pro is a tablet but also a full blown pc.
@barbeque701
@barbeque701 5 ай бұрын
@@Jims-Garage just either an apple or android one since the surface pro is too expensive for me
@Jims-Garage
@Jims-Garage 5 ай бұрын
@@barbeque701 bear in mind you'll need a "server" machine running the container, but accessing it with a browser on a tablet should work.
@GamingOzzz
@GamingOzzz 4 ай бұрын
Just get the new Apple ipad pro with m4 processor, it has xcode or get Samsung Galaxy S9 Ultra which has Dex support
@orlando3650
@orlando3650 Жыл бұрын
You’re doing a great job - Keep it on 🎉
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks 👍 have a great weekend
@dmbrv
@dmbrv Жыл бұрын
Awesome video. Thanks.
@Jims-Garage
@Jims-Garage Жыл бұрын
You're welcome 😁
@BrandonVicedomini
@BrandonVicedomini Ай бұрын
Great information. I'm sure you know this. But the background music is especially annoying. For real. But, otherwise excellent video, great information well presented.
@Jims-Garage
@Jims-Garage Ай бұрын
Noted and removed in later videos
@kenny45532
@kenny45532 Жыл бұрын
Will this support remote-ssh? I do a lot of development on different machines and remote-ssh comes in handy. If its supported, how does one make it work?
@orafaelgf
@orafaelgf 4 ай бұрын
do you found the answer?
@cbbcbb6803
@cbbcbb6803 5 ай бұрын
It it installed locally? If I can not run it locally, I do not want it. I am not saying that I must run it locally. I insist that locally or remotely should be my choice.
@Jims-Garage
@Jims-Garage 5 ай бұрын
@@cbbcbb6803 on the local network, on my docker server.
@JrokCode
@JrokCode 10 ай бұрын
Any way to get Pylance working so Python syntax highlighting is easier to read? Or any subsitute?
@yesyes9698
@yesyes9698 10 ай бұрын
Couldn’t get to run c# or python or nothing at all. Just an online notepad basically.
@kamleshpatel9152
@kamleshpatel9152 5 ай бұрын
@Jims-Garage I can't find the Remote SSH extension in Code-server. Do you recommend any alternative extension for SSH?
@SrinivasaRaoGurram
@SrinivasaRaoGurram 3 ай бұрын
Can you create a separate video how to overcome insecure contexts web page
you NEED to use VS Code RIGHT NOW!!
12:48
NetworkChuck
Рет қаралды 583 М.
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
If you're not developing with this, you're wasting your time
14:30
Articulated Robotics
Рет қаралды 312 М.
How Git Changed Programming Forever
9:13
JetBrains Academy
Рет қаралды 13 М.
Setting Up the Perfect Developer Environment on Linux for 2025
11:58
Manage Docker & Kubernetes Remotely with VS Code!
21:34
Jim's Garage
Рет қаралды 15 М.
Ultimate Guide: Selfhosted Visual Studio + Extensions
19:54
IBRACORP
Рет қаралды 50 М.
Proxmox Backup Server Saves You Money And Time!
24:48
Jim's Garage
Рет қаралды 63 М.
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН