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

No mention of adding VSCode's bin to MSYS2's $PATH #6212

Closed
amkhrjee opened this issue Apr 8, 2023 · 1 comment
Closed

No mention of adding VSCode's bin to MSYS2's $PATH #6212

amkhrjee opened this issue Apr 8, 2023 · 1 comment
Assignees
Labels
C++ doc-bug out of date, inaccurate, confusing content

Comments

@amkhrjee
Copy link

amkhrjee commented Apr 8, 2023

In the article Using GCC with MINGW, there is no mention of adding VSCode's bin directory to MSYS2's PATH as a troubleshooting method when code command does not work inside MSYS2.

In my case, the bin directory was not added to MSYS2's PATH for whatever reason and I was not able to open VSCode with the code command. It took me couple of minutes get to the root of the problem as there was no mention of this in the doc.

Doing a PATH=/c/Users/{Username}/AppData/Local/Programs/'Microsoft VS Code'/bin:$PATH solved the problem for me.

@gregvanl gregvanl added C++ doc-bug out of date, inaccurate, confusing content labels Apr 9, 2023
@gregvanl
Copy link

Hi @amkhrjee Thank you for your interest in the VS Code documentation and taking the time to create a issue.
The tutorial is written to enable VS Code to run from a Windows native environment rather than a MSYS2 environment. MSYS2 is only included as a way to install the MinGW toolset.
We'll leave it up to people who want to use the MSYS2 environment, rather than Windows Command Prompt, to learn how to set up the MSYS2 Path by reviewing the MSYS2 documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ doc-bug out of date, inaccurate, confusing content
Projects
None yet
Development

No branches or pull requests

3 participants