-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Omni complete] Missing autocomplete for Foo.
#17
Comments
You should add a .tern-project file containing node plugin. For instance,
See also the documentation: |
We don't have any issues loading modules.
|
We have multiple custom plugins, for loading and type annotation, so the
|
By default, Tern will only show any available properties when at least two characters have been given. These come from the |
When doing C-X, C-O in insert mode on the string
Foo.
with the cursor after the ., no types are suggested for types imported via eg the cjs plugins..
should in this case be treated as show me any available properties, something which works perfectly with locally defined types.By typing out the property name, and executing :TernType, Tern is able to correctly infer the type, so the cjs plugin i working properly.
Any hints as to how to debug this? The plugin we use for loading
require
d modules is close to the Node module, and is successfully resolving and passing back source for each requested module.The text was updated successfully, but these errors were encountered: