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

订阅系统工匠通讯!
与最新的系统工匠新闻和更新保持同步! 阅读 Newsletter 浏览更多信息。
名称 (optional)
邮箱