How do I get auto completion working in sublime text like in JetBrains for nodeJS?

65 views
Skip to first unread message

Rou

unread,
Sep 1, 2015, 10:36:37 AM9/1/15
to nodejs
I've tried SublimeCodeIntel, TernJS, various snippets, ect. But nothing seems to be working out of the box (except an outdated snippet) so I'm wondering what I'm doing wrong? Is there something I have to configure?

Something like

fs = require('fs');
fs.

Doesn't come up with any suggestions.

How do I get autocompletion / code hinting for nodeJS similar to jetbrains webstorm in sublime text?

Adam Reynolds

unread,
Sep 1, 2015, 9:51:28 PM9/1/15
to nod...@googlegroups.com
I'll be honest and have stumped up the money for Webstorm. It just makes things that much faster. :(

--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/6b83bbef-6c59-4a37-a5c5-1018457f7a3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Denard Springle

unread,
Sep 2, 2015, 12:18:36 PM9/2/15
to nodejs
SublimeCodeIntel should do code completion for you. You may have auto-completion turned off, however. 

Here's details on code completion, in general, for Sublime text 2: https://www.sublimetext.com/docs/2/auto_complete.html

And you can use the docs for SublimeCodeIntel on the home page to manually launch code completion (Shift+Control+Space / Shift+Command+Space on OSX), and also to help with troubleshooting: http://sublimecodeintel.github.io/SublimeCodeIntel/

If you're still having issues with auto-complete, check to see if it's related to one of the bugs already logged on GitHub (https://github.com/SublimeCodeIntel/SublimeCodeIntel/issues) and, if not, file a bug.

Hope that helps!

-- Denny

Rou

unread,
Sep 2, 2015, 3:15:12 PM9/2/15
to nodejs
I feel you. I'd much rather use the light-weight sublime text, but it's starting to look like I'm going to have to make Webstorm my main nodejs / MEAN environment. :(

Rou

unread,
Sep 2, 2015, 3:15:12 PM9/2/15
to nodejs
It just says it cannot find any javascript completions in console every time. Is there something I have to do to make it reference nodeJS?
Reply all
Reply to author
Forward
0 new messages