Text editors just format and display text. IDEs have compilers, debuggers, indexers, source control integration, analysis tooling, WSL integration, SSH integration, and whatever plugins you might have installed.