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: 13.44
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 .. 14 15 16 17 18 19 20 21 22 23 24 .. 78 Next › Last »

FabioLolix commented on 2022-02-08 19:35 (UTC)

Hello, would you like to change the license to 'Microsoft EULA'? Since this isn't a paid for/freemium/commercial, just a proprietary program

dcelasun commented on 2022-02-03 15:45 (UTC)

Updated with ~/.config/code-flags.conf support. Thanks to @n0k0m3 for the PR!

dcelasun commented on 2022-02-02 21:36 (UTC)

@n0k0m3 It should be possible to create a wrapper that would work for both. I'll take a look when I have some spare time. In the meantime, PRs are welcome :)

n0k0m3 commented on 2022-02-02 20:17 (UTC)

@dcelasun Just realized this will only work if you use code . from terminals, but the current .desktop file point straight to /opt path so this won't work.

Maybe change the exec path to /usr/bin/code as well, or is there a reason to start with the main bin?

dcelasun commented on 2022-02-02 20:04 (UTC)

@n0k0m3 thanks, that looks like a good approach. I can add it with the next version.

n0k0m3 commented on 2022-02-02 19:33 (UTC)

Can we have launch script similar to google-chrome* AUR packages for wayland/user option parsing?

Current version of script I'm using for /usr/bin/code

#!/bin/bash

XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}

# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/code-flags.conf ]]; then
   CODE_USER_FLAGS="$(cat $XDG_CONFIG_HOME/code-flags.conf)"
fi

# Launch
exec /opt/visual-studio-code/bin/code $CODE_USER_FLAGS "$@"

dipunm commented on 2022-01-29 12:11 (UTC)

FYI, I found this: https://github.com/microsoft/vscode/pull/135191

So for anyone looking for a solution in the future, you'll likely need to modify ~/.vscode/argv.json but first that PR needs to be merged and a new version needs to be released. :)

rpodgorny commented on 2022-01-29 11:01 (UTC)

@dipunm i can't help you with the config but i'm just using a wrapper script which calls vscode with the parameters. an alias would work, too...

dipunm commented on 2022-01-29 00:17 (UTC)

I am trying to get vscode running in wayland mode.

I was able to run the following command: code --enable-features=UseOzonePlatform --ozone-platform=wayland

However I can't get it to run with these args as default using a flag file. I have tried the following:

.config/electron-flags.conf .config/electron12-flags.conf .config/electron13-flags.conf .config/code-flags.conf

(I checked the about dialog, it says it is running electrum 13)

Has anyone been able to set this up? Context: https://wiki.archlinux.org/title/Visual_Studio_Code#Running_natively_under_Wayland

mocambo commented on 2022-01-24 00:47 (UTC) (edited on 2022-01-24 00:54 (UTC) by mocambo)

Doesn't work with i686

$ cd /home/mocambo/.cache/yay/visual-studio-code-bin
$ makepkg -si
==> Making package: visual-studio-code-bin 1.63.2-1 (E 24 jaan  2022 02:40:14)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found visual-studio-code.desktop
  -> Found visual-studio-code-url-handler.desktop
  -> Found visual-studio-code-workspace.xml
  -> Found code_ia32_1.63.2.tar.gz
==> Validating source files with sha256sums...
    visual-studio-code.desktop ... Passed
    visual-studio-code-url-handler.desktop ... Passed
    visual-studio-code-workspace.xml ... Passed
==> Validating source_i686 files with sha256sums...
    code_ia32_1.63.2.tar.gz ... Passed
==> Extracting sources...
  -> Extracting code_ia32_1.63.2.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '/home/mocambo/.cache/yay/visual-studio-code-bin/src/VSCode-linux-ia32/resources/completions/bash/code': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...