New features
- #1870: Add package command for CMake projects.
- #1875: Add support for Sapling VCS.
- #1876: Add support for Jujutsu VCS.
- #1877: Add custom variable
projectile-cmd-hist-ignoredups. - Add support for Eask projects.
- #1892: Add category metadata to
completing-read. (it's used by packages likemarginaliaandembark) - #1899: Add support for xmake build utility.
- #1918: Add Zig project discovery.
- Add support for Swift project discovery.
- Introduce
projectile-global-ignore-file-patternsconfig that allows to ignore files and directories with regexp patterns. - Introduce
projectile-auto-cleanup-known-projectsoption that allows you to auto-cleanup missing projects.
Bugs fixed
- #1881: Fix
projectile-recentfwhen called outside any project. - #1915: Fix dotnet-sln project-type recognition. (check
*.slnfiles instead ofsrc/) - #1850: Ensure the presence of a project in
projectile-compilation-dir. - #1811: Revert a change to
projectile-ignored-directoriesthat had converted them into regular expressions. - #1893: Fix
projectile-discover-projects-in-directorywhen called interactively.
Changes
-
#1874: Changes
compilation-find-file-projectile-find-compilation-bufferto navigate directly to the file if already present on disk to help improve performance in scenarios where there are a large number of project directories. -
Drop support for Emacs 25.
-
Rework the caching logic. The main changes from before are:
- Each project has its own cache file
- Cache files are consulted only when you request the files of some project
This makes caching both more robust and faster, as before the cache file
for all projects was loaded when projectile-mode was enabled. -
Make the cache transient by default. (meaning it lives only in memory and is not persisted to a file)
- To enable persistent caching you need to set
projectile-enable-cachingto'persistent.
- To enable persistent caching you need to set
-
Speed-up load time by moving known projects initialization outside of
projectile-mode's init.- As a side effect the known projects will be initialized properly even if you're not using
projectile-mode. - The projects are read from disk the first time you invoke
projectile-switch-projector a similar command.
- As a side effect the known projects will be initialized properly even if you're not using
-
Introduce a common prefix for project lifecycle command keybindings:
c o->projectile-configure-projectc c->projectile-compile-projectc p->projectile-package-projectc i->projectile-install-projectc t->projectile-test-projectc r->projectile-run-project- The old keybindings will be removed in a future version of Projectile.