Skip to content

Conversation

zonuexe
Copy link
Member

@zonuexe zonuexe commented Nov 21, 2019

Motivation

If you are developing multiple projects on a daily basis, managing TAGS files is cumbersome. This system realizes the application of TAGS files automatically by per project setting (.dir-locals.el) or automatic detection mechanism.

How to use

The following .dir-locals.el code sets the TAGS file for each project.

((nil (php-project-root . git)
      (php-project-etags-file . (root . "TAGS")))

or

((nil (php-project-root . git)
      (php-project-etags-file . t))

Apply automatic settings without a configuration file

(custom-set-variables
 '(php-project-auto-detect-etags-file tl))

How to disable this mechanism

(custom-set-variables
 '(php-mode-enable-project-local-variable nil))

@zonuexe zonuexe merged commit d638cec into master Nov 22, 2019
@zonuexe zonuexe deleted the feature/php-project-etags-file branch November 22, 2019 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant