LoginSignup
3
2

More than 5 years have passed since last update.

ProjectileにRootを識別させる

Last updated at Posted at 2015-11-19

;; Projectile version: 0.13.0

Projectileでは、以下のファイルがある場所をRootと認識しています。

("rebar.config" "project.clj" "build.boot" "SConstruct" "pom.xml" "build.sbt" "gradlew" "build.gradle" "Gemfile" "requirements.txt" "setup.py" "tox.ini" "package.json" "gulpfile.js" "Gruntfile.js" "bower.json" "composer.json" "Cargo.toml" "mix.exs" "stack.yaml")

ProjectのRootとした場所に上記のファイルがない場合は、
projectile-project-root-filesに、ファイルを追加することで任意にRootを決定できます。

;; .projectrootがある場所をRootとする
(add-to-list 'projectile-project-root-files ".projectroot")
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2