Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Best PHP editor with support for HTML5/CSS/JS
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Best PHP editor with support for HTML5/CSS/JS

littleguylittleguy Member
edited April 2012 in General

I have been using phpDesigner for a long time, and have been fairly happy with it.

However, the code explore and completion feature is a bit sub-par and doesn't pick up on a lot of classes.

I have been looking for a suitable replacement.

So far I've looked at Eclipse and NetBeans but they both seem to have their shortcomings. For example, I could never get syntax highlighting to work right in Eclipse when PHP is mixed with HTML content, as in templates. Netbeans has better support for remote projects and mixed PHP/HTML, but the autocompletion is a bit off sometimes. The auto formatting also gives me headaches.

What do you guys use?

I am not interested in a lightweight editor, I need full code completion and possibility to debug the code. Windows+Linux preferred, but Windows-only programs are okay.

«1

Comments

  • I use Coda which is probably the best Web IDE on the market, but its Mac-Only.

    You could try Kate? http://en.wikipedia.org/wiki/Kate_(text_editor)

  • vedranvedran Veteran

    Komodo Edit works for me

  • AdamAdam Member
    edited April 2012

    When I was on Windows I used PhpED:
    http://www.nusphere.com/products/phped.htm

    On Ubuntu I'm running Sublime Text 2 (multi-platform support):
    http://www.sublimetext.com/

    With Sublime, install "Package Control" and then you'll have access to community addons:
    (It's also quite easy to script your own addons via Sublime)
    http://wbond.net/sublime_packages/package_control

    Thanked by 1VPNsh
  • littleguylittleguy Member
    edited April 2012

    @Adam said: Sublime Text 2

    Does it have code completion? Can it show a dropdown of all available methods, variables with correct scope?

    @Adam said: PhpED

    Will look at!

  • @Adam said: On Ubuntu I'm running Sublime Text 2 (multi-platform support):

    This. I was a jEdit user, but Sublime is clean and very good.

    Thanked by 1djvdorp
  • VPNshVPNsh Member, Host Rep

    @littleguy after seeing Adam post about Sublime, I've just downloaded it.. seems to offer code completion through dropdowns :), no idea how accurate it's gonna be, but looks to be so far so good :)!

  • AdamAdam Member
    edited April 2012

    @liamwithers download the following packages (essentials):

    (You will have to restart Sublime after PackageControl, and then after installing addons)

    • PackageControl (Easily install all the packages below)
    • SublimeCodeIntel (Port of Komodo's auto-complete... It's a must!)
    • SublimeLinter (Best real-time error display. I love it more than auto-complete)
    • SFTP
    • Alignment
    • Git
    • IndentGuides
    • BracketHighlighter

    That should be enough to get you started... Oh, don't forget 'Ctrl + Shift + P'!!!
    It may take some time to explore all the features Sublime offers, but it's well worth it!

    @littleguy just give it whirl, you won't be disappointed

    Thanked by 2ElliotJ mrm2005
  • I typically just work in vi... if I have a large coding project, however, I may use Bluefish (or Notepad++ if I'm stuck with Windows)

  • @littleguy said: Windows+Linux preferred

    Geany?

    Thanked by 2djvdorp MrDOS
  • HC_RoHC_Ro Member

    Ultra Edit Studio http://www.ultraedit.com/products/uestudio/uestudio_feature_map.html

    All platforms available. I have been using it for years.

  • SimplyfastSimplyfast Member
    edited April 2012

    >

    +1
    mcedit for linux (part of mc package).

  • I'm using netbeans so far.. :)

  • joepie91joepie91 Member, Patron Provider

    @Mon5t3r said: Geany?

    I can definitely recommend Geany as well. I've been using it for quite a while and it works beautifully.

  • vim

  • Notepad++ here

    Is the only thing that makes me happy lol. It has SFTP, which is my most needed feature. It runs in linux (not always great) with Wine.

    PS: sublime has SFTP in Windows now?

  • VPNshVPNsh Member, Host Rep

    @Adam cheers man, installed all of them now :), looks like this could be fun to work with :). Usually use standard windows notepad (ikr..), but used Dreamweaver a little bit recently just for the autocompletion of stuff.. but think I could migrate to Sublime for good by the looks of things :D. Just hope that the "projects" feature works as nicely as managing sites within Dreamweaver :)

  • There is also PhpStorm ( http://www.jetbrains.com/phpstorm/ ). It has all the features you describe. Unfortunately, it's not free like some of the examples mentioned here, but it is an excellent IDE.

  • nocomnocom Member

    Notepad++ GEdit Bluefish here

  • @joepie91 said: @Mon5t3r said: Geany?

    I can definitely recommend Geany as well. I've been using it for quite a while and it works beautifully.

    Another vote for Geany. It's not only my PHP editor but my all-purpose, do-everything editor since I moved my environment to Linux.

    Thanked by 1mrm2005
  • AdamAdam Member

    @yomero said: PS: sublime has SFTP in Windows now?

    All packages are multi-OS :P
    ("SFTP" is trial based, but there is one called "Mote" which is free... Haven't tried Mote though)

    @liamwithers I sent you a PM about SublimeCodeIntel (if you're on Ubuntu then you need to follow some steps to ensure it works)

    In regards to Geany, I used it for 1year. Nothing but good things to say, but Sublime is just better (for my needs).

  • @Adam said: All packages are multi-OS :P

    Yes, but somewhere I read that it doesn't have SFTP support except on Linux.

  • Notepad++

  • AdamAdam Member

    @yomero said: Yes, but somewhere I read that it doesn't have SFTP support except on Linux.

    http://wbond.net/sublime_packages/sftp
    http://wbond.net/sublime_packages/sftp/ssh_keys

    Works with the three OS's. On Windows it uses PSFTP, on Linux and Mac it uses OpenSSH

  • yomeroyomero Member
    edited April 2012

    Thanks Adam
    I will try it :D

    (isn't any cheap huh)

  • I work in Komodo. It works just fine for my needs.

  • @Wira_Soenaryo said: I'm using netbeans so far.. :)

    Yeah Netbeans has pretty good php editing - though its quite heavy to run

  • @Adam

    Thankyou for introducing me to Sublime. It's amaaaazing o.o
    It's now my preferred IDE, cheers!

  • tommytommy Member

    Aptana Studio 3 :D

  • @Adam said: Works with the three OS's. On Windows it uses PSFTP, on Linux and Mac it uses OpenSSH

    It would extremely worry me if it wasn't using OpenSSH on Linux/Mac, its the best SSH client out there, since its also the server most the time too.

  • SpeedBusSpeedBus Member, Host Rep

    I use the default editor in WinSCP, works well ;)

Sign In or Register to comment.