Sign In Register

How can we help you today?

Start a new topic

Module intellisense stopped working?

Eg, I have module "STRING_MOD" and all funcs are prefixed with str_. Eg, str_contains()


Normally, I can do str_ and press CTRL+SPACE to see intellisense suggestions. However, it no longer does this. Used to work a month ago?


image



To add, it's not just this -- it's everything. I realized it also includes local-scoped vars.


var foo;

fo<ctrl+SPACE> // Nothing shows. Expecting to intellisense/autocomplete to "foo"

what you need to do is have a module be declared as an object, then the autocomplete will work - i found this to be the only way.
hope this helps

 

var utilities = {
    
property1: 13,
property2 :"loremipsum",
...
func:function(){
},
...

 

Login to post a comment