Microsoft OneNote works great to keep all your information in a single place. You can write notes, attach files, insert tables, media, and more. But if you want to jot down bits of code? Due to the lack of syntax highlighting, you cannot store code snippets in OneNote.