And the text editor inside of the IDE will usually be smarter than one not integrated, it'll be able to better autocomplete code for you, tell you about different variables, let you step through code, ...