are code editors just text input clis and an interpreter you select

hi all, noob at this. are code editors just notepad but with text highlighting, file opening, and interpreters which you use a terminal application to execute?