Eclipse - 关闭而不保存工作区
有没有办法在不保存工作区的情况下关闭 Eclipse?
我使用远程驱动器,有时在打开 Eclipse 之前忘记安装该驱动器。最终,这将关闭驱动器上工作区中所有打开的项目,因为它无法访问这些源文件。为了解决这个问题,我希望能够在不保存工作空间的情况下关闭 Eclipse,安装驱动器,然后重新打开 Eclipse,所以如果有更好的方法来做到这一点,我会洗耳恭听。
作为旁注,我无法自动安装驱动器,因为它需要用户凭据才能访问,因此请不要建议这样做。
Is there a way to close Eclipse without saving the workspace?
I work with a remote drive that, on occasion, I forget to mount before I open up Eclipse. This, ultimately, closes all of the open projects I have in the workspace on the drive since it cannot reach those source files. To fix it, I'd like to simply be able to close eclipse without saving the workspace, mount the drive, and reopen eclipse so if there's a better way to do this, I'm all ears.
As a sidenote, I cannot automatically mount the drive since it requires user credentials to access so please don't suggest this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想不出办法解决这个问题。一旦项目在工作区中关闭,该状态就会保留到磁盘上,因此稍后“保存工作区”的概念不会对您有所帮助。
I can't think of a way out of this. Once the project is closed in the workspace, that state is persisted to disk, so there is no notion of "saving the workspace" later that's going to help you.