Closed jt-wang closed 8 years ago
That line applies +
to two values, tern_command
and tern_arguments
. Both are read from the options and default to an array. Your settings also seem to set tern_command
to an array. Yet the error message suggests that one of them ends up as a string. I can't really explain that.
@marijnh Thank you for your quick reply!
I don't know why but just manage to get it right...after add a .tern-project
file in my directory. It does help.
{
"plugins": {
"node": {}
}
}
However, sometimes I cannot get useful autocomplete for nodejs.
Tern can jump to definition
and describe
the module with require()
, which I think means tern works without error. Nevertheless, autocomplete fails time to time and sometimes it even causes timed out
popup. Do you think it is a bug or it is because the program of tern takes time to run and analyse the file?
Some type of code or dependency graphs do unfortunately still make Tern very slow. It tries to automatically cut off analysis in such a case but that system isn't terribly robust yet.
I have no idea how adding .tern-project
could have solves the issue you described, but I guess it went away, so I'm closing this.
I am now stuck at this error written in the title and google everywhere but failt to find any solution or working around.
I follow the instructions step by step,
Tern.sublime-settings -- User
.FileNotFoundError
seems solved but theTypeError: Can't convert 'list' object to str implicitly
stands there and I can not get rid of it. I found an issue on this but that doesn't implies anything for solution.Many thanks.