forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
microsoft/vscode
#243528Labels
area-terminalfeature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplanAdded to test planAdded to test plan
Milestone
Description
There's an upcoming API from @meganrogge TerminalCompletionProvider that allows extensions to provide completions for the terminal. That's how the built-in extension does this:
Combined with the shell type API, it should be possible to support completions in Python REPLs! We could do this basically by putting an adapter on the existing LSP with a "fake" text document made up of the terminal command line and cursor position (maybe more context later?).
@anthonykim1 and I put together a quick proof of concept that got completions showing a month or so ago.
API:
anthonykim1
Metadata
Metadata
Assignees
Labels
area-terminalfeature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplanAdded to test planAdded to test plan
