Searching by `/` can only be exited by hitting return or esc instead of placing the cursor via mouse
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Feature request
What happened:
I often use the '/' command to jump the editor to a specific method or enum I'm searching for and then click to place the cursor exactly where I want. However when I start typing, it appears to still be in 'search' mode and will add all keystrokes to the '/' search, making the cursor/editor jump away, making me redo my search. Only after hitting return or esc can I exit out of the search. It would be nice to have the search exited (or at least have that as an option flag to enable) whenever a click to place the cursor occurs.
What did you expect to happen:
I could search, have the editor jump, then place my cursor directly using my mouse and then start typing.
How to reproduce it (as minimally and precisely as possible):
Search using '/' and have the cursor jump to match, then place the cursor elsewhere using the mouse, then start typing. The search will be updated with the text instead of allowing you to start typing.
Environment:
- Extension (VsCodeVim) version: 0.11.3
- VSCode version: 1.21.1
- OS version: Mac 10.12.1
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
Reproduce the slash-search workflow in VSCodeVim: search with '/', click to place the cursor, then type. Trace the slash-search and mouse cursor-placement entry points; done means clicking exits search mode so subsequent typing edits at the clicked location, while Return and Esc continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100