How to setup node.js namespace


Hi, I’m using komod IDE 12 in fedora 32 gnome.

I have komodo instalaled in my home directory and I’ve installed node.js in my home directory. I would like to see autocompletions options for “require” libraries, for example doing:

const os = require(‘os’)

I read the docuemtnation: “…Specify mappings for code intelligence to use to scan for modules used in require statements. These mappings help code intelligence in projects that have non-standard module locations.”

but I don’t get it.

Thanks in advance.


Morning @alienator,

Sorry for the delay, I didn’t see your post. You’re looking for Edit menu (Komodo menu on OSX) > Preferences > Languages > Node.js > Node.js Directories or Namespace mapping it sounds like.

  • Carey