Comments (4)
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.
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.
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.
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)
- TernError: position is outside of file HOT 1
- How to make tern auto start? HOT 2
- Using it with YouCompleteMe
- Failed to start server, only sometimes, when changing between two buffers HOT 1
- Slows down the Vim on switching between tabs and buffers HOT 6
- Tern not respecting .tern-config in home directory. HOT 1
- Share existing tern process among all vim processes?
- tern_for_vim does not work for Node React+Three.js Project HOT 1
- Threejs cannot be completed by Tern
- No maintainer? HOT 4
- Not Completing Assert-Plus HOT 1
- Tern mixing site-packages from different python versions HOT 1
- DeprecationWarning: the imp module is deprecated in favour of importlib; HOT 3
- YouCompleteMe -> Tern - Must restart server to get updated type definitions
- Why doesn't it show me the write function of writerStream? HOT 1
- Request: Commit package-lock.json or add to .gitignore HOT 1
- TernRename renames object property with same name HOT 1
- Failed to start server: [Errno 2] No such file or directory HOT 1
- Are there any maintainers for this project? HOT 1
- Nothing works
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tern_for_vim.