Package Details: visual-studio-code-bin 1.95.3-1

Git Clone URL: https://aur.archlinux.org/visual-studio-code-bin.git (read-only, click to copy)
Package Base: visual-studio-code-bin
Description: Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
Upstream URL: https://code.visualstudio.com/
Licenses: custom: commercial
Conflicts: code
Provides: code, vscode
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 1465
Popularity: 15.17
First Submitted: 2017-12-18 19:14 (UTC)
Last Updated: 2024-11-15 11:08 (UTC)

Required by (20)

Sources (7)

Pinned Comments

dcelasun commented on 2017-11-15 06:20 (UTC) (edited on 2020-02-06 21:33 (UTC) by dcelasun)

FREQUENTLY ASKED QUESTIONS (read before flagging or commenting!)

  • What is the difference between this package and the one in the community repo?

This is the official binary distribution from Microsoft. The one in the community repo is an unofficial build made from source. Beyond the license difference and branding, there are some proprietary features not available in the open source version.

  • There is a new version out, why is the package not updated?

Please check this page before flagging as out-of-date. If there is no new version on that page, it's not yet released. A tag on Github is NOT a release! If you can see the new version on the updates page but the AUR package is still not updated, flag it and give it time. It's usually done within a day or two.

  • I'm using an AUR helper (yay, yaourt etc.) and I can't install it. Why?

Sometimes AUR helpers do weird things. Download the tarball and install it manually with makepkg -si. If that works, report the problem to your AUR helper's upstream, not here.

  • When I install this package xdg-open uses vscode, not my file manager! How do I fix this?

Install shared-mime-info-gnome. Also see this reddit thread.

  • Why is $X a dependency? I don't like it.

Just because $X is not required to open the app, doesn't mean there is nothing that depends on it. Always search the comment history on AUR to see if that dependency has been previously discussed before writing your own comment. Still nothing? Then use namcap to make sure it's really not needed. If namcap doesn't complain, please leave a comment here and I'll investigate.

  • Something is broken with the app, where do I report it?

The problem might be a packaging issue (wrong paths, dependencies, icons), so please write a comment here first. If you don't get a reply, or if someone says it's an upstream issue, you can report it on Github.

  • I have a problem with this package, can I email you?

No, you won't get a reply. Please stop doing this. Leave a comment here instead and be patient.

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 78 Next › Last »

phillipk commented on 2022-09-01 22:17 (UTC) (edited on 2022-09-01 22:18 (UTC) by phillipk)

I now had the time to test a little: All paths passed to /usr/bin/code have no effect as soon as .config/code-flags.conf contains at least one flag. E.g., invoking code /some/file.txt will just restore the last session or open a new window and not open /some/file.txt anywhere. As soon as .config/code-flags.conf is empty or does not exist, it will work again. The workaround I am currently applying after each update is to modify the last line of /usr/bin/code to have the arguments passed ("$@") before the configured flags $CODE_USER_FLAGS. Then it also works with flags present in .config/code-flags.conf.

dcelasun commented on 2022-08-10 05:58 (UTC)

@philipk do you mean /usr/bin/code? Because /opt/visual-studio-code/bin/code is supplied by upstream and is not involved with $CODE_USER_FLAGS. I don't think changing the order of $CODE_USER_FLAGS and "$@" is a good idea. What exactly is the problem you're having?

phillipk commented on 2022-08-10 01:32 (UTC)

I have to correct myself: Have not used VSCode on this Arch install for a while, but the arguments passed still seem to get lost if they are put after $CODE_USER_FLAGS.

code . only works for me if I change line 11 of /opt/visual-studio-code/bin/code to look like follows: exec /opt/visual-studio-code/bin/code "$@" $CODE_USER_FLAGS.

Can we take that change into this AUR package, or is there a negative side to this that i am not aware of?

PHLAK commented on 2022-07-19 04:54 (UTC) (edited on 2022-07-19 04:58 (UTC) by PHLAK)

Ever since v1.69 the when launching Code the running app is displayed as a separate, unstyled app icon in my dock instead of being tied to the original icon. In this screenshot you can see the VS Code icon on the left. When I clicked that icon the grey gear icon shows up and is the running instance of VS Code. The StartupWMClass of the .desktop file is correct. Not sure if this should be reported here or upstream.

EDIT: This looks like an issue with VS Code itself under Wayland.

SiriusBlack commented on 2022-07-12 19:58 (UTC)

I don't understand why this is flagged out of date. I can see that it is perfectly matching to the latest version of vscode we have

<deleted-account> commented on 2022-06-17 15:17 (UTC)

@digital wow, thanks a bunch! I tried it without sudo and it suddenly worked! Good to know!

digital commented on 2022-06-17 15:11 (UTC)

@Smokus do not run yay with sudo

<deleted-account> commented on 2022-06-17 15:06 (UTC)

I am fairly new to the Linux world. I ran the following command to install VS Code: sudo yay -S visual-studio-code-bin, but I following error:

Avoid running yay as root/sudo.

:: Checking for conflicts...

:: Checking for inner conflicts...

[Repo:1] lsof-4.95.0-1

[Aur:1] visual-studio-code-bin-1.68.1-1

:: (0/1) Downloaded PKGBUILD: visual-studio-code-bin

-> error fetching visual-studio-code-bin: fatal: could not create work tree dir > 'visual-studio-code-bin': Permission denied

context: exit status 128

Installing "code" package from official Arch Repo works just fine. Any help is appreciated.

bigbruno commented on 2022-06-09 18:53 (UTC)

i don't know if help, but with this command is a easy way to know about last version:

curl 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64' -s -L -I | grep 'filename=' | cut -f2 -d'"' | cut -f2 -d'_' | cut -f1 -d'-'