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
I noticed that it works for http standard library, but not for AWS in the following code (which builds and works fine) in the following two screen
/**
* http://usejsdoc.org/
*/
var http = require('http');
var AWS = require('aws-sdk');
var s3 = new AWS.S3();
console.info(s3);
http auto complete working
aws auto complete not working (as I can't find S3 or STS
also i keep getting the following error in eclipse error window
```
eclipse.buildId=4.8.0.I20180611-0500
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.javascript.product
Command-line arguments: -data file:/home/abarik/eclipse-workspace/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.javascript.product
tern.eclipse.ide.core
Error
Sat Dec 01 20:37:36 MST 2018
TernError: No type found at the given position.
tern.TernException: TernError: No type found at the given position.
at tern.server.DefaultResponseHandler.getData(DefaultResponseHandler.java:45)
at tern.server.protocol.TernResultsProcessorsFactory.makeRequestAndProcess(TernResultsProcessorsFactory.java:43)
at tern.eclipse.ide.internal.core.resources.IDETernServerAsyncReqProcessor.run(IDETernServerAsyncReqProcessor.java:104)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
Caused by: tern.TernException: TernError: No type found at the given position.
at tern.server.nodejs.NodejsTernHelper.makeRequest(NodejsTernHelper.java:86)
at tern.server.nodejs.NodejsTernServer.makeRequest(NodejsTernServer.java:163)
at tern.server.nodejs.NodejsTernServer.request(NodejsTernServer.java:127)
at tern.server.protocol.TernResultsProcessorsFactory.makeRequestAndProcess(TernResultsProcessorsFactory.java:42)
... 2 more
```
paulvi
changed the title
nodeclipse auto-complete not working on installed packages (aws-sdk)
nodeclipse auto-complete not working on installed packages (aws-sdk) // Tern.java?
Dec 3, 2018
Thanks but just in general, why doesn't nodeclipse do auto-complete (or is there any other way to do auto-complete other than tern.js) or its that, something tern.js does and probably thats where the error I am getting at
But to do completion of some js package a knowledge or analysis of that package is required.
That is huge work, and tern.java is using tern.js for that.
I have installed
aws-sdk
and create a nodejs eclipse project, but i can't seem to get auto-completion on available methods in the modulehere is my setup
I noticed that it works for
http
standard library, but not forAWS
in the following code (which builds and works fine) in the following two screenhttp auto complete working
aws auto complete not working (as I can't find
S3
orSTS
also i keep getting the following error in eclipse error window
ALso, i noticed that i can't seem to convert my nodeclipse project to Tern Project as shown here https://github.com/angelozerr/tern.java/wiki/Tern-Eclipse-IDE
?
The text was updated successfully, but these errors were encountered: