Package Details: visual-studio-code-insiders-bin 1741116515-1

Git Clone URL: https://aur.archlinux.org/visual-studio-code-insiders-bin.git (read-only, click to copy)
Package Base: visual-studio-code-insiders-bin
Description: Editor for building and debugging modern web and cloud applications (insiders version)
Upstream URL: https://code.visualstudio.com/
Licenses: custom: commercial
Provides: vscode
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 33
Popularity: 0.22
First Submitted: 2020-11-17 19:53 (UTC)
Last Updated: 2025-03-05 20:38 (UTC)

Pinned Comments

dcelasun commented on 2021-05-29 23:02 (UTC)

This package always installs the latest insiders build so don't flag it as out-of-date, just rebuild and you'll get the latest version.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »

dcelasun commented on 2024-01-19 14:55 (UTC)

@GoodbyeNJN updated, thanks!

GoodbyeNJN commented on 2024-01-19 14:25 (UTC) (edited on 2024-01-19 14:26 (UTC) by GoodbyeNJN)

Hello, after adding extra command-line options through ~/.config/code-flags.conf, when running code-insiders my-file command, only vscode is started without automatically opening any files. Please consider updating visual-studio-code-insiders-bin.sh file to the following content.

#!/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="$(sed 's/#.*//' $XDG_CONFIG_HOME/code-flags.conf | tr '\n' ' ')" # !!!Replace line breaks with spaces!!!
fi

# Launch
exec /opt/visual-studio-code-insiders/bin/code-insiders "$@" $CODE_USER_FLAGS # !!!Swap the positions of flags and other parameters!!!

Reference: visual-studio-code-bin

dcelasun commented on 2023-12-08 15:36 (UTC)

Ah, nice catch! Will patch it in the next version bump.

elizabethdev commented on 2023-12-08 14:40 (UTC)

@dcelasun You're welcome! Things that one finds out when building a setup without XWayland.

Btw, another thing that I personally don't care about but you might want to check the next time you plan on pushing an update: on the visual-studio-code-insiders.desktop file, the "New Empty Window" action has the same issue.

(sorry for not pointing it out in the same comment so you didn't need to push two different patches, I didn't notice at the time 🙈)

dcelasun commented on 2023-12-06 11:04 (UTC)

@elizabethdev done. Thanks for flagging this!

elizabethdev commented on 2023-12-06 10:50 (UTC)

Hi, would you mind applying the same "Exec=" from the file visual-studio-code-insiders.desktop to the file visual-studio-code-insiders-url-handler.desktop (basically, use the wrapper that lets you apply flags from the ~/.config/code-flags.conf when using the URL handler).

I'd have done it myself but I'm not sure how this type of contributions are handled in the AUR, it doesn't look like pull requests are a thing in here.

dcelasun commented on 2023-11-24 07:34 (UTC)

@Alphabyte OK so the version is correctly identified. Can you try in a clean build directory, without any AUR helpers? Also, what's the output of uname -m?

Alphabyte commented on 2023-11-24 04:21 (UTC)

Hi, @dcelasun That command outputs 1700717804

dcelasun commented on 2023-11-23 19:43 (UTC)

@Alphabyte maybe it's a CDN issue. Assuming you're on x86_64, what's the output of IFS='/' read -ra ADDR <<< $(curl -ILs -o /dev/null -w %{url_effective} https://update.code.visualstudio.com/latest/linux-x64/insider); echo "${ADDR[7]}" | sed 's/code-insider-x64-//g' | sed 's/.tar.gz//g' | sed 's/-/./g'?

Alphabyte commented on 2023-11-23 18:37 (UTC) (edited on 2023-11-23 18:37 (UTC) by Alphabyte)

getting this error when trying to install using paru

==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version: 
error: failed to build 'visual-studio-code-insiders-bin-1700717804-1': 
error: packages failed to build: visual-studio-code-insiders-bin-1700717804-1