Skip to content
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

Command to clear text in Interactive Window text entry box #2275

Closed
andycraig opened this issue Feb 19, 2020 · 4 comments
Closed

Command to clear text in Interactive Window text entry box #2275

andycraig opened this issue Feb 19, 2020 · 4 comments
Assignees

Comments

@andycraig
Copy link
Contributor

Feature: Notebook Editor, Interactive Window, Python Editor cells

Description

It would be nice to have a command to clear text in the Interactive Window text entry box. This could then be bound to a keyboard shortcut. Many REPLs clear text like this if the user presses Esc or Ctrl-C. (IPython uses Ctrl-C.)

To be clear, I'm not talking about clearing existing cells - see picture below.

delete

Thank you!

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

@rchiodo
Copy link
Contributor

rchiodo commented Feb 19, 2020

Good suggestion. I think escape would work nicely. It already clears the terminal.

@greazer
Copy link
Contributor

greazer commented Feb 24, 2020

Related to microsoft/vscode-python#5629. Ctrl-u should also work.

@rchiodo rchiodo self-assigned this Mar 10, 2020
@IanMatthewHuff IanMatthewHuff self-assigned this Apr 10, 2020
@IanMatthewHuff
Copy link
Member

ESC and Ctrl-U both clear it. Validated.

@andycraig
Copy link
Contributor Author

Great, thank you both!

@lock lock bot locked as resolved and limited conversation to collaborators Apr 18, 2020
@microsoft microsoft unlocked this conversation Nov 13, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 13, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants