OpenGrok
OpenGrok is a source code search and cross reference engine. It helps programmers to search, cross-reference and navigate source code trees to aid code comprehension.
![]() | |
Developer(s) | Sun Microsystems/Oracle Corporation |
---|---|
Stable release | 1.7.31[1]
/ 22 April 2022 |
Repository | |
Written in | Java |
Operating system | Cross-platform |
Type | Indexer and cross-referencer with Revision control |
License | CDDL |
Website | oracle![]() |
It can understand various program file formats and version control histories like Monotone, SCCS, RCS, CVS, Subversion, Mercurial, Git, Clearcase, Perforce and Bazaar.[2]
The name comes from the term grok, a jargon term used in computing to mean "profoundly understand".
OpenGrok is being developed mainly by community with the help of a few engineers from Oracle Corporation (which absorbed Sun Microsystems). OpenGrok is released under the terms of the Common Development and Distribution License (CDDL).
It is mainly written in Java, with some tooling done in Python. It relies on the analysis done by Ctags. There is an official Docker image available.
Features
OpenGrok supports:
- Full text Search
- Definition Search
- Identifier Search
- Path search
- History Search
- Shows matching lines
- Hierarchical Search
- query syntax like AND, OR, field:
- Incremental update
- Syntax highlighting cross references (Xref)
- Quick navigation inside the file
- Interface for SCM
- Usable URLs
- Individual file download
- Changes at directory level
- Multi language support
- Suggester
- RESTful API
See also
References
- https://github.com/oracle/opengrok/releases/tag/1.7.31; publication date: 22 April 2022; retrieved: 3 May 2022.
- "Supported Revision Control Systems · oracle/Opengrok Wiki". GitHub.
External links