oracle/opengrok

Can opengrok provide a code snippet function

Offen

#3.015 geöffnet am 08.01.2020

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (747 Forks)batch import
UIenhancementhelp wanted

Repository-Metriken

Stars
 (4.060 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T 17h) (11 gemergte PRs in 30 T)

Beschreibung

Is your feature request related to a problem? Please describe. I want to add code snippet in Wiki and Confluence page, but it always add a whole file.

like: url is https://jcat-opengrok/opengrok/snippet/p1/path/Cat.java#10-20 the output only include lines from 10 to 20. No other things. no head.

Describe the solution you'd like add a function: snippet.

Describe alternatives you've considered https://jcat-opengrok/opengrok/xref/p1/path/Cat.java#10-20

Additional context Used in the other tools. or use in Html file, for example in iFrame.

Contributor Guide