-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Adding PYTHONSTARTUP with shell integration to environment variable collection #24111
Adding PYTHONSTARTUP with shell integration to environment variable collection #24111
Conversation
package.json
Outdated
@@ -631,6 +631,12 @@ | |||
"scope": "resource", | |||
"type": "array" | |||
}, | |||
"python.terminal.enable Shell Integration in Python Terminal REPL": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I get feedback on the setting name and description? @cwebster-99
This is for allowing user to opt out of using shell integration for REPL when they launch the terminal REPL via typing out "python" in terminal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good. My one suggestion for the description is to be a bit more descriptive on what shell integration might enable or disable from the user perspective so users may better understand what might change in their experience.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback! Made some changes here: 8e8dd18
So it would look like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debating between
Python Startup For Shell Integration
vs
Python Start up For Shell Integration
vs
PYTHONSTARTUP For Shell Integration (PYTHONSTARTUP is actual Python official name of the file we are injecting to enable the feature)
vs
Python Start Up Script
for the title
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I like the one that is there currently (option 1)!
Co-authored-by: Courtney Webster <[email protected]>
Resolves: #23930