Package Details: visual-studio-code-bin 1.96.2-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: 1480
Popularity: 17.03
First Submitted: 2017-12-18 19:14 (UTC)
Last Updated: 2024-12-20 03:54 (UTC)

Required by (21)

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 .. 18 19 20 21 22 23 24 25 26 27 28 .. 78 Next › Last »

dcelasun commented on 2021-05-06 10:15 (UTC)

@alumni thanks! I've pushed a fix for the WM class. As for Wayland detection, I think that's better suited as a feature request upstream :)

alumni commented on 2021-05-06 08:53 (UTC) (edited on 2021-05-06 09:00 (UTC) by alumni)

WM_CLASS is Code instead of code.

Seems that the case is irrelevant under XWayland, but if you run it under Wayland with --enable-features=UseOzonePlatform --ozone-platform=wayland, the windows will not be grouped and they won't have an icon. Changing to StartupWMClass=Code would fix this.

Also, cool to have: if $XDG_SESSION_TYPE is wayland, it would be nice to add those flags automatically :)

antham commented on 2021-05-03 20:49 (UTC)

Several errors are thrown when starting vscode and a black window appears :

[74124:0503/224332.626557:ERROR:gl_utils.cc(314)] [.RendererMainThread-0x27c5f87ca500] GL_INVALID_OPERATION: Program not linked.
[74124:0503/224332.627021:ERROR:gl_utils.cc(314)] [.RendererMainThread-0x27c5f87ca500] GL_INVALID_OPERATION: Program object expected.
[74124:0503/224332.628433:ERROR:gl_utils.cc(314)] [.RendererMainThread-0x27c5f87ca500] GL_INVALID_OPERATION: Program not linked.
[74124:0503/224332.628696:ERROR:gl_utils.cc(314)] [.RendererMainThread-0x27c5f87ca500] GL_INVALID_OPERATION: Program object expected.
[74124:0503/224332.628813:ERROR:gl_utils.cc(314)] [.RendererMainThread-0x27c5f87ca500] GL_INVALID_OPERATION: Program object expected.

This error seems connected to this bug https://bugs.chromium.org/p/chromium/issues/detail?id=1000938, simply adding --disable-gpu when starting vscode solves the problem.

dcelasun commented on 2021-04-06 15:33 (UTC)

@crepererum done, thanks for letting me know.

crepererum commented on 2021-04-06 15:27 (UTC)

Please add xdg-utils (which provides the xdg-open binary) as an optional dependency. Otherwise, vscode cannot open browser links (e.g. when clicking on Help > Join us on twitter, when logging into github/microsoft for settings sync, when clicking on "view privacy policy", etc.).

gatmnear commented on 2021-04-02 07:35 (UTC)

@dcelasun thanks! I'm new to arch and thought pacman was a one stop shop for all; I learnt to use makepkg

dcelasun commented on 2021-04-01 07:12 (UTC) (edited on 2021-04-01 07:12 (UTC) by dcelasun)

@gatmnear: It's a git URI, you are not meant to send an HTTP request to it. Try git clone https://aur.archlinux.org/visual-studio-code-bin.git

gatmnear commented on 2021-04-01 07:08 (UTC)

the git clone link is empty; "HTTP request sent, awaiting response... 404 Not Found"