每次我在 Mac 上打开 Eclipse (STS) 时,它都会恢复为全新安装

Eclipse (STS) reverts to being a fresh instal every time I open it on my Mac

我最近开始使用 mac。我下载了 STS 并开始在其中编码。我安装了几个我需要工作的插件。经过一天的工作,我关闭并在第二天启动它,突然间它再次询问工作区位置,即使我检查了默认位置,也不要再问复选框最后一次我选择了工作区位置并选中了复选框又一次,现在我前一天安装​​的插件不存在了,我不得不重新安装它们,而且每天都是一样的。谁能帮我们解决这个问题?

这是 Mac Os Sierra 上的一个已知问题。我自己不是 Mac 用户,对细节不太熟悉,但这与 Mac OS 的安全功能有关,它试图 'sandbox'应用程序通过随机化他们的启动位置。这使得 STS / Eclipse 认为它是全新安装,无法找到之前保存的任何设置/状态。

您可以在 "Known Issues" 下的 STS New and Noteworthy 中找到更多信息。

也许这些是最重要的信息片段:

If you unpackage the STS archive on macOS Sierra and use it without moving it to a different location on your drive, macOS Sierra Gatekeeper activates a security feature called "Path Randomization" for the app

...

As a workaround, please move the STS.app bundle to a different location on your drive before starting it.