All apps/GNU Global

GNU Global

global

Source code tagging system.

Runs as global, gtags|macOS, Linux|www.gnu.org

Command form

ai-draft · 2 tasks · 14 fields

Find definitions, references or matching lines using GNU Global's tag files. Building the tag database (gtags), updating and the other output tuning options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui global
Search tagsExample values, fixed in this page — nothing here reaches a terminal
Basic
Pattern*
string
Cross-reference format
--cxref
Advanced
Absolute paths
--absolute
TasksEach one presets the form for one job
Find definition
patterncxrefabsolute
Find references
patternreferencecxref
ParametersOnly these flags are editable in the form
Pattern
Symbol name or regular expression; with grep mode, the text to match.
string · positional 0
Grep lines instead of tags
boolean
--grep-g
Reference tags
boolean
--reference-r
Definitions
boolean
--definition-d
Other symbols
boolean
--symbol-s
Ignore case
boolean
--ignore-case-i
Literal search
boolean
--literal
Only current directory
boolean
--local-l
Only under directory
path
--scope-S
Absolute paths
boolean
--absolute-a
Cross-reference format
boolean
--cxref-x
Result format
enum
--resultpathctagsctags-xgrepcscope
Search all GTAGSLIBPATH tag files
boolean
--through-T
Run in directory
path
--directory-C
SourcesEvery flag above is checked against these
man
<no command> pattern: Print tags which match to pattern. By default, print definition tags. -g, --grep pattern [files]: Print all lines which match to the pattern. -a, --absolute: Print absolute path names. By default, print relative path names. -C, --directory dir: Change the directory before doing all the work including parameter analysis. -d, --definition…
manualDebian bookworm

manpages.debian.org

Before it fills your prompt, Otty checks the installed global against its version. A form that does not match your version is not offered.