botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
78 stars 87 forks source link

bp.database doesn't autosuggest #1670

Closed ptrckbp closed 1 year ago

ptrckbp commented 2 years ago

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):

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!