wangchunsen / vscode-bracket-select

A vscode plugin for select text between brackets
31 stars 18 forks source link

Running the contributed command: 'bracket-select.select' failed. #12

Open nexdrew opened 4 years ago

nexdrew commented 4 years ago

The extension started failing for me today, and I don't know why, but I wanted to report it so you are aware.

When attempting to use my keyboard shortcut to select code between matching brackets, I saw this toast message:

Screen Shot 2020-07-31 at 5 07 38 PM

When this occurs, I noticed this "violation" message in the dev tools console:

Screen Shot 2020-07-31 at 5 10 56 PM

Here's my version information from VS Code:

Version: 1.47.3 Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e Date: 2020-07-23T13:08:29.692Z Electron: 7.3.2 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Darwin x64 19.5.0

Sorry, I know this is not much to go on. Let me know if there's any more info I can provide.

BTW thanks for writing this cool little extension! It helped me make the transition from Atom over to VS Code.

revelt commented 3 years ago

I had the same situation, I used to use "select all within brackets" option on Atom via Control+Cmd+M then set up the same on VSCode using this plugin, then it stopped working.

But we don't need this plugin — there's a better thing — "Go to Bracket" function, I mapped it to Control+M:

goto

jump

When I need to select all within brackets, I use Option+Command+Up/Down Arrow — it's more powerful than selection within brackets — you can expand or contract selection, jumping through layers of brackets of all kinds:

expand-contract-selection

We don't need this plugin. Maybe that's why its author stopped maintaining it?

kanlukasz commented 3 years ago

We don't need this plugin.

We still badly need this plugin


Go to bracket sucks because:


Maybe that's why its author stopped maintaining it?

Releases are not frequent, that's true. But no one said it's stopped maintained