我已经安装了aws-sdk
并创建了一个nodejs eclipse项目,但是我似乎无法在该模块中的可用方法上自动完成
这是我的设置
我注意到它适用于http
标准库,但不适用于AWS
,适用于以下两个屏幕中的以下代码(构建并正常工作)
/**
* http://usejsdoc.org/
*/
var http = require('http');
var AWS = require('aws-sdk');
var s3 = new AWS.S3();
console.info(s3);
我也在Eclipse错误窗口中不断收到以下错误
```
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
```
此外,我注意到我似乎无法将nodeclipse项目转换为Tern项目,如下所示https://github.com/angelozerr/tern.java/wiki/Tern-Eclipse-IDE ?