Vscode: The `cursorWordPart`* commands are limited to editor text, unlike the other `cursorWord`* commands

Created on 6 Jul 2019  路  4Comments  路  Source: microsoft/vscode

  • VSCode Version: 1.36.0 (system setup)
  • OS Version: Windows_NT x64 10.0.18362

Steps to Reproduce:

  1. Focus on a non-editor input text field (e.g. execute the command workbench.action.quickOpen or actions.find, inter alia)
  2. Insert the text of the multi-part word "fooBar".
  3. Move the cursor to the end of the multi-part word text.
  4. Enter your keybinding for the command cursorWordPartLeft.

Expected behavior:

  • Cursor moves to between "foo" and "Bar", i.e. foo|Bar.

Actual behavior:

  • No effect.

Notes:

  • This limitation appears in all inputText contexts other than the editorText context.
  • This limitation affects all the cursorWordPart* commands:

    • cursorWordPartLeft

    • cursorWordPartLeftSelect

    • cursorWordPartRight

    • cursorWordPartRightSelect

    • cursorWordPartStartLeft

    • cursorWordPartStartLeftSelect

  • The corresponding whole-word commands (those without the "Part" infix) are not limited, i.e. they function in inputText contexts other than the editorText context.

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

editor-find feature-request

Most helpful comment


This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

All 4 comments

worth noting this isn't just an issue with find. would love to see this in the F2 to rename input!

Please, this is one of the most hurting moment when switching from Atom :pray:


This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!


:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sirius1024 picture sirius1024  路  3Comments

biij5698 picture biij5698  路  3Comments

shanalikhan picture shanalikhan  路  3Comments

vsccarl picture vsccarl  路  3Comments

lukehoban picture lukehoban  路  3Comments