Skip to content

projectile-switch-project does not show known projects outside search path #1927

@yauhen-l

Description

@yauhen-l

Here is my projectile config:

(use-package projectile
  :ensure t
  :bind-keymap ("C-c p" . projectile-command-map)
  :config
  (setq projectile-project-search-path '("~/ws/" "~/ws-private/"))

  (setq projectile-switch-project-action 'helm-projectile)

  (projectile-mode +1))

I used to switch to my project at ~/.emacs.d a lot with C-c p p, but now this project never shows up.

I can only see projects that are in ~/ws and ~/ws-private directories.

However projects in sub-folders of those (e.g. ~/ws/subfolder/some-project) also never show up.

My projectile version installed from MELPA:


     Status: Installed in ‘projectile-20250209.605/’ (unsigned).
    Version: 20250209.605
     Commit: cdb22f6b588c8ffa508f6fda586ee1253c73490b
    Summary: Manage and navigate projects in Emacs easily.
   Requires: emacs-26.1
Required by: helm-projectile-20250207.2201, treemacs-projectile-20240131.2042
    Website: https://github.com/bbatsov/projectile
   Keywords: project convenience 
     Author: Bozhidar Batsov <bozhidar@batsov.dev>
Other versions: 20250209.605 (melpa).


Projectile is a project interaction library for Emacs.
It provides a powerful set of features operating at the project
level, as well as simple heuristics to identify projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions