Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP Build a Basic PHP Website (2018) Building a Media Library in PHP Working with _GET Variables

Mark Lawson
Mark Lawson
6,148 Points

Which is the best code editor for creating html, css and php files?

I would like to be able to work through the lessons using a code editor. Which editor will create html, css and php files? I am using Visual Studio 15; however, I need to pay for the php editor.

Thanks

Mark

5 Answers

Alden Thorne
Alden Thorne
402 Points

I personally prefer Visual Studio Code

Mark Lawson
Mark Lawson
6,148 Points

I use Visual Studio. I have added the PHP section, as its not standard. Or it wasn't at the time. Thanks

You asked this question 2 days ago...

There isn't something like "the best IDE" or "the best editor". Some people theses days even still run EMacs or Vi. Some still say that Notepad++ is the best ever created.

Its just as always => personal preference...

Most of the functions in the new IDEs and Editors are nice to have but not really needed. If someone wants to write HTML the does not need hundred of plugins (in fact my editor crashed A LOT while i was working because of stupid third party stuff).

For such simple stuff like html/css/js you can almost use anything.

For PHP i would recommend Netbeans since there is a way to debug your PHP with Netbeans and its free...also its pretty common for people who dont want to run PHPStrom

Mark Bojesen
Mark Bojesen
12,873 Points

Both Sublime Text 3.0 ( https://www.sublimetext.com/3 ) and Atom ( https://atom.io/ ) are free and really popular. Btoh comes with a ton of nice looking themes and plugins for just about everything.

Andrew G
Andrew G
7,541 Points

Visual Studio CODE is outstanding, has fantastic inline PHP debugging built in (as well as most other languages), pop up documentation on functions and elements for the language your working with, as well as integrating terminal access for running and testing your .php scripts, and GIT integration. Also used by many experienced pros. I'd recommend that one.

Mikkel Rasmussen
Mikkel Rasmussen
31,769 Points

The best IDE for web is phpstorm but it's also cost money:

https://www.jetbrains.com/phpstorm/

Best free code editor is after my opinion brackets just make sure you download a color scheme that you like.

Main: http://brackets.io/

Color schemes: https://brackets-themes.github.io/