Search code examples
phpvisual-studio-codebase64keyboard-shortcuts

What is the keyboard shortcut to select everything between quotes in VSCode


I am looking for a quick way to select data:image/png;base64,... between matching quotes in VSCode.

enter image description here

I assigned editor.action.selectToBracket keybindings to Ctrl + Shift + m as keyboard shortcut. This will select everything between php tags.

enter image description here


Another attempt is Shift + Alt + Right Arrow. This will select a whole single line.

enter image description here

Is it possible to accomplish this task in VSCode without relying on any extensions?


Solution

  • To solve the issue, I used the following steps: I pressed Shift + End to select the text from the current cursor position to the end of the line, and then I pressed the Left Arrow key to reduce the selection size.

    enter image description here