skywind3000 / skywind3000/vim-quickui

Why does quickui#tags#tagfind() function different tags with the same name?

Open
#80 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
1.2k
Forks
41
PR merge metrics
No merged PRs in 30d

Description

quickui#tags#taglist() gets all tags about tagname successful.
But quickui#tags#tagfind() removes tags leaving only one, even though thoes are tags different scope like class.

Additionally, I think searching tags in the quickui#tools#preview_tag should use existing vim functions.
Because, making ctags without -n option for "line" field is common.

Can you resolve this problem?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior in quickui#tags#tagfind() with tags sharing a name across scopes, then compare it with quickui#tags#taglist(). Read quickui#tools#preview_tag and the existing Vim tag-search functions, including behavior when ctags was generated without the -n line field. Done means same-named tags remain distinguishable and preview searching works with common ctags output.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.