VSCode: Can I jump from `do` to `end`?

In languages with curly braces, I can strike <shift+%> (it’s a VIM thing) to jump from one brace to the other.

Is there a similar keybind for Elixir’s do/end?

1 Like

I couldn’t figure out how to get it working with the vim extension in vscode, but I did get it working with the neovim extension. I just added runtime macros/matchit.vim to ~/.config/nvim/init.vim, disabled the vim extension, enabled the neovim extension, and % works correctly.

It’s a bit unfortunate that it doesn’t seem to work with the vim extension. The equivalent packadd! matchit would be nice.

1 Like

Jump to matching bracket ⇧⌘\ editor.action.jumpToBracket

Thats the nearest I know

1 Like

Thanks Pal, you’ve changed my life for the better.