Open parishrutpandey opened 1 month ago
Treemacs pulls the projects from the variable projectile-known-projects
. Start with making sure that it is filled correctly. /edit: Never mind that, I just saw that you already checked this.
The selection also depends on your current workspace - due to technical limitations any path can only be in a workspace once. It is not possible to have both a /foo and /foo/bar as projects at the same time. Depending on layout this may limit your selection severely. You can have a look at the projects treemacs considers by running
(--reject (treemacs-is-path (treemacs-canonical-path it) :in-workspace (treemacs-current-workspace))
(-map #'treemacs--unslash projectile-known-projects))
Finally AFAIK doom makes its own changes to treemacs (if you are using its module) to enforce a one-project-only workflow, so I'm not sure if what you're trying is even supposed to work at all.
Thanks for replying, I'll look into it.
Occasionaly (I can't reporoduce it), treemacs-projectile doesn't show my projectile projects and instead has just one entry in the list, "c:/Windows/System32", even though my projectile-known-projects have more. I am new to emacs. I have a mostly vanilla doom-emacs. Am I missing something?