Jascript content assist displays more than expected

General discussion on Zend Studio

Jascript content assist displays more than expected

Postby rona2309 on Mon Oct 30, 2017 3:15 pm

I have activated Javascript content assist and it works but it does provide lot of standard methods and properties whereas I would just expect my object content to be shown.
For example with this simple object :
Code: Select all
var myApp = {
      myVar: 'my content',
      moduleAssistance: new function() { alert(this.myVar)}
   }

If I type "myApp." then a popup opens and proposes:
dir()
dir(str)
error() - object
error() - {}
hasOwnProperty(name)
...

Whereas I would like to have only:
myVar
moduleAssistance()


How can I achieve that ?

Regards

Ronan

PS: I am running ZendStudio 13.5 on a Mac.
rona2309
 
Posts: 13
Joined: Wed Nov 05, 2014 8:58 am

Return to Zend Studio

Who is online

Users browsing this forum: No registered users and 3 guests