开发者

Saving multiple files in Eclipse using Ctrl+s causes "The file cannot be edited"

开发者 https://www.devze.com 2023-02-01 06:01 出处:网络
I\'m regularly an IntelliJ IDEA user, but because jsTestDriver d开发者_StackOverflow中文版oesn\'t work with IDEA, I am forced to use eclipse. I am getting a very annoying error message every time I sa

I'm regularly an IntelliJ IDEA user, but because jsTestDriver d开发者_StackOverflow中文版oesn't work with IDEA, I am forced to use eclipse. I am getting a very annoying error message every time I save my javascript files with CTRL-S shortcut.

In IDEA, it just saves the files for me... and I never run into any problems ever. It is literally the most unobtrusive saving model ever, and I love it.

But with this IDE - eclipse - I have to constantly save the files manually. Anyway, I've gotten used to it, but if I am making changes to 2 or more files, when I press CTRL-S, this error message pops up 2+ times. It is so annoying.

Saving multiple files in Eclipse using Ctrl+s causes "The file cannot be edited"

Even worse, it's affecting my unit test results with jsTestDriver! Sometimes 0 tests runs, other times it crashes half-way... all because the files weren't saved.

Can anyone help me fix this? IDEA is not running at the same time either. Just STS/Eclipse.


After googling the error message it seems this is coming from org.eclipse.core.internal.resources.ResourceException. Although a bit outdated try to see whether the solution in the comments of this post solve this issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号