Use vscode to develop node, but holding down the alt key cannot jump to the definition of the code. What plug-in should be installed
漂亮男人2017-05-16 13:33:17
There should be no solution for this. Variables and functions are running around, and the IDE doesn’t know who the identifier is, and the type can’t be determined. Maybe Webstorm is better to use, go to webstorm, the code jump of vscode is too weak
我想大声告诉你2017-05-16 13:33:17
JS is not a strong type in Java. Some methods are defined using Person.prototype['xxx']. Similar to this, there are a bunch of for definitions. You need IDE to be smart enough to reach this step. It's difficult, but there are also some errors in webstorm's jump (which seems to be regular), especially in the source code library.
Unless your code is written using an es6 module, this index is relatively accurate.
Otherwise don’t believe it. . these indexes. . . .