Skip to content

Terminal line selection - #47991

Merged
Daniel Imms (Tyriar) merged 11 commits into
microsoft:masterfrom
jayneebg:terminal-line-selection
May 19, 2018
Merged

Daniel Imms (Tyriar) merged 11 commits into
microsoft:masterfrom
jayneebg:terminal-line-selection

Conversation

@jayneebg

Copy link
Copy Markdown

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.

@msftclas

Microsoft Contribution License Agreements (msftclas) commented Apr 16, 2018 •

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@jayneebg

Jaynee BG (jayneebg) commented Apr 16, 2018 •

Copy link
Copy Markdown
Author

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
File not formatted: src/vs/workbench/parts/terminal/node/terminalCommandTracker.test.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?

@Tyriar

Copy link
Copy Markdown
Contributor

noahjg works great, just made a few cleanliness commits 👍

@Tyriar
Daniel Imms (Tyriar) merged commit 53826fb into microsoft:master May 19, 2018
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants