Package Details: code 1.21.1-1

Git Clone URL: https://aur.archlinux.org/code.git (read-only)
Package Base: code
Description: Microsoft Code -- The Open Source build of Visual Studio Code (vscode)
Upstream URL: https://github.com/Microsoft/vscode
Keywords: vscode
Licenses: MIT
Conflicts: visual-studio-code-oss, vscode-oss
Provides: visual-studio-code-oss, vscode-oss
Submitter: Zrax
Maintainer: Zrax
Last Packager: Zrax
Votes: 116
Popularity: 22.128965
First Submitted: 2017-12-18 22:40
Last Updated: 2018-03-17 22:30

Latest Comments

NicoHood commented on 2018-03-14 19:22

The current version fails to build for me: https://gist.github.com/NicoHood/246c1ac5c6061855b29078e34cb7ef9e

ManuelFte commented on 2018-02-08 05:31

@christophk You only need to replace the second line. It could be either this:

StartupWMClass=Code - OSS

Or this:

StartupWMClass=oss - oss

I request the maintainer to implement this fix in the default .desktop file.

christophk commented on 2018-01-29 07:38

Is anybody able to properly add the icon to favorites in gnome-shell?

In case i right click in activities there is a "add to favorites"-button. Problem with that is, that in case i launch it after that i get 2 icons in my launcher.

In case i launch it and right click it afterwards "add to favorites" is missing in the context menu.

Maybe an issue with the desktop file?

EDIT: setting following values in /usr/share/applications/code.desktop fixes this issue

StartupNotify=false

StartupWMClass=Code - OSS

cookiengineer commented on 2018-01-28 21:01

The final yarn compress step is hard-blocking all my CPUs of my whole system. It seems to run processes with so harsh nice values that literally Xorg isn't reacting anymore and I can't even go back to TTY1.

How to fix this?

madflow commented on 2018-01-28 14:44

@jonasjunu The installer needs to be able to connect to "marketplace.visualstudio.com". Maybe a firewall issue on your side or a temporary failure on the Microsoft server or ...

ei-grad commented on 2018-01-27 19:33

I've got an

error: unknown option `--arch'

during build phase from yarn install command.

klemens commented on 2018-01-26 18:16

pkg-config is already part of base-devel.

tommas commented on 2018-01-26 18:02

@Zrax

This is missing a build dependency: core/pkg-config

Error while building: /bin/sh: pkg-config: command not found gyp: Call to 'pkg-config --libs-only-l libsecret-1' returned exit status 127 while in binding.gyp. while trying to load binding.gyp

jonasjunu commented on 2018-01-19 05:42

I'm getting a error when: gulp vscode-linux-x64

it stckus here: Starting 'vscode-linux-x64'... internal/streams/legacy.js:59 throw er; // Unhandled stream error in pipe. ^

Error: getaddrinfo ENOTFOUND marketplace.visualstudio.com marketplace.visualstudio.com:443 at errnoException (dns.js:55:10) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:26)

anyone else having the same problem?

script commented on 2018-01-19 04:15

gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] make: Entering directory '/tmp/yaourt-tmp-admin/aur-code/src/vscode/node_modules/gc-signals/build' CXX(target) Release/obj.target/gcsignals/src/gcsignal.o make: g++: Command not found make: *** [gcsignals.target.mk:92: Release/obj.target/gcsignals/src/gcsignal.o] Error 127 make: Leaving directory '/tmp/yaourt-tmp-admin/aur-code/src/vscode/node_modules/gc-signals/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at ChildProcess.emit (events.js:160:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12) gyp ERR! System Linux 4.14.13-1-MANJARO gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /tmp/yaourt-tmp-admin/aur-code/src/vscode/node_modules/gc-signals gyp ERR! node -v v9.4.0

==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build code. ==> Restart building code ? [y/N] ==> ----------------------------- ==> ^C [admin@arch-gnome-vbox ~]$ AA

All comments