GR:Gravity/Xref
XREF
Xref is a fast and usable source code search and cross-reference engine. Xref helps with searching, cross-referencing, and navigating project sources. It understands more than 35 program file formats (C#, PHP, Java, Scala, JavaScript, HTML, SQL, etc.) and can index files not recognized by their extension as plain text files, allowing (free) text search on these files.
Gravity utilizes a project-centric approach to cross-referencing. This means that Gravity prepares a project directory, which can contain for example a Git or Subversion repository, and feeds these projects to the Xref indexer which takes care of indexing the sources in the project directories for cross-referencing. Gravity not only prepares the project directories it will also keep these directories synchronized with their remote counterparts. The server does this by polling the remote locations for changes at a fixed interval. If a change is detected then the corresponding project directory will be updated and re-indexed. Within the Xref configuration, a project directory translates to an Xref location. Each configured location has a unique location name that corresponds to the aforementioned project directory.
Xref Setup
Source Locations
- Location Groups
- Creating a Location
- Edit a Location
- Remove a Location
- Test a Location
- Refresh/Reload a Location
- Create Location from TD/OMS
- Location Status
- Advanced and SSL Settings
Queries: Searching the sources
- Simple Queries
- The Results View
- Enhancing a Simple Query
- Advanced Searching
- Simple Examples
- Query Definitions