You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8927963
Browse filesBrowse the repository at this point in the historyBrowse files
Give the related-project commands a prefix of their own
s-p n is now the prefix for everything that works across related
projects, with each key mirroring the project-wide one a level down the
way c m does for subprojects: n p switches, n f finds a file, n s
searches. That costs the s-p n binding from 3.4.0, but three commands
scattered across n, N and s n were never going to read as one family, and
better to pay it now with three than later with more.
Switching to a sibling project and to a worktree were missing from the
menu entirely, which was easy to miss while they were the only commands
in the family.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,14 @@
8
8
9
9
### New features
10
10
11
-
-[#2160](https://github.com/bbatsov/projectile/pull/2160): Add `projectile-find-file-in-sibling-projects` (`s-p N`) and `projectile-search-in-sibling-projects` (`s-p s n`), which work across the family of related projects rather than just the one you're in.
11
+
-[#2160](https://github.com/bbatsov/projectile/pull/2160): Add `projectile-find-file-in-sibling-projects` (`s-p n f`) and `projectile-search-in-sibling-projects` (`s-p n s`), which work across the family of related projects rather than just the one you're in.
12
12
- Both are built on `projectile-find-file-in-projects` and `projectile-search-in-projects`, which take any list of projects, so a command for a group of your own is a two-line wrapper.
13
13
- A group search puts every match in one `*projectile-search*` buffer, named relative to the directory containing the group, so each one is labelled with the project it came from.
14
14
15
+
### Changes
16
+
17
+
-[#2160](https://github.com/bbatsov/projectile/pull/2160): `projectile-switch-sibling-project` moved from `s-p n` to `s-p n p`. `s-p n` is now the prefix for every command that works across related projects, with each key mirroring the project-wide one a level down, the way `c m` does for subprojects.
18
+
15
19
### Bugs fixed
16
20
17
21
-[#2157](https://github.com/bbatsov/projectile/pull/2157): `projectile-use-comint-mode` now covers the named tasks run by `projectile-run-task`, which were always given a read-only compilation buffer however it was set - so a task that needs to ask for a sudo password had nowhere to type one ([#2156](https://github.com/bbatsov/projectile/issues/2156)). Name `task` in the list, or set the option to `t`.
Copy file name to clipboardExpand all lines: doc/modules/ROOT/pages/cheatsheet.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Here's a list of the interactive Emacs Lisp functions, provided by Projectile:
16
16
| kbd:[s-p F]
17
17
| Display a list of all files in all known projects.
18
18
19
-
| kbd:[s-p N]
19
+
| kbd:[s-p n f]
20
20
| Display a list of all files in the projects related to this one - kbd:[s-p F] narrowed to the family the current project belongs to (see xref:across_repositories.adoc[Working across repositories]).
21
21
22
22
| kbd:[s-p g]
@@ -85,7 +85,7 @@ Here's a list of the interactive Emacs Lisp functions, provided by Projectile:
85
85
| kbd:[s-p s t]
86
86
| Collect the project's `TODO`/`FIXME`-style annotations into the reviewable search buffer. With a prefix argument it prompts for which keywords to search for.
87
87
88
-
| kbd:[s-p s n]
88
+
| kbd:[s-p n s]
89
89
| Search the current project and the ones related to it, collecting every match in one reviewable buffer. With a prefix argument the term is an Emacs regexp (see xref:across_repositories.adoc[Working across repositories]).
90
90
91
91
| kbd:[s-p v]
@@ -244,7 +244,7 @@ Here's a list of the interactive Emacs Lisp functions, provided by Projectile:
244
244
| kbd:[s-p W]
245
245
| Switch to another checkout of the current project's repository - a git worktree, a Jujutsu workspace, or another clone of the same upstream - showing what tells each apart (see xref:across_repositories.adoc[Working across repositories]).
246
246
247
-
| kbd:[s-p n]
247
+
| kbd:[s-p n p]
248
248
| Switch to a project related to the current one, rather than to any known project (see xref:across_repositories.adoc[Working across repositories]).
0 commit comments