TAGS 文件总是自动生成

最近发现 spacemacs 经常在项目中自动生成 TAGS,而且这个文件似乎是必不可少的(删除后总让我再生成

这个 TAGS 文件是哪里生成的?为什么生成的?以及该如何默认关闭这个功能?

my layers:

     ivy
     (auto-completion :variables
                      auto-completion-enable-sort-by-usage t
                      auto-completion-return-key-behavior 'complete
                      auto-completion-tab-key-behavior 'cycle
                      auto-completion-complete-with-key-sequence nil
                      auto-completion-complete-with-key-sequence-delay 0.1
                      auto-completion-enable-snippets-in-popup t
                      auto-completion-private-snippets-directory "~/.emacs.d/private/snippets/")

     git
     semantic
     (spell-checking :variables
                     spell-checking-enable-by-default nil)
     (syntax-checking :variables
                      syntax-checking-enable-by-default t)

     ;; Catalogue: tools
     imenu-list
     markdown
     docker
     (ranger :variables
             ranger-show-preview t)
     (shell :variables
            shell-default-shell 'eshell
            shell-protect-eshell-prompt t
            shell-default-height 30
            shell-default-position 'top)
     (org :variables
          org-enable-github-support t)
     ;; version-control

     ;; Catalogue: language
     emacs-lisp
     html
     shell-scripts
     ;; Ready: pip install pylint pytest yapf jedi anaconda-mode json-rpc service_factory
     (python :variables
             python-enable-yapf-format-on-save t
             python-test-runner 'pytest)
     ;; Ready: npm install eslint;; brew install tern
     javascript
     c-c++
     ;; Ready: cabal install stylish-haskell hlint hasktags ghc-mod
     haskell
     react
     go

自动生成多好,你就偷着乐去吧

:sweat_smile:

你有没有 fork 我的配置,我有在自己的配置里面配 tags 自动生成的。

没,我用的是 Spacemacs 官方 [email protected] on MacOS

System Info :computer:

  • OS: darwin
  • Emacs: 25.1.1
  • Spacemacs: 0.200.7
  • Spacemacs branch: master (rev. c2774bc0)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: ivy
  • Layers:
(ivy
 (auto-completion :variables auto-completion-enable-sort-by-usage t auto-completion-return-key-behavior 'complete auto-completion-tab-key-behavior 'cycle auto-completion-complete-with-key-sequence nil auto-completion-complete-with-key-sequence-delay 0.1 auto-completion-enable-snippets-in-popup t auto-completion-private-snippets-directory "~/.emacs.d/private/snippets/")
 git semantic
 (spell-checking :variables spell-checking-enable-by-default nil)
 (syntax-checking :variables syntax-checking-enable-by-default t)
 imenu-list markdown docker
 (ranger :variables ranger-show-preview t)
 (shell :variables shell-default-shell 'eshell shell-protect-eshell-prompt t shell-default-height 30 shell-default-position 'top)
 (org :variables org-startup-indented t org-enable-github-support t)
 emacs-lisp html shell-scripts
 (python :variables python-enable-yapf-format-on-save t python-test-runner 'pytest)
 javascript c-c++
 (haskell :variables haskell-completion-backend 'intero haskell-enable-hindent-style "gibiansky")
 sql yaml react go mp-ui mp-org mp-hacking)
  • System configuration features: JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES