Community
Participate
Working Groups
Using the new Node.js content assist from bug 417876, I found 2 issues: 1) When member-completing on an instance of Buffer, I do not see Buffer's methods proposed (eg. readXXX, writeXXX): > /*jslint node:true */ > var mybuf = new Buffer(); > mybuf. ^ press Ctrl+Space here 2) When member-completing on the `buffer` global, the inferencer throws an exception: > /*jslint node:true */ > buffer. ^ press Ctrl+Space here FWIW, I can manually require("buffer") and assign it to a variable, which then shows the expected fields. In practice though, Node developers just reference the globals, so we need them to work.
Thanks for testing this out! I have a branch and commit that fixes this issue here. Branch: https://github.com/msridhar/orion.client/tree/node-buffer-fix Commit: https://github.com/msridhar/orion.client/commit/36d0b88bdd750e34435a6a394dbbb3546ac61577 Let me know if you still see problems.
Great! Thanks for the fix. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=d105e22