Title: nodeclipse auto-complete not working on installed packages (aws-sdk) // Tern.java? · Issue #228 · Nodeclipse/nodeclipse · GitHub
Open Graph Title: nodeclipse auto-complete not working on installed packages (aws-sdk) // Tern.java? · Issue #228 · Nodeclipse/nodeclipse
X Title: nodeclipse auto-complete not working on installed packages (aws-sdk) // Tern.java? · Issue #228 · Nodeclipse/nodeclipse
Description: 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 module here is my setup Eclipse IDE for JavaScript and Web Developers Version: Photon Release (4.8.0) Build...
Open Graph Description: 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 module here is my setup Eclipse IDE for JavaScript and Web Develope...
X Description: 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 module here is my setup Eclipse IDE for JavaScript and Web Deve...
Opengraph URL: https://github.com/Nodeclipse/nodeclipse/issues/228
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"nodeclipse auto-complete not working on installed packages (aws-sdk) // Tern.java?","articleBody":"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 module\r\n\r\nhere is my setup\r\n\r\n1. Eclipse IDE for JavaScript and Web Developers Version: Photon Release (4.8.0) Build id: 20180619-1200\r\n2. eclipse plugin: nodeclipse 1.0.2\r\n3. eclipse plugin: javascript development tools-2.1.1\r\n2. nodejs 0.13.0\r\n3. installed tern.js IDE from marketplace: https://github.com/angelozerr/tern.java/wiki/Tern-Eclipse-IDE\r\n\r\nI 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\r\n\r\n /**\r\n * http://usejsdoc.org/\r\n */\r\n var http = require('http');\r\n var AWS = require('aws-sdk');\r\n var s3 = new AWS.S3();\r\n console.info(s3);\r\n\r\nhttp auto complete working\r\n[![http auto complete working][1]][1]\r\n\r\naws auto complete not working (as I can't find `S3` or `STS`\r\n[![aws auto complete not working][2]][2]\r\n\r\n\r\n [1]: https://i.stack.imgur.com/L9IoN.png\r\n [2]: https://i.stack.imgur.com/9xE33.png\r\n\r\n\r\nalso i keep getting the following error in eclipse error window\r\n\r\n ```\r\n eclipse.buildId=4.8.0.I20180611-0500\r\n java.version=1.8.0_181\r\n java.vendor=Oracle Corporation\r\n BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US\r\n Framework arguments: -product org.eclipse.epp.package.javascript.product\r\n Command-line arguments: -data file:/home/abarik/eclipse-workspace/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.javascript.product\r\n \r\n tern.eclipse.ide.core\r\n Error\r\n Sat Dec 01 20:37:36 MST 2018\r\n TernError: No type found at the given position.\r\n \r\n tern.TernException: TernError: No type found at the given position.\r\n \tat tern.server.DefaultResponseHandler.getData(DefaultResponseHandler.java:45)\r\n \tat tern.server.protocol.TernResultsProcessorsFactory.makeRequestAndProcess(TernResultsProcessorsFactory.java:43)\r\n \tat tern.eclipse.ide.internal.core.resources.IDETernServerAsyncReqProcessor.run(IDETernServerAsyncReqProcessor.java:104)\r\n \tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)\r\n Caused by: tern.TernException: TernError: No type found at the given position.\r\n \tat tern.server.nodejs.NodejsTernHelper.makeRequest(NodejsTernHelper.java:86)\r\n \tat tern.server.nodejs.NodejsTernServer.makeRequest(NodejsTernServer.java:163)\r\n \tat tern.server.nodejs.NodejsTernServer.request(NodejsTernServer.java:127)\r\n \tat tern.server.protocol.TernResultsProcessorsFactory.makeRequestAndProcess(TernResultsProcessorsFactory.java:42)\r\n \t... 2 more\r\n \r\n \r\n ```\r\n\r\nALso, 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\r\n?\r\n\r\n","author":{"url":"https://github.com/iamtennislover","@type":"Person","name":"iamtennislover"},"datePublished":"2018-12-02T17:44:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/228/nodeclipse/issues/228"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9acc48f2-4643-a5da-74dc-c9eeede812b8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4E8:2A6262:3ACB123:4C2E019:697509BA |
| html-safe-nonce | a33844fa67cc3cb4e2219b6d206af5e91501025d35c4a967f09d4d51d967491b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEU4OjJBNjI2MjozQUNCMTIzOjRDMkUwMTk6Njk3NTA5QkEiLCJ2aXNpdG9yX2lkIjoiMzYwMTIzMDI4MDM0ODgxOTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fdba865dda978b2a1db176304093ac07c0147bfe84228691614798a97f39c85e |
| hovercard-subject-tag | issue:386581955 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Nodeclipse/nodeclipse/228/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eeb9b4e6fb7118c2e2f4eb45bcdfa869baf25cdfef068944a6780bd6517396b9/Nodeclipse/nodeclipse/issues/228 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eeb9b4e6fb7118c2e2f4eb45bcdfa869baf25cdfef068944a6780bd6517396b9/Nodeclipse/nodeclipse/issues/228 |
| og:image:alt | 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 module here is my setup Eclipse IDE for JavaScript and Web Develope... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iamtennislover |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/Nodeclipse/nodeclipse git https://github.com/Nodeclipse/nodeclipse.git |
| octolytics-dimension-user_id | 3231311 |
| octolytics-dimension-user_login | Nodeclipse |
| octolytics-dimension-repository_id | 9271598 |
| octolytics-dimension-repository_nwo | Nodeclipse/nodeclipse |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9271598 |
| octolytics-dimension-repository_network_root_nwo | Nodeclipse/nodeclipse |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width