How do I set env for cargo check/clippy, run configurations, and the terminal #10521
-
How do I set environment variables globally for cargo check/clippy, run configurations, and the terminal? I can set the Terminals environment variables in But I see no way to set the environment variables for cargo check/clippy to stop reporting environment variables as not defined at compile time, even though it compiles fine both using Run Configurations and the Terminal. We don't really need a third place to set them either, can these be pulled from one of the previous locations, or one of the other additional locations such as Path Variables, or the Cargo Run Configuration Template (which doesn't do anything, it doesn't even copy from it when creating new configurations) I believe pulling environment variables from the currently selected Run Configuration would make the most sense. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Are you talking about cargo check/clippy on-the-fly? If yes, this should help: |
Beta Was this translation helpful? Give feedback.
Are you talking about cargo check/clippy on-the-fly? If yes, this should help: