Last active
October 10, 2024 13:48
-
-
Save soda92/b7c394b0db0dadf33a433858d2881728 to your computer and use it in GitHub Desktop.
How to set rust-analyzer extension to use MSYS2 environment in VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rust-analyzer.server.extraEnv": { | |
"PATH": "C:/msys64/ucrt64/bin" | |
}, | |
"terminal.integrated.profiles.windows": { | |
// ... | |
"MSYS2": { | |
"path": "C:\\msys64\\usr\\bin\\fish.exe", | |
"args": [ | |
"--login", | |
"-i" | |
], | |
"env": { | |
"MSYSTEM": "UCRT64", | |
"CHERE_INVOKING": "1" | |
} | |
} | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment