Improvement of HTML5 support in PhpStorm & WebStorm

Posted on by eugene.kudelevsky

Recently, we’ve added a number of new features that simplify HTML5 development. Here’s a short list of their highlights:

  1. Support of HTML custom data attributes. The attributes with names that begin with data- can be used to store some custom information. WebStorm/PhpStorm IDE provides completion for such attributes when they’re used in a project:
  2. Support for Web SQL Database JavaScript API:
  3. We also added a new setting Default HTML language level ( File | Settings | Resources ). If you switch it to HTML5, IDE will consider every *.html file without specified doctype as HTML5 file, so validation and code completion (including completion and validation of custom data attributes) will work correctly:
Comments below can no longer be edited.

6 Responses to Improvement of HTML5 support in PhpStorm & WebStorm

  1. Dom says:

    September 9, 2010

    Google has been advising web developers on how to prepare sites and apps for its TV platform, and Google TV’s universal search will present web search results right next to local and cable TV content. Google TV is based on Android, which also uses Webkit as its default browser.

    xhtml training

  2. Michael says:

    September 10, 2010

    Will the additions to PhpStorm and WebStorm make it into IntelliJIDEA 9 ultimate…? I hope…

  3. weary says:

    September 11, 2010

    I notice the html5 completion behaviour is overwritten by a valid html4 doctype…nice.

  4. weary says:

    September 11, 2010

    of course, I meant overridden

  5. Eugene.Kudelevsky says:

    September 12, 2010

    @Michael Says, We don’t currently have any plans to include into IntelliJ IDEA 9.0.x, but it definitely will be available in IDEA X.

  6. Artemy Tregubenko says:

    February 15, 2011

    In my latest WebStorm 1.0.2 there’s no such setting: Default HTML language level ( File | Settings | Resources ). There’re only 2 lists: external resources and ignored resources.