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: 14.57
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

1 2 3 4 5 6 .. 78 Next › Last »

dcelasun commented on 2024-10-10 08:59 (UTC)

If an extension is trying to write to /opt/visual-studio-code instead of ~/.code, it's the extension that's broken, not this package. Please report it upstream.

witt.9099 commented on 2024-10-10 02:53 (UTC)

Request for joint maintenance

witt.9099 commented on 2024-10-10 02:52 (UTC)

Permission issues after installation After installing with the cp -r "${srcdir}/$(_pkg)/"* "${pkgdir}/opt/${_pkgname}"command, there will be permission issues when using the Custom CSS and JS Loaderextension. You need to use the sudo chown -R $(whoami) /opt/visual-studio-code command to modify it. Please use the install command instead.

machomacho commented on 2024-09-17 04:44 (UTC) (edited on 2024-09-17 07:36 (UTC) by machomacho)

@carterli

I am in China and also had trouble downloading this file, even when using a reliable VPN. It isn't a GFW issue, it seems to be a DNS resolution issue.

I was able to fix it by adding an IP for a raw.githubusercontent.com datacenter to my /etc/hosts file, as described here.

Not sure how much of a permanent solution this is, but after editing /etc/hosts I was able to install the updated package using yay with no issues.

database64128 commented on 2024-09-14 02:38 (UTC)

@carteli If you live in China and have trouble accessing GitHub, you can use the prebuilt package provided by archlinuxcn.

A bit of advice: If you don't circumvent the GFW, you essentially have no access to most of the AUR. Eventually you'll need some package that's only available on the AUR, and you'll have to find a way to do it.

marmis commented on 2024-09-14 00:59 (UTC)

Hello, @carteli, is there a reason for not using raw.githubusercontent.com? This package is based on .tar.gz provided by Microsoft (see the download page), but that archive is missing Desktop files, so the PKGBUILD fetches these missing files from raw.githubusercontent.com/microsoft/vscode. These are the official files from Microsoft repositories, hosted, reviewed and distributed by them. The other three options are:

  • get them from one of the other archives (.deb or .rpm), which would download an additional 100 MB of data, for just 3 files of size 1.2 kB in total;
  • clone the upstream repository (from 160 MB to 1.1 GB), and extract the 3 files from that;
  • the previous way, maintain a copy of these files in AUR repositories, which might (and actually did) get outdated with time.

carterli commented on 2024-09-13 11:42 (UTC)

Hello. How can I avoid downloading files from raw.githubusercontent.com?

dcelasun commented on 2024-09-11 05:01 (UTC)

Don't install -debug packages. You can also avoid building them by disabling debug in /etc/makepkg.conf.