bbatsov / projectile

Project Interaction Library for Emacs
https://docs.projectile.mx
GNU General Public License v3.0
4k stars 584 forks source link

Recognise pyproject.toml as project file #1912

Open slackline opened 3 weeks ago

slackline commented 3 weeks ago

PEP 518 and PEP 621 defined the pyproject.toml as the current de facto Python package specification for configuring Python packages.

Currently pyproject.toml isn't listed in the File markers table.

It would be useful if Projectile recognised these files as denoting the root of a project.

bbatsov commented 3 weeks ago

That's just a documentation issue - if you check the code, you'll see that Projectile actually supports this project type. (see https://github.com/bbatsov/projectile/blob/master/projectile.el#L3441)

Would be nice to rework a little bit the table and list the file markers there by groups of languages/ecosystems, but I haven't had much time to work on doc improvements lately.

slackline commented 3 weeks ago

:+1: Sorry for not checking the code and thanks for the pointer.

As I reordered the table in the current documentation and also thought perhaps grouping by language might be useful I could have a go at this. Will try and fit it in at some point over the coming weeks (am on holiday early November so may have some down time to do it then).