Sdílet prostřednictvím


Jump to closing Curly Brace!

I maintain a few projects with a few spaghetti functions.

It’s really common to see something like:

try{

//And then sixteen pages of text before the closing brace

}

If you click either brace, it highlights its counterpart, which is great when they’re on the same page, but not when they’re many scrolly pages and many brace-pairs apart…

So I wondered if there was a way I could jump between them (16 pages is an awful lot of scrolling)

Yes! Ctrl+] !

Thanks SO!