Temporary “jb old” File In PHPStorm And Webstorm Causing Errors

匿名 (未验证) 提交于 2019-12-03 01:14:02

问题:

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.

So a file that looks like:

myFile.js 

would have a

myFile.js___jb_old___ 

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.

Is there anyway to prevent PHPStorm from creating these files?

回答1:

Settings/Preferences | Appearance & Behavior | System Settings | Use "safe write"



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!