vscode-nim icon indicating copy to clipboard operation
vscode-nim copied to clipboard

Missing feature: surround selected text with curly brackets

Open InvisOn opened this issue 3 years ago • 0 comments

Missing feature

Currently when one selects text and presses round or square brackets it surrounds the selected text. Yet, this behavior is missing for curly brackets.

This would be very useful because the curly brackets are used extensively with the standard library strformat fmt.

Expected behavior

  1. Select text some text
  2. Press shift+{
  3. Curly brackets now enclose selected text {some text}

Actual behavior:

  1. Select text some text
  2. Press shift+{
  3. Left curly bracket replaces selected text: {

InvisOn avatar Dec 19 '21 03:12 InvisOn