oracle/opengrok

Can opengrok provide a code snippet function

Open

#3015 aperta il 8 gen 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Java (747 fork)batch import
UIenhancementhelp wanted

Metriche repository

Star
 (4060 star)
Metriche merge PR
 (Merge medio 2g 17h) (11 PR mergiate in 30 g)

Descrizione

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.

Guida contributor