4 ms·
As you say, both are useful for different things. They complement each other if you use the right tool for the right job. I find Notepad++ is great for handlin
by jsingleton 10y ago
As you say, both are useful for different things. They complement each other if you use the right tool for the right job.
I find Notepad++ is great for handling really large files and changing UTF encoding or line endings. VS is good for pretty print formatting code/XML to be more readable, among many other non-text things such as debugging.
- coldtea 10y ago>and changing UTF encoding or line endings If you need to do those things often, there are specialized tools, including in the command line, and for batch processing. No need to do it in an editor.
- jsingleton 10y agoI don't need to do this often but occasionally you'll need to fix inconsistent line endings, change encoding to UTF-8 or remove a BOM [0] (to stop  being prefixed by some old software). [0] https://en.wikipedia.org/wiki/Byte_order_mark https://en.wikipedia.org/wiki/Byte_order_mark
- coldtea 10y agoYeah, I know, had to do it some time or another. In OS X and Linux (and Windows with Cygwin etc) there are several command line programs such as unix2dos (line ending conversion), iconv (encoding conversions) etc for doing just that, so that you don't need to do it in an editor and can even automate the work.