Use Julia in vscode (as a flatpak)

VS Code is normally distributed for my distro as a SNAP (which had the side effect for me) that vs code started in about 30 % of the cases I started my PC. Hence I switched to the Flatpak package of VS Code-OSS.
After installing the Julia Language Plugin Highlighting works, but the language server does not start. Does anyone has a tip, how to get it to work?

With kind regards.

Hi, would you consider providing additional info? It could be useful to know exactly what distro you are using. Also, how about installing VS Code directly from .deb or .rpm file. Is it possible on your distro? I am using VS Code inside a container with GUI on different Linux flavors and different hardware architectures and I found this way of installing VS Code the most consistent.

From neofetch output:

OS: Ubuntu 20.04.4 LTS x86_64
Host: TUXEDO Pulse 14 Gen1 Standard                                                   
Kernel: 5.13.0-10039-tuxedo
Packages: 4349 (dpkg), 52 (flatpak), 37 (snap)                                         
Shell: bash 5.0.17                                                                     
Resolution: 1920x1080                                                                 
DE: Plasma                                                                              
WM: KWin                                                                                
Terminal: konsole 
CPU: AMD Ryzen 7 4800H with Radeon Graphics (16) @ 2.900GHz                             
GPU: AMD ATI 04:00.0 Renoir                                                             
Memory: 3249MiB / 15414MiB                                                              

About the deb package: I output of apt list code code/unknown 1.66.2-1649664567 amd64
I hope it’s the correct package. I currently use:
Code - OSS com.visualstudio.code-oss 1.66.2 stable flathub user

I took a look at my notes. I suggest you uninstall what you already have and try:

Version 1:

sh -c ‘echo “deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] \ Index of /repos/code/ stable main” > /etc/apt/sources.list.d/vscode.list’
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/
rm -f packages.microsoft.gpg
sudo apt update
sudo apt install -y code

or Version 2:

wget -O vscode.deb ‘https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64
sudo apt install ./vscode.deb

or Version 3:

wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository “deb [arch=amd64] Index of /repos/vscode/ stable main”
sudo apt install code

or Version 4: (if you come to this version because the other do not work, I suggest you find more upto date deb than code_1.63.2)

wget https://az764295.vo.msecnd.net/stable/899d46d82c4c95423fb7e10e68eba52050e30ba3/code_1.63.2-1639562499_amd64.deb
sudo dpkg -i code_1.63.2-1639562499_amd64.deb

I am not sure about version 2 to 4, however, I’ve got the 1st version currently working on:

OS: Debian GNU/Linux bookworm/sid x86_64
Host: KVM/QEMU (Standard PC (i440FX + PIIX, 1996) pc-i440fx-4.2)
Kernel: 5.11.0-1028-oracle
Uptime: 40 days, 4 hours, 46 mins
Packages: 1244 (dpkg)
Shell: zsh 5.8.1
Resolution: 3440x1440
WM: awesome
Theme: AtomOneDarkTheme [GTK3]
Icons: Nordic-Darker [GTK3]
Terminal: gnome-terminal
CPU: AMD EPYC 7J13 (32) @ 2.545GHz
GPU: 00:02.0 Vendor 1234 Device 1111
Memory: 19302MiB / 48182MiB

If neither works, I am afraid, even if trying, I might not be able to provide any additional hints. Hope the 1st one is ok.

EDIT: As I mentioned earlier, this is not flatpak.

Hi, the first version worked and didn’t stop working for now!

1 Like