-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Terminal line selection #47991
Terminal line selection #47991
Conversation
…minal-line-selection
…minal-line-selection
On precommit (and in the CI test) two of the files I modified failed the hygiene check: File not formatted: src/vs/workbench/parts/terminal/node/terminalCommandTracker.ts However I cannot figure out why this is, as tslint doesn't find any errors and I followed all conventions stemming from the original part of the file I modified. How do I "format" these files that I have modified? |
@noahjg works great, just made a few cleanliness commits 👍 |
Solves the following issue:
Suggestion: Allow line selection in terminal #46761
Adds the ability to select next/previous lines in the integrated terminal by calculating the offset between the "cursor" and the selected line and using it to create a marker +/- 1 lines away from the currently selected line. Markers created this way are disposed whenever the current marker is changed, so the existing function of selectToNextCommand and selectToPreviousCommand is not compromised.