Ask HN: What do you do with mismatching braces in c style languages?
5 comments
I use vim showmatch. http://vim.wikia.com/wiki/Moving_to_matching_braces
Thank you, that seems to be helpful
You are welcome! I teach vim for pleasure. :) You can visit my vi resources page at http://www.verticalsysadmin.com/vi.htm
The Sublime text editor underlines the opening and matching closing bracket that's currently under the cursor. Easy to miss, I noticed it only after months of using the editor.
To a first approximation, all IDE's and programmer friendly text editors have 'parenthesis' matching modes/features. Certainly any IDE/editor that complains about mismatched 'parenthesis' does.
I found turning on parenthesis matching a was a bit disorienting at first because deleting parenthesis worked differently from deleting other characters. Eventually I got used to it.
Good luck.
I found turning on parenthesis matching a was a bit disorienting at first because deleting parenthesis worked differently from deleting other characters. Eventually I got used to it.
Good luck.
}());
My editor is complaining about a mismatch in braces or prans. How do you find your way out of these situations? :)