My procedure for selecting an editor starts by taking an online class and using whatever tool the expert is using. I figure their reasons for using said tool in a given stack is probably more reasonable than anything I can come up with in my comparatively limited experience. That said, it looks like this:
Visual Studio - C#
Notepad ++ - Any text file I need quick access to, cut/paste
Visual Studio Code - Trying it out to replace Notepad++
Android Studio - Native Android Apps
WebStorm - JavaScript and front end projects
IntelliJ IDEA - JAVA