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
When i require built in node modules like: path, http, ... i get all possible completion items on them after hitting . ( | is cursor position ):
varpath=require('path');path.|// <-- Here i get all possible items as soon as i hit DOT
But if i require a module like: lodash i get nothing!
varlodash=require('lodash');lodash.|// <-- Here i get nothing after hitting DOT // Also manually feed <C-x><C-u> echos 'pattern not found'
Even using modules just do completions First Time that i require them, and if i close vim and come back to edit same file i don't get completions anymore: foo.js
module.exports={version: '0.1.0'}
app.js
varfoo=require('./foo');foo.|// <-- Here i get *version* just first time if i directly come from foo and require it// and if i close vim and come back i get: 'pattern not found' on hitting DOT// or <C-x><C-u> manually.
The text was updated successfully, but these errors were encountered:
dNitro
changed the title
Javascript module completion just completes core modules.
Javascript module completion just completes core modules
Nov 27, 2016
dNitro
changed the title
Javascript module completion just completes core modules
Node module completion just completes core modules
Nov 27, 2016
When i require built in node modules like:
path
,http
, ... i get all possible completion items on them after hitting.
(|
is cursor position ):But if i require a module like: lodash i get nothing!
Even using modules just do completions First Time that i require them, and if i close vim and come back to edit same file i don't get completions anymore:
foo.js
app.js
The text was updated successfully, but these errors were encountered: