You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My idea is to support completion coming from an external scope like:
document.getElementById(' // here ctrl+space shows html ids
require(' // here ctrl+space shows node modules
db. // here ctrl+space shows mongo databases
Those completion must be managed by an external process (not with tern), but it should be very cool if the json result of tern completion could return a new info like
external : "findHTMLIds"
to tell that completion must be done for HTML ids with external process.
This is an interesting direction, but currently Tern can't tell you anything about the type of an argument based on the function that is being called, because information flows from such an argument value to the type of the function, and not the other way around.
Also, this is not a priority for me, and not something I plan to work on myself.
Many thank's @marijnh for your clarification. This feature is often provided by IDE like Eclipse, IntelliJ IDEA, Nebteans. Hope one day we could implement it.
I have already posted my idea at https://groups.google.com/forum/#!topic/tern-dev/Na21DTqfYfo but I think my explanation was bad.
My idea is to support completion coming from an external scope like:
Those completion must be managed by an external process (not with tern), but it should be very cool if the json result of tern completion could return a new info like
to tell that completion must be done for HTML ids with external process.
Tern def could look like this
The text was updated successfully, but these errors were encountered: