PhpStorm 忽略文件 [英] PhpStorm ignore file

查看:109
本文介绍了PhpStorm 忽略文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 webpack 将我所有的 JavaScript 编译成一个 bundle.js 文件.因此,PhpStorm 有时会运行得很慢.

I'm using webpack to compile all my JavaScript to a single bundle.js file. PhpStorm is running very slowly at times because of this.

有没有办法让 PhpStorm 一起忽略这个文件?

Is there a way for me to let PhpStorm ignore this file all together?

推荐答案

右键单击项目工具窗口中的文件,然后从上下文菜单中选择标记为纯文本.这应该可以防止 PHPStorm 检查文件.

Right click on the file in the project tool window and select Mark as plain text from the context menu. That should keep PHPStorm from inspecting the file.

您也可以反过来:如果文件被标记为纯文本,您可以右键单击并将其标记回其常规类型.

You can also do the reverse: if a file is marked as plain text, you can right click and mark it back to its regular type.

这篇关于PhpStorm 忽略文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆