Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio code 角度2+;使用VS代码IntelliSense?_Visual Studio Code - Fatal编程技术网

Visual studio code 角度2+;使用VS代码IntelliSense?

Visual studio code 角度2+;使用VS代码IntelliSense?,visual-studio-code,Visual Studio Code,WebStorm似乎能够很好地识别和建议app.component.html中的方法和字段。如果我使用{{interpolation},我会获得可用字段和方法的IntelliSense,或者如果我使用未定义的字段和方法,WebStorm会让我知道。同样在app.component.ts中,如果我有一个未使用的字段,我也会知道 另一方面,VS代码似乎完全不知道app.component.ts app.component.html之间发生了什么 有没有办法解决这个问题?或者说产品还没有上市。我已尝试

WebStorm似乎能够很好地识别和建议app.component.html中的方法和字段。如果我使用{{interpolation},我会获得可用字段和方法的IntelliSense,或者如果我使用未定义的字段和方法,WebStorm会让我知道。同样在app.component.ts中,如果我有一个未使用的字段,我也会知道

另一方面,VS代码似乎完全不知道app.component.ts app.component.html之间发生了什么

有没有办法解决这个问题?或者说产品还没有上市。我已尝试将“/node\u modules/codelyzer”添加到settings.json中

而且,变老的角度自动完成是相当令人沮丧的。ng if变为
ng if=“”
,而不是
*ngIf=“”

扩展似乎确实有帮助,但不允许我从WebStorm之类的组件中查看未使用的字段。总比没有强!通过..找到它