[英]In IntelliJ IDEA, how can you filter JS files out of “Find Usage” results when using TypeScript?
Is there a way to configure IntelliJ IDEA so that when you transpile code from TypeScript to Javascript, it ignores the Javascript files in search results and most importantly omit them in Find Usages results? 有没有一种方法可以配置IntelliJ IDEA,以便当您将代码从TypeScript转换为Javascript时,它会忽略搜索结果中的Javascript文件,最重要的是在“ 查找用法”结果中忽略它们。
In doing so, however, it would also be important to keep JS results that are NOT transpiled from TypeScript (ie: the ones originally written in JS, not TS). 但是,这样做时,保持未从TypeScript转换的JS结果(即:最初用JS而不是TS编写的结果)也很重要。
在Angular2-typescript项目上工作时如何在WebStorm中隐藏.js和.map文件通过使用此处所述的第一个答案,您可以排除本机JS文件,并似乎包含所有其他JS文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.