Skip to content
rainerschuster edited this page Jun 28, 2015 · 11 revisions

Welcome to the eclipse-webidl wiki!

This project provides Xtext based tools to support working with Web IDL.

Some of the features are:

  • Syntax Coloring
  • Content Assist
  • Outline View
  • Find Usages
  • Refactor Renaming
  • Jump to Definition
  • Validation (lots of requirements are checked)
  • ... and many more

Installation

Prerequisites

  • Java 7 is required, but Java 8 is highly recommended!

Eclipse Update Site

An update site for Eclipse is provided at http://rainerschuster.github.io/eclipse-webidl/updatesite/repository/

Eclipse Mars (4.5) or higher is required.

Complete Bundle

An Eclipse bundle with preinstalled webidl plugin can be downloaded under https://github.com/rainerschuster/eclipse-webidl/releases

Getting Started

  1. Download bundle from the release section
  2. Extract downloaded bundle
  3. Start webidl
  4. Choose a workspace
  5. Create a new WebIDL project (File -> New -> WebIDL Project)
  6. Alternative: Import the sample repository project from https://github.com/rainerschuster/sample-webidl-repo (File -> Import -> Git -> Projects from Git)

Note: The files webidl.idl and typedarray.idl will be required for most projects since they define core constructs.

Create new Web IDL Files

To create new files just select File -> New -> File and enter some name like "Hello.idl" then press "Finish". Make sure to add the correct extensions ".idl", otherwise the IDE won't recognize it as a Web IDL file. Also make sure to select the "src" folder.

Screenshots

Screenshot 01