Home Download Buy Blog Forum Support

Node.js intellisense

Node.js intellisense

Postby skiabox on Thu Mar 22, 2012 10:34 am

Hello guys.
Is there any way I can add node.js intellisense in the editor?
Thank you.
skiabox
 
Posts: 3
Joined: Thu Mar 22, 2012 10:32 am

Re: Node.js intellisense

Postby tanepiper on Thu Mar 22, 2012 12:05 pm

Nodejs 'intellisense' is available via SublimeCodeIntel.

Add the following to your user settings file:

Code: Select all
{ "codeintel_syntax_map": {
  "JavaScript": "Node.js"
}}
tanepiper
 
Posts: 68
Joined: Sun Nov 06, 2011 6:40 am

Re: Node.js intellisense

Postby skiabox on Thu Mar 22, 2012 12:50 pm

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.

Code: Select all
var http = require('http');

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

   response.
}
skiabox
 
Posts: 3
Joined: Thu Mar 22, 2012 10:32 am

Re: Node.js intellisense

Postby nikravi on Wed May 09, 2012 10:24 pm

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

Thanks
nikravi
 
Posts: 2
Joined: Fri May 04, 2012 12:09 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 15 guests