临时"jb old" PHPStorm和Webstorm中的文件导致错误 [英] Temporary "jb old" File In PHPStorm And Webstorm Causing Errors

查看:190
本文介绍了临时"jb old" PHPStorm和Webstorm中的文件导致错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,我在Mac上运行Windows虚拟机,因为后端使用ASP.NET.我在Mac上使用PHPStorm进行了所有实际的前端编码(HTML,CSS,JS).为了将文件实时保存并编译"到Visual Studio,我使用了一种称为CopySauce的工具.不幸的是,此设置无法与JS文件一起使用,因为CopySauce会检测到与我正在处理的任何JS文件相关联的"jb旧"文件,然后进行查找.

I have a project where I am running a Windows virtual machine on my Mac because the back-end uses ASP.NET. I do all of the actual front-end coding (HTML, CSS, JS) with PHPStorm on my Mac. To get the files to save and "compile" to Visual Studio in real time, I use something called CopySauce. Unfortunately, this setup breaks with JS files because CopySauce detects a "jb old" file associated with whatever JS file I am working on and looks for it afterwards.

所以文件看起来像:

myFile.js

会有一个

myFile.js___jb_old___

我在Google周围搜索,看来"jb old"文件是一个由PHPStorm(可能还​​有其他JetBrains IDE)创建和删除的临时文件.因此,在检测到"jb old"文件后,只要未重新启动,CopySauce就会尝试查找该文件.这是因为"jb old"文件不再存在,CopySauce开始出错的情况.

I Googled around and it seems that the "jb old" file is a temporary file being created and deleted by PHPStorm (and probably other JetBrains IDEs). So after the "jb old" file is detected, CopySauce tries looking for it going forward as long as it's not restarted. This is when CopySauce starts erroring out since the "jb old" file no longer exists.

是否有任何方法可以防止PHPStorm创建这些文件?

Is there anyway to prevent PHPStorm from creating these files?

推荐答案

设置/首选项|外观行为|系统设置|使用安全写入"

这篇关于临时"jb old" PHPStorm和Webstorm中的文件导致错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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