We are using
ApexSQL Diff[
^] You can use this tool to both compare objects and sync either from tool directly or create synchronization script.
If you’re not into third party tools you can try doing this manually by comparing sys schema tables. More specifically sys.syscomments tables on both servers.