A few extra functions for projectile
You can use projectile-extras as a supplement to projectile for a few extra functions.
Save the file projectile-extras.el to disk and add the directory containing it to load-path
using a command in your .emacs file like:
(add-to-list 'load-path "~/.emacs.d/")
The above line assumes that you've placed the file into the Emacs directory '.emacs.d'.
Start the package with:
(require 'projectile-extras)
Note: You must have projectile for projectile-extras to work as it is an extension to it.
If you have Marmalade added as a repository to your Emacs, you can just install projectile-extras with
M-x package-install projectile-extras RET
Currently projectile-extras provides the following functions:
-
projectile-find-all-occurrences
Prompts for a text and lists all files in the current project containing it. -
projectile-find-all-references
Lists all files in the current project containing marked text.