Improve terminal activation experience #8907
Labels
area-terminal
feature-request
Request for new features or functionality
needs proposal
Need to make some design decisions
as @ericsnowcurrently mentioned on #5330:
As already acknowledged above, the implementation in #7665 doesn't cover all the cases:
terminal is not ready or at a new prompt when the extension "types" the activation command (e.g. user is typing in the terminal or the terminal is running a command)
switch the activated Python env in the current [Python?] terminal when the user selects a different interpreter
...
[In the case of the first one, it is effectively a bug for which we have provided a workaround ("change the setting to false"), but it would be nice if we could find a way to make it work. I'm not sure the VS Code API gives us much opportunity though. We would need to know that the terminal is waiting at a new shell prompt. It would help if we had a shell-oriented API that let us introspect/inject on a per-prompt basis, but I'm not going to hold my breath. :) ]
The text was updated successfully, but these errors were encountered: