Supporting Java Objects in Javasript Editor

Maybe I missed some magic way of doing it but, it would be nice to annotate
JS variables which are java instances defined in JS Engine context so IDE
would recognoze them and do not show them all as errors and do
autocompletion on them as long as source code for java instances are part of
the project. Something like Velocity editor does when we declare context
variables in velocity file

Please sign in to leave a comment.