Project Description

XUL Schema - Add code completion feature to your IDE when developing Firefox Add-ons.

Current Status

Full schema source and Visual Studio templates available.
The schemes are fairly complete - currently should implement all XUL features up-to Gecko 13. Most of the schema is derived from XUL_Reference on MDC and some parts by developing extensions. If you find errors or you have suggestions for improvement please submit them in the issue tracker.


To add code complete support (intellisense) for your favourite IDE just copy schema files to the appropriate schema folder. For Visual Studio the correct location would be: VS Install Folder\Xml\Schemas\
On my machine the full path is: c:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas\
This works for both full version of Visual Studio and for Express editions.

To add New File support in Visual Studio copy files from VS Integration folder to: VS Install Folder\Common7\IDE\NewFileItems\, in case of my machine that would be: c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\NewFileItems\
This only works for full version of Visual Studio.

About using Visual Studio as a XUL IDE is also article on MDC -

If you are using Eclipse IDE go to Using with Eclipse IDE.

Please feel free to post setup instructions for your favourite IDE in a discussion thread.

Some features

  • Intellisense support
  • Documentation (from Mozilla Developer Center)
  • Validation support
  • New File support in Visual Studio
See how these features look like in my Visual Studio: Feature Screenshots

Extending Schema

Current preferred way to extend schema is described in Extending Schema With Custom Tags.

Last edited Aug 15, 2012 at 9:40 PM by ondrej_donek, version 10