You can see if this works for you Is it possible to integrate code-server with a desktop application (such as Visual Studio Code/VS Code)? · coder/code-server · Discussion #2786 · GitHub
to get rid of the vertical lines remove the following from your settings.json
"editor.rulers": [
80,
88,
100,
120
],
Does anyone else have issues with the colour coding not working correctly in Opera? It works fine in Chrome, which is confusing. I’m guessing I’ve got something random going on in my settings but no idea what.
Opera:
Chrome:
Why can’t I view files like png/jpg/… in VSCode? I am getting this error:
“Error loading webview: Error: Could not register service worker…”
.png and .jpg files are images, and do not have any text that would be edited
I’ve been having the same problem lately. I’m searching all over to figure it out. Read that it’s more than likely due to Studio Code not liking when I am logged in remotely through DuckDNS. This just started happening 3 or 4 updates ago. (counting that we just got 3 or 4 updates in 2 weeks). Seems like there is a fix, telling Studio Code that you need to enable ssh login or something like that but nothing I’ve tried has worked yet. But you had that almost a year ago!
EDIT: I’ll try this tonight when I get home.
Hey guys, trying to install github copilot but cant find the extension, can I install it here?
EDIT###
I’m sure this has been discussed a ton, so excuse me in advance.
I’m new to HA, bought a Beelink mini pc and installed HA via Proxmox. Of course I enabled the VSCode addon as it’s my favorite code editor.
Well I noticed the fan on the mini pc was making a lot of noise, I would restart and the noise would be back after a couple of minutes.
It wasn’t until I read about the “Glances” add-on that I found the reason. VSCode container makes the cpu and memory spike to 100% and just stay there…
Here’s an example of CPU usage when enabling VSCode addon: after stopping VSCode the cpu goes back to 1-2% ( and no more noisy fan).
So now I just enable VSCode on demand or use it via ssh from my laptop. Hope it helps someone. The noisy fan was a real issue, I thought I’d have to quit the whole HA thing.
How much memory have you assigned to the VM? Maybe you’re running out and swapping out. I can’t think of any other reason the add-on would consume all CPU.
FWIW I have the same set up with VS Code open at all times and do not have the same issue.
I have HAOS on Proxmox, assigned 6gb of ram, 4 cpu cores.
This issue with VSCode started happening from the very start.
As you can (hopefully) see in the graph, the cpu and memory usage starts rising gradually and over a period of about 5-10 minutes it reaches almost 100%. It doesn’t matter if I’m using VScode or not.
I know I’m not the first one, I looked into vscode cpu usage and installed Glances after reading something similar in this forum somewhere. It was mentioned that it could be related to having root as the default folder for vscode, but I changed it to no avail.
I’ve been using Cline - works great on code server
So it’s possible to push the config file and all it contents to GitHub for version control? I managed to get a config file to show up in GitHub, but I’ve never got any farther than that in all my clicking around and git push and commit commands. What’s the proper way to send config folder to GitHub for the first time? or does it just take awhile. got 8gb of memory. usually around 40-50% with this running
Edit: yes its possible, just need to take out the files that are to big with .gitignore
Hoping this Add-on is updated to use the new Home Assistant Config Helper Version 2.0. It was merged back in May but there hasn’t been a release since the merge.
There were a few issues that came up with 2.0 that Frenck wanted to address, but he’s a busy guy. That said I just checked and he’s merged a bunch of fixes since yesterday and 2.1.0 has been released as of an hour ago. I’m hoping he also has the time to get it in to the addon and push a release for us.
With so many false negatives showing up, especilly in the template integration and for voice, it’s hard to tell when I’m actually screwing up .
Thanks for the updated information!