-
Notifications
You must be signed in to change notification settings - Fork 347
Open
Labels
Description
Use case
I use step-based prototyping (step 1, step2, etc.)
this makes prototypes super readable
Problem
however this means that I HAVE to always hold everything in baml_src, I think it's not as elegant once you start mixing baml files with the rest of the codebase (if you know what you're doing and why holding everything in a dedicated baml_src would still make most sense for most projects)
I do however understand the value of baml_src pattern, it makes browsing 3rd party baml projects really easy
Solution spec
- Treat
baml_src/and*/the same if folder*/has*/bamlproject.toml(the same way howpyproject.tomlsignifies the root of a python project instead ofpython_src/). Keep the file empty, or you can make itbamlproject.baml, where it would be included like any other baml file. - Ignore nested baml project folders (
baml_srcwould ignore allbaml_src/**/baml_src/folders, andXfolders wherebaml_src/**/X/bamlproject.toml)
(TL;DR all I'm asking is for VSCode support for this alternate convention)
(P.S. Now that I think about it, I could probably symlink a x/* folder to a gitignored .baml/baml_src/x/*, and VSCode should pick it up (?))
htxryan