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

projectile-complementary-dir mangles casing #1847

Closed
Lenbok opened this issue May 29, 2023 · 0 comments · Fixed by #1848
Closed

projectile-complementary-dir mangles casing #1847

Lenbok opened this issue May 29, 2023 · 0 comments · Fixed by #1848

Comments

@Lenbok
Copy link
Contributor

Lenbok commented May 29, 2023

I have defined a projectile type for R projects, which typically have their source code under a directory called R/, and unit tests in a directory called tests/testthat/.

I have added a project type like this:

  (projectile-register-project-type 'my-ess-r '("R")
                                    :compile "make"
                                    :test "make test"
                                    :src-dir "R/"
                                    :test-dir "tests/testthat/"
                                    :test-prefix "test_")

I want to use the functionality to toggle between impl and test, but it is broken.

Expected behavior

Jumping from impl R/foo.R should take me to tests/testthat/test_foo.R

Actual behavior

Jumping from impl R/foo.R takes me to TESTS/TESTTHAT/test_foo.R

Steps to reproduce the problem

Create file structure:

R
R/foo.R
tests/testthat/test_foo.R

Projectile version information

Projectile 2.8.0-snapshot

Emacs version

GNU Emacs 29.0.90

Operating system

Linux Mint.

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 a pull request may close this issue.

1 participant