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

Terminal line selection #47991

Merged
merged 11 commits into from May 19, 2018
Merged

Conversation

noahjg
Copy link
Contributor

@noahjg noahjg commented Apr 16, 2018

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
Copy link

msftclas commented Apr 16, 2018

CLA assistant check
All CLA requirements met.

@noahjg
Copy link
Contributor Author

noahjg commented Apr 16, 2018

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 Tyriar added this to the May 2018 milestone May 15, 2018
@Tyriar
Copy link
Member

Tyriar commented May 19, 2018

@noahjg works great, just made a few cleanliness commits 👍

@Tyriar 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.

None yet

3 participants