Package Details: visual-studio-code-bin 1.88.1-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: 1418
Popularity: 21.22
First Submitted: 2017-12-18 19:14 (UTC)
Last Updated: 2024-04-13 14:03 (UTC)

Required by (18)

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 .. 3 4 5 6 7 8 9 10 11 12 13 .. 73 Next › Last »

dcelasun commented on 2022-11-26 14:15 (UTC)

@Tim_Paik do you have shared-mime-info-gnome installed as explained in the pinned FAQ?

Tim_Paik commented on 2022-11-26 14:14 (UTC)

I recently ran into the following problem with GNOME nautilus and VSCode: My default folder opens with VSCode!

xdg-mime query default inode/directory This command will output code.desktop, and then when I try to run open <dir_name> in the fish shell, fish will use VSCode to open this directory, GNOME keyboard The shortcut key also opens the main directory with VSCode by default.

However, when choosing the way to open the directory in nautilus, there is no option to change the default (I think this may be to prevent nautilus from being damaged due to carelessness)

I think it might be because of this commit: Rename desktop files to match upstream, since this happened to me recently.

I think this is definitely not expected, but I found a temporary workaround, you can run the following command to set the current user's default to normal:

xdg-mime default org.gnome.Nautilus.desktop inode/directory

dcelasun commented on 2022-11-24 14:12 (UTC)

Any objections to that? I don't want to keep pushing updates for a cosmetic issue.

ZZYSonny commented on 2022-11-24 13:10 (UTC)

I think patching "desktopName" to "code.desktop" in /opt/visual-studio-code/resources/app/package.json would be a better choice. Because by default, code-url-handler is hidden and cannot be pinned.

In current setting, the vscode window gets code-url-handler class and displays the right icon. But if we pin the normal vscode, then on the pannel, there will be two vscode icons.

dcelasun commented on 2022-11-24 11:16 (UTC)

I've renamed the desktop files, please let me know if there are any issues. I don't use Wayland myself so I can't test.

sgishere commented on 2022-11-24 11:05 (UTC)

On line 7 there should not be the: (,) between

Piroro-hs commented on 2022-10-10 16:45 (UTC)

The /opt/visual-studio-code/resources/app/package.json file has "desktopName" entry with value of "code-url-handler.desktop"` which should match the actual desktop file name. Please consider patching this field or renaming desktop files.

Piroro-hs commented on 2022-09-22 15:33 (UTC) (edited on 2022-09-22 15:36 (UTC) by Piroro-hs)

@dcelasun @ZZYSonny It could be fixed by renaming .desktop files to code.desktop and code-url-handler.desktop like upstream (https://github.com/microsoft/vscode/tree/main/resources/linux), instead.

HercyNians commented on 2022-09-08 07:02 (UTC)

why i could't debug?