# Tcl search

The Tcl searching support allows you to find declarations, references and occurrences of Tcl elements (packages, types, methods, fields). Searching is supported by an index that is kept up to date in the background as the resources corresponding to Tcl elements are changed. The Tcl search operates on workspaces independent of their build state. For example, searches can be conducted when auto-build is turned off.

The following searches can be initiated from the pop-up menus of Tcl elements:

Command | Description
References | Finds all references to the selected Tcl element
Declarations | Finds all declarations of the selected Tcl element

The scope of the search is defined as:

Workspace - all projects and files in the workspace are included in this search

Working Set - only resources that belong to the chosen working set are included in this search