GithubHelp home page GithubHelp logo

Comments (4)

albertosantini avatar albertosantini commented on August 16, 2024

You should add a .tern-project file containing node plugin.

For instance,

{
  "libs": [
    "browser",
    "yui"
  ],
  "plugins": {
      "node": {}
  }
}

See also the documentation:
http://ternjs.net/doc/manual.html#plugins

from tern_for_vim.

oyvindkinsey avatar oyvindkinsey commented on August 16, 2024

We don't have any issues loading modules.
On May 18, 2013 11:00 PM, "albertosantini" [email protected] wrote:

You should add a .tern-project file containing node plugin.

For instance,

{
"libs": [
"browser",
"yui"
],
"plugins": {
"node": {}
}
}

See also the documentation:
http://ternjs.net/doc/manual.html#plugins

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-18112897
.

from tern_for_vim.

oyvindkinsey avatar oyvindkinsey commented on August 16, 2024

We have multiple custom plugins, for loading and type annotation, so the
project file is all dandy :)
On May 18, 2013 11:03 PM, "Øyvind Sean Kinsey" [email protected] wrote:

We don't have any issues loading modules.
On May 18, 2013 11:00 PM, "albertosantini" [email protected]
wrote:

You should add a .tern-project file containing node plugin.

For instance,

{
"libs": [
"browser",
"yui"
],
"plugins": {
"node": {}
}
}

See also the documentation:
http://ternjs.net/doc/manual.html#plugins

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-18112897
.

from tern_for_vim.

marijnh avatar marijnh commented on August 16, 2024

should in this case be treated as show me any available properties, something which works perfectly with locally defined types.

By default, Tern will only show any available properties when at least two characters have been given. These come from the cx.props registry, which is kept with no regard to origin file, so I don't see a reason for this to break for properties from different files. Are you sure you're comparing apples to apples? (I.e. does it really work for local properties when you don't type anything after the dot?)

from tern_for_vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.