Skip to content

When editing a query inside the quick access box, the cursor jumps to EOL if the edit changes the prefix to another search mode.  #162914

@mueheg

Description

@mueheg

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.71.2
  • OS Version: Mac OS

Steps to Reproduce:

  1. Open file search with CMD + P
  2. Enter foo:bar (for instance copy and pasted from somewhere)
  3. Go to the start of the line and delete 'foo' using the delete key
  4. Once the ':' is at the front of the string, the mode switches to 'go to line' but this also causes the cursor to move to the end of the line making it hard to remove the prefix as intended. This happens for instance if you paste a URL and where planning to remove the http:// prefix.
cursor_jumps_hitting_prefix.mov

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersquick-openQuick-open issues (search, commands)verifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions