autocomplete stops working

Post any questions regarding Installing or Upgrading to V5, including problems starting and using the Ebase Server or Designer

Moderators: Jon, Steve, Ian, Dave

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

autocomplete stops working

#1

Postby Segi » Mon Mar 14, 2016 4:41 pm

In the Ebase 5 designer I've come across an issue where the auto complete for an objects methods no longer pops up in the script editor after I type the dot after the object name.

For example:

Code: Select all

var allRows=tables.MYTABLE;
var rows=allRows.getRows();
In the 2nd line of code, when I type the dot after allRows, it doesn't display the list of methods available to the object.

I re-opened the designer then reopened the script and the problem persists. I created a new JavaScript script and the new script seems to be fine.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Mon Mar 14, 2016 5:40 pm

It can sometimes be upset by an error encountered somewhere else in the script. One way to check is to position the cursor at the start of the second line and press Ctrl Space. You should then see allRows displayed as type WebFormTable, if not the script parser doesn't know it's a table. If you paste the entire script content, we can take a look.
0 x


Who is online

Users browsing this forum: No registered users and 2 guests