Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Depending on how many times you call your methods a couple of <code>*</code> may be enough.</p> <p>Without using tags, <code>gd</code> can be used to go to the local declaration of the method under your cursor. I tend to choose the most low-tech solution usually, so I would go with this one.</p> <p>But <code>ctags</code> is also able to generate tags for a single file only or for an arbitrary selection of files. It can be done in a few steps but it's definetely not as straightforward as what you are accustomed to do…</p> <ol> <li><p>Create a file with the name(s) of the file(s) you want to scan. Let's say it's called <code>files.txt</code> and it's located at the root of your working directory.</p></li> <li><p>Generate your <code>tags</code> file using the <code>-L &lt;file&gt;</code> argument: <code>ctags -L files.txt</code>.</p></li> </ol> <p>At this point you should have a <code>tags</code> file containing only the tags present in the file(s) specified at step 1.</p> <p>Generating different <code>tags</code> files for the whole project and for single files may be useful, here. A short script generating a <code>tags</code> file named after the current file and making it the sole <code>tags</code> source may make the whole thing easier.</p> <p><em>EDIT</em></p> <p>Actually, TagList and TagBar don't generate <code>tags</code> files. The output of the <code>ctags &lt;options&gt;</code> command they run is used internally and parsed with all kinds of regexp to filter by scope or filename or whatever.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload