Before this, I used Dreamweaver to code. However, I found the CPU usage rises a lot when I use it and it costs me a few hundred megabytes to install. After that, I started to find other code editors that is lightweight and powerful. Finally, Brackets is the one that satisfies my needs so I recommend it to you. Below is some information that I quoted from their websites:
FOR THE WEB, BY THE WEB
OPEN DEVELOPMENT WORKS
Brackets, is a fully open-source, community-driven project. Want to influence its direction? Join the developer list and start contributing.
TOOLS SHOULDN’T GET IN YOUR WAY
Rather than clutter your workspace with floating panels, toolbars and icons, Brackets focuses on providing “Quick Edit” in-line views that provide context-sensitive access to your content, without taking you away from your code.
WORKS WITH YOUR BROWSER
The browser is your design view. Brackets hooks up directly to the browser, allowing you to design and develop in the same environment that you deploy.
Download it here.