Viewing and navigating links
To view links between files in a project:
- Click Window > Show view > Links
- In the Project Explorer view, click the file for which you want to view links.
- 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.
- 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.
- To view a list of broken links or links to files outside your project, in the Web perspective click the Tasks 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 tasks list.
Related concepts
Links view