universal-ctags / citre

A superior code reading & auto-completion tool with pluggable backends.
GNU General Public License v3.0
326 stars 26 forks source link

inputFile in definition list #131

Closed masatake closed 1 year ago

masatake commented 2 years ago

In my experience, listing input file names is quite useful. I wonder why citre filters them out by default.

diff --git a/citre-util.el b/citre-util.el
index 556539a..dd1a6f5 100644
--- a/citre-util.el
+++ b/citre-util.el
@@ -549,7 +549,7 @@ completion can't be done."
        ;; Don't excluded "anonymous" here as such symbols can appear in typeref
        ;; or scope fields of other tags, which may be shown in an xref buffer,
        ;; so we should be able to find their definitions.
-       ,citre-filter-file-tags
+       ;,citre-filter-file-tags
        ,(if file-path
             (citre-filter-local-symbol-in-other-file file-path tags-file)
           'false)))))
AmaiKinono commented 2 years ago

You are right. I can't remember the reason why I excluded them. Maybe I didn't have a good understanding of ctags kinds when writing this.