-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Settings commandLineArgs on an overlay for vscode breaks the ability to open files thru the cli with it #357956
Comments
Can't seem to reproduce this with this in
|
huh, that's weird. I have an overlay on nixpkgs.overlay for my user with home-manager as a module. how does the script for vscode look like for you? I've no idea what's going on |
alright, this might be an issue specific to the flag I'm using. tried yours and it works fine, as soon as i add the one i use, it fails to open files thru the cli |
A good way to test this would be: nix-shell -p vscode
code --disable-font-subpixel-positioning hello.txt |
i did it in a similar way by grabbing the .code-wrapped executable that the code script uses
Sent from Proton Mail Android
…-------- Original Message --------
On 11/21/24 1:48 PM, Masum Reza wrote:
A good way to test this would be:
nix-shell -p vscode
code --disable-font-subpixel-positioning hello.txt
—
Reply to this email directly, [view it on GitHub](#357956 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A7PKJTJLDJGI3XCLSULRZR32BYTHZAVCNFSM6AAAAABSHUQLEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJSGAYTANRZGU).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Describe the bug
I sometimes open vscode by doing
code $someFile
, and noticed this doesn't work now. I copied the script that launches vscode, removed the cmd line arg I add thru the overlay, and that way it works normally.Steps To Reproduce
Steps to reproduce the behavior:
code $someFile
Expected behavior
Specified file/folders are opened in vscode
Metadata
"x86_64-linux"
Linux 6.12.0, NixOS, 25.05 (Warbler), 25.05.20241119.23e89b7
yes
yes
nix-env (Nix) 2.24.10
/nix/store/c9wv7i0af6mysmy65x6nvyfw5izzxv4g-source
Notify maintainers
@eadwu @Synthetica9 @JohnRTitor @bobby285271
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: