-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
(Feature Request) Terminal Environment setting (like in VScode) #2785
Comments
This is actually won't be terribly difficult to implement IMO. In It wouldn't be impossible to also have another map of string->string key-value pairs that we also pass to the connection like this. |
Right now my current workaround is to use this set "MSYSTEM=MINGW64"
C:/msys/usr/bin/bash.exe --login -i |
any progress? or is this put in the background with priority on bug fixes/better features? If so, i would understand. |
Right now, we're focusing on bug fixes and features. You can check out our plans for October in the Terminal-1910 milestone, if you're interested. Right now, this one's sitting on the backlog ("not v1.0, but if we get some spare time we'll look at the features we've put off.") That's not to say we don't care about this, of course. We'd be more than happy to review a pull request that adds support for this, so we've marked it Help-Wanted. |
Thanks for asking! |
Ah! no worries! Sadly I know NOTHING about the lang this is being written in, so I cant be of any help here! I totally understand that! Functionality over features! Make the Program work, and THEN you add cool features (if that makes any sense) |
Moving relevant discussion from #6604:
|
Is there any workaround for this? I'm trying to set up an SSH session with X forwarding. The environment variables get set weirdly when I do Edit: Remove the spaces before the |
* use StringMap as a container
Hello @zadjii-msft, I would like to implement this feature. I'm still getting up to speed with your processes. Do you have any documentation on how you run your tests (specifically LocalTests_SettingsModel)? |
That is a good question! I'm fairly certain that everyone on the team has a slightly different process but here's how I do it:
You only need to do steps 1-3 once. Once you have the "razzle" window set up, you can just keep switching to new directories and building them, you don't need to start a new window each time. Lemme know if you need any other help. All the "Local" tests are a little weird, so I wouldn't be surprised if you ran into other issues |
Thank you @zadjii-msft, I got the tests running. |
* use StringMap as a container * recursively resolve ${env:NAME} vars in values in the StringMap or in the process' environment * implement some tests
* Use INHERITABLE_SETTING macro
@Merith-TK A simple work around I am using for MSYS is to use
|
Is this features going to be implemented anytime soon? |
Existing environment variables can be referenced by enclosing the name in percent characters (e.g. `%PATH%`). Resurrects #9287 by @christapley. Tests added and manually tested. Closes #2785 Closes #9233 Co-authored-by: Chris Tapley <chris.tapley.81@gmail.com>
Description of the new feature/enhancement
Arguments to the program. for example the ability to specify which mingw one would want to load, mingw64, mingw32, or msys2. like we can in VSCode
Proposed technical implementation details (optional)
This is accomplished in VSCode via this directive in
settings.json
My thougt process allowed something like
In the settins.json file example. just like VSCode
Please do note, i know little to nothing about this language that this program is written in, so i don't know how difficult it would be to implement.
The text was updated successfully, but these errors were encountered: