Personally I split the difference; there are some web oriented IDEs that give you features like autocomplete, debugging options, and integrate with your software repository. At the moment I'm using Jetbrain's Webstorm, but there are plenty of options out there that aren't WYSIWYG editors.
This. Again, since that was me and I didn't realize I wasn't logged in.
When speculation has done its worst, two plus two still equals four. -- S. Johnson