Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "VJET/Importing VJET ANVILs"
< VJET
m (VJET/Importing VJET JavaScript Type Libraries moved to VJET/Importing VJET ANVILs: Rename Type libraries to ANVILs) |
|||
Line 39: | Line 39: | ||
− | [[Category:VJET| | + | [[Category:VJET|ANVIL]] |
Revision as of 15:27, 20 March 2013
Most developers will want to use 3rd party JavaScript libraries with VJET JS IDE. VJET JavaScript publishes type libraries for a few commonly used JavaScript libraries. VJET JS type libraries are published as Eclipse projects, imported into the Eclipse workspace, then referenced using the VJET JS IDE code assist features.
Download VJET JavaScript Type Libraries
[Download the VJET JavaScript Type Library projects] you want to use:
- Node.js
- jQuery
- Dojo
- JSON
- Canvas
Import Type Library Projects into Eclipse
- In Eclipse, select File > Import
- In the Import wizard select General > Existing Projects Into Workspace
- Select Next
- Select Select archive file, then press Browse and select the project you want to import. You can only select one project at a time.
- Select Finish. The imported VJET Type Library project appears in the Explorer. In order to reference the types, you must update your project's build path.
Update Your Project's Build Path
- Right-Click on your project; select Build Path -> Configure Build Path
- In the Projects tab, press Add and select the type library projects you want to add. (Only VJET Projects are listed in this dialog)
- Select OK *-> Finish*. The type libraries are added to the project's build path.
- Once added to the build path, you can use the code assist features.