Sublime Forum

Node.js intellisense

#1

Hello guys.
Is there any way I can add node.js intellisense in the editor?
Thank you.

0 Likes

#2

Nodejs ‘intellisense’ is available via SublimeCodeIntel.

Add the following to your user settings file:

{ "codeintel_syntax_map": { "JavaScript": "Node.js" }}

0 Likes

#3

I still don’t get any help after the dot.
For example after writing response and press the dot I get nothing.
(I added the code to the user settings as you advised)
Thank you.

var http = require('http');

var server = http.createServer(function(request, response)) {
	response.writeHead(200, {
		'Content-type': 'text/plain'
	});

	response.
}
0 Likes

#4

This github.com/Kronuz/SublimeCodeIntel#readme is re-indexing the js files on every keyup. Are there any other choices?

Thanks

0 Likes