Web IDE EAP (build 470)

In this Web IDE EAP build #470 we focused on PHP type inference, completion, and IDE performance.

“Type inference” means that WI actually deduces what type variables, functions and expressions have by analysing actual source code tree (not the PHPDOC @annotations).

This build adds:

  • function return type deduced from return statements, example depicted below:

function return type deduced from return statements

  • class property types (and even declarations) are extracted from constructor code:

class property types (and even declarations) are extracted from constructor code

All of that with addition of support for @global and @var annotations complements existing feature of infering variable types from assignments.

Completion improvements include

  • completion inside PHPDOC for @tag, $variable and types
  • __magic() members are omitted from fist completion if there are other methods
  • Exception subclasses only are completed in catch() clause
Other visible changes

  • removed local variables from PHP structure and HTML structure from pure PHP files
  • added add CSS live templates by default (from IDEA)

Known issues:

  • void is added to deduced type for all standard functions and methods (no workaround, will be fixed later)
  • Linux x64 users will need manually replace libyjpagent.so with x64 version see WI-301
  • we are in progress of changing build naming scheme so you will see version 90.470 in UI

See complete change-list in issue tracker.

Download Web IDE EAP build 470 for your platform from project EAP page.

-JetBrains Web IDE Team

This blog is permanently closed.

For up-to-date information please follow to corresponding WebStorm blog or PhpStorm blog.

 
This entry was posted in Early Access Preview, PhpStorm, WebStorm and tagged . Bookmark the permalink.

7 Responses to Web IDE EAP (build 470)

  1. Madis says:

    Sorry for being lazy and not searching for it myself, but does the Web IDE support git out-of-box? As I couldn’t get it working last time I tried (with previous build…).

    Anyhow, showing the type by analyzing content is cool!

    Thanks, will try out the new build now.

  2. Alexey Gopachenko says:

    Yes, WI has bundled git support. It is actively developed right now, thus some parts may be not so polished yet, but we expect major improvements during nearest development cycle.

    We trying hard to bring best technologies to PHP development.

    Do not hesitate to report any issues by any means that work for you.

  3. BaRoN! says:

    Thanks for your hard work on WebIDE, and focusing on really important autocompletion stuff.
    Code autocompletion and refactoring are brilliant in IDEA, saving lot of time and nerves – so I believe WI will evolve and grow to these highest standards.

    Any chances to get file uploading features in the next EAP?
    Thanks.

  4. Alexey Gopachenko says:

    File sync is actively developed right now. Also we plan to publish new EAP versions *often* (like weekly). Dunno who wins this round yet $)

  5. Yury Selivanov says:

    Guys,

    Seems that the search functionality has been broken since the last release.
    Short screencast: http://screencast.com/t/dOkuHuVxEjY

    Error dumps:
    http://paste.pocoo.org/show/142560/
    http://paste.pocoo.org/show/142561/
    http://paste.pocoo.org/show/142562/
    http://paste.pocoo.org/show/142564/

  6. Zico says:

    Will have a better support the indentation of Smarty?

  7. Alexey Gopachenko says:

    Eventually, yes %)
    BTW build #470 is REALLY outdated by now. Be sure to get the latest!

Comments are closed.