We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have the following custom project type.
(projectile-register-project-type 'custom (lambda (project-root) (and project-root (string-match "my-subproject/src/foo" project-root))) :project-file ".projectile" :test-suffix "_test"
The .projectile file lives in the foo subdir of src. I'd like to have custom has detected project type (and use the _test suffix).
.projectile
foo
src
custom
_test
The project type is generic
generic
Create a git repo with src/foo/.projectile in it. Register the above project.
src/foo/.projectile
Projectile version: 2.8.0
I did a bit of debugging and it seems the following happens:
(if (functionp marker) ;; *correctly evaluates to true* ;; the below call with dir=nil returns falsey though (and (funcall marker dir) project-type) (and (projectile-verify-files marker dir) project-type))
Should my marker function return true if the input dir is nil?
dir
nil
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
I have the following custom project type.
The
.projectile
file lives in thefoo
subdir ofsrc
. I'd like to havecustom
has detected project type (and use the_test
suffix).Actual behavior
The project type is
generic
Steps to reproduce the problem
Create a git repo with
src/foo/.projectile
in it. Register the above project.Environment & Version information
Projectile version information
I did a bit of debugging and it seems the following happens:
Should my marker function return true if the input
dir
isnil
?The text was updated successfully, but these errors were encountered: