Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Completion for namespaces+classes inside goog.require( ) #3

Closed
angelozerr opened this issue Jul 21, 2014 · 1 comment
Closed

Completion for namespaces+classes inside goog.require( ) #3

angelozerr opened this issue Jul 21, 2014 · 1 comment

Comments

@angelozerr
Copy link
Contributor

It should be cool if tern closure provides completion for namespaces+classes inside goog.require( )

tern provides hook for completion. I have done a PR for node module completion in ternjs/tern#348

It should be cool if you can study it and do the same thing for closure and improve too my PR.

@jgiles
Copy link
Contributor

jgiles commented Aug 9, 2014

We should be able to do this, at least for names that we already know about for other reasons.

Further down the line, we could look at populating the global namespace with all the names a file finder encounters, but we would want to keep that behind an option to avoid crowding the global namespace in large projects.

jgiles added a commit that referenced this issue Aug 19, 2014
This provides completions within JSDoc comments and strings for
qualified names.

Because of marijn/tern#373, there is an issue where lots of extra
results are returned with completion requests, limiting the usefulness
of this functionality.
jgiles added a commit that referenced this issue Aug 19, 2014
This provides completions within JSDoc comments and strings for
qualified names.

Because of ternjs/tern#373, there is an issue where lots of extra
results are returned with completion requests, limiting the usefulness
of this functionality.
@jgiles jgiles closed this as completed in 902e030 Aug 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants