Improvement of HTML5 support in PhpStorm & WebStorm

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:
This blog is permanently closed.

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

 
This entry was posted in Cool Feature, PhpStorm, WebStorm and tagged , , , , , . Bookmark the permalink.

6 Responses to Improvement of HTML5 support in PhpStorm & WebStorm

  1. Dom says:

    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:

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

  3. weary says:

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

  4. weary says:

    of course, I meant overridden

  5. Eugene.Kudelevsky says:

    @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. 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.

Comments are closed.