File tree 3 files changed +16
-4
lines changed
3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## master (unreleased)
4
4
5
+ ### Changes
6
+
7
+ * Set ` projectile-auto-discover ` to ` nil ` by default.
8
+
5
9
## 2.9.1 (2025-02-13)
6
10
7
11
### Bugs Fixed
Original file line number Diff line number Diff line change @@ -66,9 +66,17 @@ Recursive discovery is configured by specifying the search depth in a cons cell:
66
66
(setq projectile-project-search-path '("~/projects/" "~/work/" ("~/github" . 1)))
67
67
----
68
68
69
- You can suppress the auto-discovery of projects on startup by setting
70
- `projectile-auto-discover` to `nil`. You can manually trigger the project
71
- discovery using `M-x projectile-discover-projects-in-search-path`.
69
+ You can manually trigger the project
70
+ discovery using `M-x projectile-discover-projects-in-search-path` or you can
71
+ use `projectile-auto-discover` to discover projects on the search path automatically:
72
+
73
+ [source,elisp]
74
+ ----
75
+ (setq projectile-auto-discover t)
76
+ ----
77
+
78
+ NOTE: Keep in mind the auto-discovery will be triggered every time you switch projects,
79
+ so it's probably not a good idea if you have many projects on your search path.
72
80
73
81
=== Removal of missing projects
74
82
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ A value of nil means the cache never expires."
191
191
:type '(choice (const :tag "Disabled" nil)
192
192
(integer :tag "Seconds")))
193
193
194
- (defcustom projectile-auto-discover t
194
+ (defcustom projectile-auto-discover nil
195
195
"Whether to discover projects when project switching commands are invoked.
196
196
197
197
See also `projectile-project-search-path'."
You can’t perform that action at this time.
0 commit comments