You either generally know the syntax of a particular programming language or you don't. There's nothing wrong with looking up the details of a particular function. Sometimes when I'm really busy, I find its easier to look up the details of a function than change my mental focus or train of thought. When that happens, I usually have a favorite book or website that details the language. Also, you don't need a fancy IDE for syntax coloring/matching/highlighting. A very simple text editor tends to be alot faster and easier to use.