# Viewing and navigating links

To view links between files in a project:

1. Click Window > Show view > Links
2. In the Project Explorer view, click the file for which you want to view links.
3. To navigate through the Links view, you have the following options:
   - Click the plus (+) and minus (-) signs that are displayed preceding the file icons. The + indicates that there are more links to display. To change your view of the link relationships:
     - Click the + sign in front of an icon to expand the link hierarchy
     - Click the - to collapse the link hierarchy
     - To change the focus of the Links view, right-click on the file you want to have focus and click Become new center.
   - Using the arrow keys, you can navigate from the currently selected link. The right or left keys automatically expand a link if it can be expanded. Also, navigating left and right using the arrow keys follows the path of any expanded links in the direction you are navigating; if there are no expanded links, then the (vertical) middle link is selected.
   - Since the view does not scroll automatically to show the currently selected link, you can scroll the view using either CTRL+arrowkey to scroll the view up, down, left or right, or the Page Up and Page Down keys to scroll the view up and down.
4. You can create links between files in different projects. If you give focus to a file in a different project, the Links view changes so that only files and links in that project are shown. Files that are not in a project displayed in the Project Explorer are not shown in the Links view.
5. To view a list of broken links or links to files outside your project, in the Web perspective click the Problems tab.

   Broken links are marked with a . To place your cursor on the line of the source file where the broken link is specified, double-click the broken link element in the Problems list.

   Note: To increase the number of broken link messages that can be displayed, complete the following steps:
   1. Click Windows > Preferences > Web Tools > Links > Validation and Refactoring and increase the number in the Maximum number of links validation messages on a project field.
   2. In the Problems view, display the filter dialog, and either un-check the Limit visible items to check box or enter the same link number you specified in the previous step.

Related concepts
Links view

Related tasks
Refreshing the Links view
Fixing broken links using the Fixup link references wizard

(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.