I think that to mantain compatibility across platforms the symlink should be code, and no visual-studio-code.
Line:
`ln -s /opt/${pkgname}/bin/code "${pkgdir}"/usr/bin/visual-studio-code`
should be:
`ln -s /opt/${pkgname}/bin/code "${pkgdir}"/usr/bin/code`
Search Criteria
Package Details: visual-studio-code-bin 1.96.4-1
Package Actions
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: | 1484 |
Popularity: | 16.70 |
First Submitted: | 2017-12-18 19:14 (UTC) |
Last Updated: | 2025-01-17 07:47 (UTC) |
Dependencies (17)
- alsa-lib
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR)
- gnupg (gnupg-gitAUR, gnupg-largekeysAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libnotify (libnotify-gitAUR)
- libsecret
- libxkbfile
- libxss
- lsof (lsof-gitAUR)
- nss (nss-hgAUR)
- shared-mime-info
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (optional) – Needed for move to trash functionality
- icu69AUR (icu69-binAUR) (optional) – Needed for live share
- libdbusmenu-glib (optional) – Needed for KDE global menu
- org.freedesktop.secrets (keepassxc-gitAUR, gnome-keyring-gitAUR, pass-secrets-gitAUR, keepassxc-allow-aur-extension-originAUR, keepassxc-allow-aur-extension-origin-binAUR, dssdAUR, bitw-gitAUR, keepassxc-qt6AUR, pass-secret-service-binAUR, pass-secret-service-gitAUR, gnome-keyring, keepassxc, kwallet, kwallet5) (optional) – Needed for settings sync
Required by (21)
- azure-sphere-sdk (requires code) (optional)
- code-appicons (requires code)
- code-features (requires code)
- code-features-insiders (requires code)
- code-icons (requires code)
- code-marketplace (requires code)
- code-nautilus-git (requires code) (optional)
- dokytree (requires code) (optional)
- dokytree-git (requires code) (optional)
- meta-package-manager (requires code) (optional)
- meta-package-manager-git (requires code) (optional)
- nautilus-code (requires code) (optional)
- neopo-git (optional)
- nwscript-code (requires code)
- rt-thread-env-meta (requires code) (optional)
- rust-analyzer-vscode-git (requires code)
- stm32pio (requires code) (optional)
- unity-editor-lts (optional)
- unreal-engine-bin (requires code) (optional)
- vscode-xdg-patch-hook (requires vscode) (optional)
- vscode-xdg-patch-hook (requires code) (optional)
Sources (7)
Latest Comments
« First ‹ Previous 1 .. 65 66 67 68 69 70 71 72 73 74 75 .. 78 Next › Last »
fcrespo82 commented on 2016-06-07 16:59 (UTC)
dcelasun commented on 2016-05-20 10:36 (UTC)
@Lindenk: Fair enough, I've updated the symlink and bumped pkgrel.
Lindenk commented on 2016-05-19 13:41 (UTC) (edited on 2016-05-19 13:42 (UTC) by Lindenk)
@dcelasun: Yes, many of the command line options only work with the wrapper such as --help and -w (wait until closed to return) along with any options that should print something. Also, by default, vscode should fork without forcing the terminal it was run from to stay open, which doesn't happen when run without the wrapper. Actually, this issue was what spurred the conversation on github yesterday: https://github.com/Microsoft/vscode/issues/6484
dcelasun commented on 2016-05-19 07:45 (UTC)
@Lindenk: bin/code is just a bash wrapper for the actual binary. For me, it seems to be working fine without it, are you having any specific problems?
Lindenk commented on 2016-05-18 19:59 (UTC)
Also, a dev working on the project has created an issue asking for any input that might help maintain the package. https://github.com/Microsoft/vscode/issues/6495
Lindenk commented on 2016-05-18 19:20 (UTC)
Hey, I found a bug. When symlinking the binary, the wrong one is symlinked. The link:
`ln -s /opt/${pkgname}/code "${pkgdir}"/usr/bin/visual-studio-code`
should be:
`ln -s /opt/${pkgname}/bin/code "${pkgdir}"/usr/bin/visual-studio-code`
dcelasun commented on 2016-05-18 05:33 (UTC)
@nullorm: Indeed it is. I've added it and bumped pkgrel.
nullorm commented on 2016-05-17 22:44 (UTC)
is libnotify a dependency?
<deleted-account> commented on 2016-05-12 18:37 (UTC)
It's better to put icon file in /usr/share/pixmaps directory, instead of /usr/share/icons.
dcelasun commented on 2016-05-04 11:31 (UTC)
@fusion809: You are looking for this: https://aur.archlinux.org/packages/visual-studio-code-oss
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!)
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.
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.
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.xdg-open
uses vscode, not my file manager! How do I fix this?Install shared-mime-info-gnome. Also see this reddit thread.
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.
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.
No, you won't get a reply. Please stop doing this. Leave a comment here instead and be patient.