-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Command line argument documentation and a '--help' option #6484
Comments
This was added a few versions ago:
Can you provide OS and if on Linux/OSX run |
They're also documented on the website https://code.visualstudio.com/Docs/editor/codebasics#_additional-command-line-arguments |
Hmm, maybe it's just a bug then. I'm using Arch Linux x86_64 using the AUR package for visual-studio-code. The output of EDIT: After trying most of the above options, it looks like none of them are writing to stdout or stderr, Here is the about information given from Help -> About in vscode: |
The problem is likely because you're using an unofficial package that's not configured correctly. I'm guessing Some command line options will work, some that are evaluated before electron is touched (like |
Ah, that seems to work. Thanks! I'll fix the AUR package for it as well. |
@Lindenk cheers. Is there something I could do to help improve the quality of the package? I'm not too familiar with Arch Linux/AUR. |
It looks like it was just a bug in the install script for the package, but thanks for the offer. The AUR is essentially just a community repository of build scripts for software that isn't in the offical repository, so, as long as the script builds the package correctly and has the correct dependancies, it should work as expected. |
@Lindenk the problem is if it's building from the vscode repository, it won't build vscode in full as there's a small portion of the configuration that's closed. Would the AUR package be able to leverage a properly packaged .tar.gz file? If so in what format should it be? |
@Lindenk I'd love for installs on Arch Linux to be just as easy as deb/rpms are via the website. |
The build script for the package downloads the binary from here which seems to be the official build. Then it's extracted, installed and symlinked it to the (hopefully) correct locations. The script itself is managed by the community and is generally the standard for non-official Arch Linux packages. If you'd like to skim the script it's available here, but, other than the package getting a large amount of community support and being taken on by an official Arch Linux maintainer, I think keeping it as a package on the AUR is the most convenient way to provide vscode to the Arch Linux community. |
@Lindenk ok using VSCode-linux-x64-stable.zip should be relatively safe, you're just missing out on the post/pre install stuff in the deb/rpms files (mainly just the symlink at this point):
We're totally open to contributions if a .tar.gz that contained some install script would be better for example. |
To clarify: the community packages are awesome, I just want to make sure the heavy lifting is done on our build system so things like this issue are avoided in the future 😃 |
Well, thanks for the help and interest! Usually these kinds of problems are pretty rare, but ultimately I would expect an install script to be difficult to maintain on your end in case something Arch Linux related causes breaking changes. I'll post a link to the other issue in the IRC in case anyone else in the community has some better input on the subject. |
Hello! (Google dropped me here, but since this one is "Closed", I tried finding a similar open one from the GitHub issue finder, but gave up after wading through a few dozen irrelevant ones, except for #15435. Since I have the exact same problem as the title of this one here, I eventually chose this, sorry if it causes any trouble.) v1.10.2, Win7(32-bit) here, everything's vanilla, AFAIK:
Then I even tried (Please note: I'm just a user, I have no idea what "electron" is, and I like it that way. ;) Thanks, cheers!) |
@lunakid I believe you need to run |
Ah, damn, indeed, thank you very much! (Still have no idea what "Electron" is, though. ;) ) |
@lunakid just the way you like it 😉 |
Yeah, but that didn't help what I didn't like. ;) |
Hello!
Visual Studio Code seems to accept command line arguments for some things, such as disabling extentions and openning to a given path, however they do not seem to be documented anywhere (that I can easily find at least). I'm sure many other users have run into the problem of wanting to know what vscode supports when opened from a terminal and the first thing most of them will try is passing the
--help
option to vscode.So, my feature request is for a standard help/usage message to be displayed when giving the
--help
option to vscode.The text was updated successfully, but these errors were encountered: