Comparing Project.el to Projectile

News

Comparing Project.el to Projectile

project.el is a built-in Emacs package, added somewhere around 26, which provides basic actions for managing code projects similar to Projectile.

Even though it is built in, you can install newer versions from GNU ELPA!

http://elpa.gnu.org/packages/project.html

Features to look at

Which Projectile features should we try to find equivalents for in Project.el?

  • projectile-find-file
  • projectile-switch-project
  • projectile-switch-to-buffer
  • projectile-kill-buffers -> project-kill-buffers
  • projectile-run-shell/eshell -> project-shell/eshell
  • projectile-compile-project -> project-compile
  • projectile-vc -> project-vc-dir
  • projectile-commander -> project-switch-commands?
  • projectile-replace(-regexp) -> project-query-replace-regexp
  • projectile-switch-project-action
  • projectile-{grep,rg,ag} -> project-find-regexp
  • projectile-run-(async-)shell-command-in-root -> project-(async-)shell-command
  • projectile-register-project-type -> ?

C-x p keymap is only available in Emacs 28 (or project.el 0.8.0)

Extending project.el

Enjoyed this stream? Explore our hands-on courses for deeper, structured learning on Guile Scheme and more.

Get the System Crafters Newsletter
Updates on open source tools, tutorials, and community projects. We'll also occasionally let you know about new courses and resources.
Name (optional)
Email Address