# Adding a project reference to your project [edit]

This page describes how to add a reference to another project from your current project.

## Introduction

If you want to use a JavaScript library from another project in your current JavaScript file or project, you can add the library as a reference to your project.

## Instructions

To add a project reference to your current project:

1. In the Project View, right-click the project folder that you want to add the reference to.
2. Select Properties from the context menu.
   Aptana opens a Properties window.
3. From the tree menu on the left side of the Properties window, select Project References to display a list of possible projects to add a references.
4. From the Project References list, check the box(es) next to the project(s) that you want to add references to, and click OK.

You should now be able to use the classes and functions from the referenced project in the JavaScript files in your current project.

## Related Topics

- Creating a new Aptana project
- Importing a file into a project
- Using Open Declaration to jump to a function in your code

Retrieved from "http://aptana.com/docs/index.php/Adding_a_project_reference_to_your_project"

Category: AptanaHelp