Please consider to support yang file which also adds yang file type in file type selection field.
Guida contributor
Tech stack
java
Dominio
backend
Tipo issue
feature
DifficoltàQuanto dovrebbe essere impegnativa per un nuovo contributor.
3
Tempo stimatoTempo stimato per completare e verificare uno scope piccolo.
1-2 days
Stato attivitàQuanto è probabile che la issue sia ancora attiva e reviewable.
stale
ChiarezzaQuanto chiaramente la issue descrive problema, scope e risultato atteso.
mostly clear
Prerequisiti
Java basicsOpenGrok internals
Adatta ai principiantiQuanto la issue è adatta a contributor alla prima esperienza.
30
Direzione di ricerca
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.