visual studio code - Word-part cursor navigation in search boxes - Stack Overflow

admin2025-04-19  0

I have the following keyboard shortcuts configured in VS Code (v1.97.2):

{
  "key": "ctrl+left",
  "command": "cursorWordPartLeft",
  "when": "textInputFocus"
}
{
  "key": "ctrl+right",
  "command": "cursorWordPartRight",
  "when": "textInputFocus"
}

(plus the related word-part selection commands when adding Shift into the mix - i.e., cursorWordPartRightSelect, cursorWordPartLeftSelect)

When in an editor, or e.g. the Extension search bar, this correctly makes stops within strings that are typedInCamelCase. But in the search/replace bars (both per file and global), no stops are made within such words. Is this intended behavior, a bug, or am I likely to I have some faulty configuration?

I have removed all other shortcuts using ctrl+left/ctrl+right, but no dice.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745014601a280011.html

最新回复(0)