Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix #1500] Add support for recursive project discovery #1680

Merged
merged 1 commit into from Jun 29, 2021

Conversation

juergenhoetzel
Copy link
Contributor

@juergenhoetzel juergenhoetzel commented Jun 27, 2021

Extend type of projectile-project-search-path to allow elements of
form (DIRECTORY . DEPTH) to discover projects at the specified depth.

  • The commits are consistent with our contribution guidelines
  • You've added tests (if possible) to cover your change(s)
  • All tests are passing (eldev test)
  • The new code is not generating bytecode or M-x checkdoc warnings
  • You've updated the changelog (if adding/changing user-visible functionality)
  • You've updated the readme (if adding/changing user-visible functionality)

Thanks!

@bbatsov
Copy link
Owner

bbatsov commented Jun 28, 2021

The suggested change seems reasonable, although it definitely has to be documented, otherwise I doubt that anyone will ever discover it.

(when (and (file-directory-p dir) (projectile-project-p dir))
(projectile-add-known-project dir)))
subdirs))
(let ((subdirs (directory-files directory t)))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation after the let looks off. I assume you wanted to nest that dolist.

Extend type of `projectile-project-search-path` to allow elements of
form (DIRECTORY . DEPTH) to discover projects at the specified depth.
@juergenhoetzel
Copy link
Contributor Author

good points addressed:

I amended the commit and added changelog/usage sections.

@bbatsov bbatsov merged commit 7817f20 into bbatsov:master Jun 29, 2021
@bbatsov
Copy link
Owner

bbatsov commented Jun 29, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants