https://www.boundaryml.com logo
🟡 Breaking out a separate thread for a Discord li...
# questions
b
Those error messages are red herrings if you're in vscode/cursor
Can I ask what tooling issue you're seeing?
m
Hi @baml-sam After some investigating, I believe this may be a PEBKAC issue but I think explaining it may help build up documentation so it is slightly more obvious. First I was trying to just open a baml file as a "scratch" file. That causes those LSP issues and a pop up that led me here first. Next I tried just putting the
.baml
file in a directory and opening that dir. That doesn't crash the LSP but you don't get the playground. Ultimately I made a
baml_src
put the src there and of course had I followed convention the LSP would've worked originally. Apologies for not trying all of that first. Thanks for the support. Wanted to make sure I didn't leave the thread hanging.
b
No worries, appreciate the followup!
I totally hear you: we definitely need to do work on this to make the new user experience better, because none of this is obvious out of the box. Fortunately, we've already got backlog items to warn people about
.baml
files not in
baml_src
repos and to clean up the warning log messages.
It does occur to me that the "failed to fetch playground" issue will definitely be an issue for other users, just not vscode/cursor users, so it's good to know that it happened in the wild