Please consider to support yang file which also adds yang file type in file type selection field.
Contributor guide
Tech stack
java
Domain
backend
Issue type
feature
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
1-2 days
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
mostly clear
Prerequisites
Java basicsOpenGrok internals
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
30
Research direction
Start by examining how existing file type analyzers are implemented in OpenGrok, particularly in the AnalysisFactory class (e.g., in the source code at https://github.com/oracle/opengrok). Look at the addition of a new Analyzer for a file type, such as how 'xml' or 'json' are handled. Then, create a YANG analyzer that reads the file extension and provides syntax highlighting. No linked PR or comments exist, so the issue is open for contribution.