Function: projectile-find-file-of-kind

projectile-find-file-of-kind is an autoloaded, interactive and byte-compiled function defined in projectile.el.

Signature

(projectile-find-file-of-kind &optional INVALIDATE-CACHE)

Documentation

Jump to a project file of a chosen file kind using completion.

Prompt for one of the current project type's file kinds (see the
:file-kinds keyword of projectile-register-project-type) and then
complete over all project files belonging to that kind. With a prefix arg INVALIDATE-CACHE invalidates the cache first.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;###autoload
(defun projectile-find-file-of-kind (&optional invalidate-cache)
  "Jump to a project file of a chosen file kind using completion.

Prompt for one of the current project type's file kinds (see the
`:file-kinds' keyword of `projectile-register-project-type') and then
complete over all project files belonging to that kind.  With a prefix
arg INVALIDATE-CACHE invalidates the cache first."
  (interactive "P")
  (projectile-maybe-invalidate-cache invalidate-cache)
  (projectile--find-file-of-kind
   (projectile--read-file-kind "Find file of kind: ")))