Cannot select text from bottom to top using shift+mouse
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
Cannot select text from bottom to top using shift+mouse, but select from top to bottom is working properly.
To Reproduce
Steps to reproduce the behavior:
- Locate cursor at
} - Shift + Left-click at
be
<InlineToolbar>
{
// may be use React.Fragment instead of div to improve perfomance after React 16
^ 2. Shift + Left-click here
(externalProps) => (
<div>
<BoldButton {...externalProps} />
<ItalicButton {...externalProps} />
<UnderlineButton {...externalProps} />
<CodeButton {...externalProps} />
<Separator {...externalProps} />
<UnorderedListButton {...externalProps} />
<OrderedListButton {...externalProps} />
<BlockquoteButton {...externalProps} />
<CodeBlockButton {...externalProps} />
</div>
)
}
^ 1. Locate cursor here
</InlineToolbar>
Expected behavior
Select a bunch of text
Screenshots
vscodevim.20200916.mov.zip
Environment (please complete the following information):
- Extension (VsCodeVim) version: v1.16.0
- VSCode version: 1.49.0
- OS: macOS 10.15.6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source file or test; first reproduce the reverse Shift+mouse selection failure in VSCodeVim on the stated VSCode, extension, and macOS versions, then trace the extension's selection handling entry point. Done means selecting from the bottom to the top works consistently while the existing top-to-bottom behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100