node.js - PhpStorm and JavaScript: I'm getting "Cannot find declaration to go to" -
i'm playing simple nodejs project in phpstorm , control-click navigation stopped working. when click on required file path, message cannot find declaration go to
. example:
var controller = require('./lib/controller');
the file there program runs without problems. , if control-click global function or object (like "require" itself), navigation works, definition of function/object opened.
it affects nodejs/javascript projects. possible disabled kind of code analysis?
i have upgraded phpstorm 7 eap (to grunt support) , 8.0.1. problem appeared somewhere during upgrades. can't tell when.
the problem nodejs plugin disabled , in case marked "incompatible" current phpstorm version. apparently, nodejs necessary navigation through require
statements.
it wasn't possible update plugin reason, reinstalled , problem fixed.
Comments
Post a Comment