OpenGrok
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
|
![]() | |
Developer(s) | Sun Microsystems/Oracle Corporation |
---|---|
Stable release | 1.7.42[1]
/ 6 January 2023 |
Repository | |
Written in | Java |
Operating system | Cross-platform |
Type | Indexer and cross-referencer with Revision control |
License | CDDL |
Website | oracle![]() |
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.
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 the 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[edit]
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[edit]
References[edit]
- ^ "Release 1.7.42". 6 January 2023. Retrieved 21 January 2023.
- ^ "Supported Revision Control Systems · oracle/Opengrok Wiki". GitHub.
External links[edit]