Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add php-project-etags-file and php-project-apply-local-variables #591

Merged
merged 3 commits into from
Nov 22, 2019

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