tern
tern copied to clipboard
A JavaScript code analyzer for deep, cross-editor language support
Hopefully I'm missing something, but seems that `TernDef` can't figure out where a definition is when working within https://github.com/nodejs/node itself. Probably because all the require's are the same as that...
Relative paths can be cumbersome. I started to use `require.main.require` and even not being perfect, it's still better than a globally defined require function. However, at least in Vim, I...
Renaming `cb` won't work in this example ``` js function foo(cb) { function bar() {} cb(); } ``` I'm using the [ternjs Atom plugin](https://github.com/tststs/atom-ternjs), so perhaps it's a problem with...
I'm seeing the following error: ``` TypeError: Cannot read property 'doc' of null ``` ..on the following line which performs a destructuring import: ``` import { AppRegistry } from 'react-native';...
On the tern demo, first I add Polymer/polymer/polymer.js and Polymer/platform/platform.js as new files. Then I make a blank file with this code: Polymer('testel', { prop1: "test", func1: function () {...
Given the following code: ``` js var _ = require('lodash'); function foo() { var x = {a: 1, b:2, c: 2}; return _.mapValues(x, function(v) { return v + 1;}); }...
Peace and safe to all! I currently need some help to get tern work for my ES6 project. ### Issue I use vim for text editing and use YouCompleteMe for...
Found that when the tern server is supplied with many 'push code' requests any subsequent 'completions' queries won't show the original suggestions and instead show the members of the object...
If you have two plugins that return a similarly named proposal, the one that was inferred or loaded first (from a definition file) is the only one that is returned,...