Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Find the ctags file in .git/tags? #77

@mathie

Description

@mathie

I'm not sure where I picked it up from, but I have a git repository template with a post-commit hook that automatically generates a tags file when I commit to, or update the repository. You can find the hooks in my dot-files, here.

Would it be possible for symbols-view to pick up this tags file? Couple of things to note:

  • the tags file is at ${PROJECT}/.git/tags; and

  • the file references in the tags file are relative to ${PROJECT}/.git (if that makes sense?) So ApplicationController's entry in the tags file is:

    ApplicationController   ../app/controllers/application_controller.rb    /^class ApplicationController < ActionController::Base$/;"      c
    

I discovered the latter when I lazily tried symlinking the existing tags file into my project root and it still wouldn't find the symbols. 😄

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions