Page 1 of 1

Jascript content assist displays more than expected

PostPosted: Mon Oct 30, 2017 3:15 pm
by rona2309
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.