-
Notifications
You must be signed in to change notification settings - Fork 34.3k
Closed
microsoft/vscode-copilot-chat
#249Closed
Copy link
Labels
on-testplanterminalGeneral terminal issues that don't fall under another labelGeneral terminal issues that don't fall under another labelterminal-inline-chatIssues related to the terminal inline chat widgetIssues related to the terminal inline chat widget
Milestone
Description
The current experience of using inline chat in sub-shell is not ideal, in a way that it does not realize that user is in a sub-shell. This is even though the shell type has changed.
For example, if I were to enter Python sub-shell from zsh, and then request inline chat to print hello world in Python
, it would give me a suggestion or command of python3 -c "print('hello world')"
, which is not good.
This is not good because we are already in a Python REPL or Python sub-shell, and python3 -c
is completely unnecessary.

We should give context for inline chat about shell type, or figure out if its missing context for sub-shell scenarios. Or figure out what else is causing this issue.
Metadata
Metadata
Assignees
Labels
on-testplanterminalGeneral terminal issues that don't fall under another labelGeneral terminal issues that don't fall under another labelterminal-inline-chatIssues related to the terminal inline chat widgetIssues related to the terminal inline chat widget