Variable: projectile--phoenix-file-kinds
projectile--phoenix-file-kinds is a variable defined in projectile.el.
Value
((:controller :suffix "_controller.ex" :key-fn projectile--phoenix-controller-key)
(:html :suffix "_html.ex" :key-fn projectile--phoenix-html-key)
(:json :suffix "_json.ex" :key-fn projectile--phoenix-json-key)
(:view :suffix "_view.ex" :key-fn projectile--phoenix-view-key)
(:live :suffix "_live.ex" :key-fn projectile--phoenix-live-key))
Documentation
Reference :file-kinds\= table for Phoenix applications.
Relates the modules of a resource by the name they share - user_controller.ex,
user_html.ex, user_json.ex, user_live.ex - wherever under lib/\= they
live, since the web directory is named after the application. :view\=
is the Phoenix 1.6 spelling that :html\= replaced in 1.7; a project
will have one or the other.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defvar projectile--phoenix-file-kinds
'((:controller . (:suffix "_controller.ex"
:key-fn projectile--phoenix-controller-key))
(:html . (:suffix "_html.ex"
:key-fn projectile--phoenix-html-key))
(:json . (:suffix "_json.ex"
:key-fn projectile--phoenix-json-key))
(:view . (:suffix "_view.ex"
:key-fn projectile--phoenix-view-key))
(:live . (:suffix "_live.ex"
:key-fn projectile--phoenix-live-key)))
"Reference `:file-kinds\\=' table for Phoenix applications.
Relates the modules of a resource by the name they share - user_controller.ex,
user_html.ex, user_json.ex, user_live.ex - wherever under `lib/\\=' they
live, since the web directory is named after the application. `:view\\='
is the Phoenix 1.6 spelling that `:html\\=' replaced in 1.7; a project
will have one or the other.")