botpress icon indicating copy to clipboard operation
botpress copied to clipboard

bp.database doesn't autosuggest

Open ptrckbp opened this issue 3 years ago • 0 comments

Describe the bug In the code editor of the studio bp.database. and bp.database("TABLE_NAME"). don't show any suggestions. This makes it more difficult to work with the database.

To Reproduce Steps to reproduce the behavior:

  1. Go to the code editor ( for all bots, or for a single bot )
  2. Create / edit a hook / action ( I didn't try all the combinations but after_bot_mount should reproduce it)
  3. Type bp.database. or bp.database("TABLE_NAME").
  4. nothing shows up as a suggestion

Expected behavior it should show it's capabilities

Screenshots image This is what you can see image This is the kind of list you expect to see.

Environment (please complete the following information):

  • OS: macOS
  • Browser Electron app
  • Botpress Version 12.28.1

I tried a few others and bp.database was the only one I could find that was missing suggestions, but if it's not and there is another issue, feel free to merge them!

ptrckbp avatar Jul 20 '22 13:07 ptrckbp