Implement a better system than just checking filetypes - this is likely to fail with files such as README.md, LICENSE etc...
Could fall-back to a preference check of root_globs? I.e, check the root_globs for each project (starting with most-childed), and use the first that matches. Issue with this: It may be slow?
Other options:
Just check the extensions of other files in the directory.
Check the root_globs for the current directory.
Allow preference-projects where certain project types can automatically request that other types be checked (in the case of Markdown).
Implement a better system than just checking filetypes - this is likely to fail with files such as
README.md
,LICENSE
etc...Could fall-back to a preference check of
root_globs
? I.e, check theroot_globs
for each project (starting with most-childed), and use the first that matches. Issue with this: It may be slow?Other options:
root_globs
for the current directory.