OpenGrok

From Wikipedia, the free encyclopedia
OpenGrok
Developer(s)Sun Microsystems/Oracle Corporation
Stable release
1.7.42[1] / 6 January 2023; 21 days ago (6 January 2023)
Repository
Written inJava
Operating systemCross-platform
TypeIndexer and cross-referencer with Revision control
LicenseCDDL
Websiteoracle.github.io/opengrok/ Edit this on Wikidata

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]

  1. ^ "Release 1.7.42". 6 January 2023. Retrieved 21 January 2023.
  2. ^ "Supported Revision Control Systems · oracle/Opengrok Wiki". GitHub.

External links[edit]