SciTE fits developers wanting a compact editor with direct toolchain access. Open the source file, configure its build command if necessary, and use the output from a compile or run to move between errors and code.
Full project and language-server features are more limited than in larger IDEs. External compilers and interpreters are separate requirements. Keep working files under version control so subsequent changes can be reviewed and reversed.