This is a site which seems to be mostly for scripting. Gamers and modders come up with their own scripts, or borrow / modify them from some game, and post them at Pastebin. This should be especially helpful for Skyrim.
Whatever you pick, Notepad++ Sublime or Visual Studio Code, remember to install there papyrus packages, and set it has your external editor in the creation kit, then you can open psc from the creation kit in your preferred editor, and OFC compile with out even launching the kit.