citre icon indicating copy to clipboard operation
citre copied to clipboard

Show the raw tag entry

Open masatake opened this issue 2 years ago • 1 comments

Sometimes, I would like to see the raw (original) tag entry in the xref buffer; there are cases that kind and scope are not enough.

masatake avatar Nov 24 '21 20:11 masatake

I think the best we can have is such a command: when you call it in an xref buffer, it cycles through basic display, extended display and raw display.

Basic display is what we have now.

Raw display is like what you described. Or another way may be to parse all the fields of tags, and show basic display + all other fields not in the basic display. I think we can make it looks a little more compact this way.

Extended display is basic display + fields that the user wants. These can be stored in an user option. In this mode, we can show what the user cares and avoid showing super long tagline directly.

Currently I don't have an idea how to implement this, though. I think It'll be a huge hack.

AmaiKinono avatar Nov 25 '21 00:11 AmaiKinono