AutoPairs for Mac is designed to solve the common yet often overlooked problem of keystrokes not matching in a string. For example, quotations, parentheses, brackets, and other matched left/right notations can easily be mixed up, and while it can be a grammatical or style issue in some documents, it is a nightmare in code. AutoPairs creates macros that will automatically display the left and right side of a pair when you type the first one and prompt you to fill the rest.
Installation of AutoPairs requires you to enable access for assistive devices if it is not already on. It prompts you to do so if it is necessary and there are instructions in the README file depending on your version of OS X. After this is done, you can quickly install the new preference pane and then choose from a list of macros to turn them on and off. It is important to add apps, as well, so the software will know when to activate each macro. Afterward it should work automatically when you open any of those apps. Type the left side of a pair and the right matching character will appear, automatically, and you can fill the gap between them. This is a useful tool that works perfectly in most apps and without any complicated tweaks to get it set up.
If you have trouble matching characters or just want to remove yet one more possible typo/error source in your typing (especially if you write code), consider downloading AutoPairs. The app is free and after initial setup, is very easy to customize for your particular needs.