What is an IDE doing when it's indexing?
Different IDEs do different things, but typically it means that the IDE is processing up files so that it can offer Code Completion features (the box that gives you options when you type a partial line of code). Without indexing, the IDE would have to search through your files for the options to display as you are typing, which would be very slow.