-
Notifications
You must be signed in to change notification settings - Fork 6k
[Feat]: Add VS Code version number to --version output #4874
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
Comments
Fantastic idea! This is where the code lives in Lines 40 to 54 in 94f378c
I don't think we have a file yet called Otherwise, you could add another test to our standalone release here: |
jawnsy
added a commit
that referenced
this issue
Feb 26, 2022
Introduce helper functions for getting human- and machine-readable version strings from the constants package, and cover it in unit tests. This is a first step to resolving #4874.
jawnsy
added a commit
that referenced
this issue
Feb 28, 2022
Introduce helper functions for getting human- and machine-readable version strings from the constants package, and cover it in unit tests. This is a first step to resolving #4874.
jawnsy
added a commit
that referenced
this issue
Feb 28, 2022
Show the bundled version of Code OSS in the text-based output for --version and --help, in addition to the JSON output (--version --json) Closes: #4874
jawnsy
added a commit
that referenced
this issue
Mar 1, 2022
Show the bundled version of Code OSS in the text-based output for --version and --help, in addition to the JSON output (--version --json) Closes: #4874
TinLe
pushed a commit
to TinLe/code-server
that referenced
this issue
Apr 23, 2022
Introduce helper functions for getting human- and machine-readable version strings from the constants package, and cover it in unit tests. This is a first step to resolving coder#4874.
TinLe
pushed a commit
to TinLe/code-server
that referenced
this issue
Apr 23, 2022
Show the bundled version of Code OSS in the text-based output for --version and --help, in addition to the JSON output (--version --json) Closes: coder#4874
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is your suggestion?
The
code-server
version output shows the version ofcode-server
itself:It is possible to get the corresponding (embedded) VS Code/code-oss-dev version using the
--json
output:It would be convenient to also have the VSCode version in the --version output.
Why do you want this feature?
This makes the VS Code version more discoverable, which is useful when evaluating the versions of extensions that are compatible.
Are there any workarounds to get this functionality today?
Yes, users can run
code-server --version --json
and look at the output. But JSON output is not as human-readable.Are you interested in submitting a PR for this?
Sure, would like a pointer to the code though.
The text was updated successfully, but these errors were encountered: