JavaScript Content Assist - limit hints to folder containing js/HTML files?

Hello,

this is my first post to this forum as I am investigating switching my development team from eclipse to IntelliJ. The main reason for the switch is the content assist specifically for JavaScript.

I have been able to set up global libraries for items like JQuery and KendoUI and that works great. Where I seem to get lost is when I am trying together assistance for my local stuff. I seem to get too much help, which is confusing.

What I want to do is limit the content assist to only the files in the folder I am working in, and the global libraries I set up.

Assume the following project structure

webcontent/pages/application/pageone/p1.html
webcontent/pages/application/pageone/p1.css
webcontent/pages/application/pageone/p1.js
webcontent/pages/application/pageone/p1.model.js



webcontent/pages/application/pagetwo/p2.html
webcontent/pages/application/pagetwo/p2.css
webcontent/pages/application/pagetwo/p2.js
webcontent/pages/application/pagetwo/p2.model.js


when I am editing p1.js and type in "model." I get content assist from all methods on model from both p1.model.js and p2.model.js

is there a way to limit content assist to only the current folder and global libraries?  I see you are supposed to handle this via scopes, but I can't seem to figure that out.

Any responses would be greatly appreciated. Thanks in advance.

1 comment

Hi Derek.
Unfortunately, we haven't got such feature now. Please see WEB-1061 for details.

Regards,
Konstantin

0

Please sign in to leave a comment.