-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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
- Java 7 is required, but Java 8 is highly recommended!
An update site for Eclipse is provided at http://rainerschuster.github.io/eclipse-webidl/updatesite/repository/
Eclipse Mars (4.5) or higher is required.
An Eclipse bundle with preinstalled webidl plugin can be downloaded under https://github.com/rainerschuster/eclipse-webidl/releases
- Download bundle from the release section
- Extract downloaded bundle
- Start webidl
- Choose a workspace
- Create a new WebIDL project (File -> New -> WebIDL Project)
- 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.
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.