Jascript content assist displays more than expected

General discussion on Zend Studio
Post Reply
rona2309
Posts: 13
Joined: Wed Nov 05, 2014 8:58 am

Jascript content assist displays more than expected

Post by rona2309 » 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.

Post Reply