Earlier quoted context omitted.
Your IDE should be able to split a single file codebase into different readable modules. If it cannot do that, its not a good IDE. And slippery slope...
Do IDEs really do that type of refactoring? As a long time Emacs user I long forgot what a good IDE is capable of. I know of automatic renaming, moving parts you select automatically to another file, but full automatic refactoring to multiple modules is something I haven’t seen. How does this tackle circular dependencies etc. I guess the IDE must parse the code, generate the syntax tree, populate symbol tables etc. a…
Yes. Modern IDEs are incredibly productive because they have a high-level understanding of your program, going beyond just symbols in the code and way above just text processing.
Try using Visual Studio or Jetbrains IDEs and you'll see the difference.