如何在特定项目中禁用“初始化JS/TS语言功能"? [英] How can I disable `Initializing JS/TS Language Features` in a specific project?
问题描述
我有一个Laravel项目,在Visual Studio Code中开发它.另外,我在另一个也使用VSC的项目中拥有Angular 8的前端.我构建Angular项目,并将构建版本推送到Laravel项目中.
I have a Laravel project developing it inside the Visual Studio Code. Also I have the front-end with Angular 8 in a separate project which also use VSC. I build the Angular project and push the build version inside the Laravel project.
现在,当我在Laravel项目中工作时, VSC
始终在页脚内显示初始化JS/TS语言功能
消息,这严重影响了我的计算机的性能..
Now when I am working on my Laravel project VSC
shows Initializing JS/TS Language Features
message all the time inside the footer and it heavily impacts the performance of my computer.
当我在其他项目中使用此功能时,是否可以仅在特定项目中禁用此功能?在这种情况下,在我的Laravel项目中.
As I am using this feature in other projects, is there a way to disable this feature just in a specific project? In this case in my Laravel project.
推荐答案
为特定工作场所禁用TypeScript和JavaScript语言功能内置扩展对我有所帮助(以我为例,该扩展一直在降低计算机的性能,并且在React应用中弄乱了自动完成功能.
Disabling TypeScript and JavaScript Language Features built-in extension for a specific workplace helped to me (in my case the extension had been slowing down the performance of the machine and messing with autocomplete in React apps).
在VSCode窗口中:
In your VSCode window:
扩展名(Ctrl + Shift + X)->更多操作...->显示内置扩展名->功能-> TypeScript和JavaScript语言功能->禁用(工作区)
Extensions (Ctrl + Shift + X) -> More Actions... -> Show Built-in Extensions -> Features -> TypeScript and JavaScript Language Features -> Disable (Workplace)
然后重新加载您的VSCode.
And reload your VSCode after that.
这篇关于如何在特定项目中禁用“初始化JS/TS语言功能"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!