Skip to content
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

When envinfo was getting IDEs info, VSCode will be opened on Windows. #262

Open
lovemilk2333 opened this issue Aug 22, 2024 · 0 comments
Open

Comments

@lovemilk2333
Copy link

lovemilk2333 commented Aug 22, 2024

Run any command which includes get IDEs info (like envinfo --json --IDEs), both use CLI or program, VSCode will be opened like use Code directly. And each run will open a new window of VSCode.

Reason (I guessed):
code at https://github.com/tabrindle/envinfo/blob/main/src/helpers/ides.js#L164 is incorrect, if u want to get the version info output using CLI of VSCode, you have to run Code -version instead Code --version (one - v.s. tow -s). At least on my windows computer.

(TIPS: My English is not good sorry~)

Envinfo:
System:
OS: Windows 11 10.0.22631
CPU: (20) x64 Intel(R) Core(TM) i9-10900 CPU @ 2.80GHz
Memory: 12.63 GB / 31.74 GB
Binaries:
Node: 20.16.0 - ~\AppData\Local\Volta\tools\image\node\20.16.0\node.EXE
Yarn: 4.4.0 - ~\AppData\Local\Volta\tools\image\yarn\4.4.0\bin\yarn.CMD
npm: 10.8.1 - ~\AppData\Local\Volta\tools\image\node\20.16.0\npm.CMD
pnpm: 9.6.0 - C:\Program Files\Volta\pnpm.EXE
Managers:
Cargo: 1.82.0 - ~.cargo\bin\cargo.EXE
pip3: 23.3 - I:\Applicantions\Python3109\Scripts\pip3.EXE
RubyGems: 3.4.19 - I:\Applicantions\Ruby32-x64\bin\gem.CMD
Utilities:
CMake: 4.4 - /cygdrive/i/Standalone-Apps/mingw/bin/cmake
Git: 2.45.2. - /cygdrive/i/Applicantions/Git/cmd/git
Ninja: 1.11.1. - /cygdrive/i/Applicantions/Python3810/Scripts/ninja
FFmpeg: 12.2.0 - I:\Applicantions.other\ffmpeg\using\bin\ffmpeg.EXE
Curl: 8.8.0 - C:\WINDOWS\system32\curl.EXE
OpenSSL: 3.0.14 - I:\Applicantions\Cygwin\bin\openssl.EXE
SDKs:
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions: 10.0.17763.0, 10.0.22000.0
IDEs:
Visual Studio: 17.7.34221.43 (Visual Studio Professional 2022)
Languages:
Bash: 5.2.21 - I:\Applicantions\Cygwin\bin\bash.EXE
Java: 20.0.2 - /cygdrive/i/Applicantions/Java/jdk20/bin/javac
Python: 3.10.9 - /cygdrive/i/Applicantions/Python3109/python
Ruby: 3.2.3 - I:\Applicantions\Ruby32-x64\bin\ruby.EXE
Rust: 1.82.0 - /cygdrive/c/Users/Admin/.cargo/bin/rustc
Databases:
SQLite: 3.39.2 - I:\Standalone-Apps\adb\sqlite3.EXE
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.22621.3527

VSCode Version Info:
版本:1.92.2(systemsetup)
提交:fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
日期:2024-08-14T17:29:30.058Z(1周前)
Electron: 30.1.2
ElectronBuildld: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8:12.4.254.20-electron.0
OS:Windows NT x64 10.0.22631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant