You can use Brackets code editor from Adobe. This is an open source software.
I use this one in both Mac and PC and I recommend this to everyone. Although it looks a simple software, it has lots useful features. You can check YouTube to see the useful features of the Brackets.