Package Details: visual-studio-code 1.16.1-1

Git Clone URL: https://aur.archlinux.org/visual-studio-code.git (read-only)
Package Base: visual-studio-code
Description: Visual Studio Code: Editor for building and debugging modern web and cloud applications (official binary version)
Upstream URL: https://code.visualstudio.com/
Keywords: code studio visual visual-studio-code vscode
Licenses: custom: commercial
Provides: vscode,visualstudiocode
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 467
Popularity: 40.153581
First Submitted: 2015-04-29 17:53
Last Updated: 2017-09-15 05:03

Pinned Comments

dcelasun commented on 2017-09-04 11:26

When there is a new VS Code version, please check this page [0] before flagging as out-of-date. A tag on Github is NOT a release!

[0] https://code.visualstudio.com/updates/

Latest Comments

dcelasun commented on 2017-09-15 18:35

@Malganis: That's just a network error. Try again.

Malganis commented on 2017-09-15 18:32

Got this error when building:
==> Retrieving sources...
-> Downloading code_x64_1.16.1.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 148 100 148 0 0 148 0 0:00:01 0:00:01 --:--:-- 80
100 61.1M 100 61.1M 0 0 54513 0 0:19:37 0:19:37 --:--:-- 201k
curl: (56) Unexpected EOF
==> ERROR: Failure while downloading https://vscode-update.azurewebsites.net/1.16.1/linux-x64/stable
Aborting...
==> ERROR: Makepkg was unable to build visual-studio-code.

dcelasun commented on 2017-09-04 11:26

When there is a new VS Code version, please check this page [0] before flagging as out-of-date. A tag on Github is NOT a release!

[0] https://code.visualstudio.com/updates/

aurgrans commented on 2017-08-17 18:56

I did some research about the ALT+TAB problem which is actually caused by vscode (that's why there's no Gnome bug report about it)

I think vscode doesn't register correctly with X11, where Gnome (the default ALT+TAB, not Alternatetab) gets the list of windows.
That's probably why it works fine using another desktop environment (tested it on KDE and, to check if it's an Arch Linux only problem, Ubuntu 1704's Unity) or using Gnome in wayland mode.

So in my opinion, the best solution for Gnome-X11 users is to use the preinstalled extension Alternatetab and for other desktop environment or Gnome-wayland it should work anyway. To make it work on Gnome-X11 without Alternatetab you can just hope for a vscode update

dcelasun commented on 2017-08-17 15:49

All right, I've readded StartupWMClass since there is now a workaround for Gnome (thanks @aurgrans).

I couldn't find an upstream Gnome bug report about this, but if anyone finds one or files it, please post it here as well.

TamasBarta commented on 2017-08-17 15:35

When I add StartupWMClass=code, nothing breaks on KDE. It is not a problem with the desktop file, but with the DE, I believe.

aurgrans commented on 2017-08-17 15:28

I think I figured out why I don't have the issue not seeing vscode in ALT+TAB.

Have a look at the Gnome extension Alternatetab (which is installed by default if I remember right) https://extensions.gnome.org/extension/15/alternatetab/

With it enabled and StartupWMClass=Code everything works fine for me

I hope this hint helps solving those problems!

dcelasun commented on 2017-08-17 05:13

@aurgrans: Please read the several comments below yours. Adding StartupWMClass causes a different (and I think worse) problem.

aurgrans commented on 2017-08-17 02:11

Please add StartupWMClass=Code to the .desktop file. Without this line Gnome's Dash to Dock doesn't recognize the window to be vscode.

http://i.imgur.com/kxdmNHa.png (with StartupWMClass=Code)
http://i.imgur.com/FWMrR5I.png (without it)

dcelasun commented on 2017-08-16 08:59

No, this package uses the official upstream distribution without any modifications. Someone already asked this in the -oss package [0], I recommend waiting for an answer there.

[0] https://aur.archlinux.org/packages/visual-studio-code-oss/

All comments