Open Orest58008 opened 8 months ago
Entire init.el if something outside the project registration affects it: https://pastebin.com/zxCZqPjF
Does:
(projectile-update-project-type 'dub :precedence 'high)
Make projectile pick up the expected project type?
Unfortunately, it does not
In case someone may be helped by this in the future, this is what allowed to me hard-code a project type
In .dir-locals.el
((nil . ((projectile-project-type . go))))
where go could be any of the values in this list https://github.com/bbatsov/projectile/blob/0163b335a18af0f077a474d4dc6b36e22b5e3274/projectile.el#L3252
Expected behavior
Projectile switching to projectile:dub in directories containing
dub.sdl
ordub.json
Actual behavior
Projectile doesn't switch to projectile:dub and instead is projectile:dotnet-sln (as in all projects with src/ and not under any project type)
Steps to reproduce the problem
Configure the type:
Go into a directory containing
dub.sdl
ordub.json
Don't get
dub
project typeEnvironment & Version information
Projectile version information
Projectile 2.8.0
Emacs version
29.1
Operating system
Arch Linux