This project is read-only.

Project Description

XML Schema for install manifest for Mozilla Add-ons. Useful for code completion in IDEs like Visual Studio.

Current Status

The new stable version is published. It includes XML schemes for install.rdf file used in Addon Manager-enabled XUL applications (Firefox, Seamonkey, Songbird to name a few) and additional files which are adding basic new file support in Visual Studio. Schema corresponding with the latest Gecko 13 version.
The schemes are fairly complete, however the regular expressions used are somewhat more permissive in general. If you find errors or you have suggestions for improvement please submit them in the issue tracker.

Instructions

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 - https://developer.mozilla.org/en-US/docs/XUL/Using_Visual_Studio_as_your_XUL_IDE.

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

Please feel free to post setup instructions for your favourite IDE in the improvement suggestions discussion thread.

Some features

  • Intellisense support
  • Documentation (from Mozilla Developer Center)
  • Validation support
  • Support for some common XUL applications
  • Localization support
  • New File support in Visual Studio
See how these features look like in my Visual Studio: Feature Screenshots

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