Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add projectile-add-and-switch-project command#1973

Open
bbatsov wants to merge 1 commit intomaster from
feature/1697-add-and-switch-project
Open

Add projectile-add-and-switch-project command #1973
bbatsov wants to merge 1 commit intomaster from
feature/1697-add-and-switch-project

Conversation

@bbatsov
Copy link
Owner

@bbatsov bbatsov commented Feb 15, 2026

Summary

  • Adds projectile-add-and-switch-project command that prompts for a directory, adds it to known projects, and immediately switches to it
  • Similar to project.el's "choose a directory" workflow
  • Also added to the Projectile menu under Projects

Closes #1697

Test plan

  • Call M-x projectile-add-and-switch-project, select a directory — verify it's added to known projects and switched to
  • Verify the directory appears in projectile-switch-project afterwards

Closes #1697
Add a new command that combines projectile-add-known-project and
projectile-switch-project-by-name, allowing users to pick a directory,
register it as a known project, and switch to it in one step.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Feature] Make it possible to add and switch to a new directory (like "choose a directory" in project.el)

1 participant

Comments

AltStyle によって変換されたページ (->オリジナル) /