我可以保存 NetBeans 项目的状态以便恢复它吗?
Xcode 有一个方便的功能,您可以保存项目的状态并恢复到以前的版本。作为一名初中级程序员,我非常喜欢这一点——如果我尝试一些不起作用的东西,我可以删除它并轻松恢复到我更改任何内容之前的代码状态。
NetBeans中有类似的东西吗?我知道它与 SVN 等集成,但我正在独自工作,不确定本学期此时我是否有时间学习它。 “另存为”更接近我想要的。
In Xcode there's a handy feature where you can save the state of a project and revert to a previous version. As a beginning-intermediateish programmer, I like this a lot--if I try something that doesn't work, I can obliterate it and easily get back to the way my code was before I changed anything.
Is there something similar in NetBeans? I know it integrates with SVN et al., but I'm working alone and am not sure I have time to learn it at this point in this semester. "Save As" is closer to what I want.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该研究一下 Git 或 SVN。 Tortioise SVN 在 Windows 上设置起来非常简单,使用起来也不需要很长时间,但速度很慢,可能已经是过去的方式了。 GIT 非常快,对于一个人来说这是一个理想的解决方案。我托管与 Eclipse (EGit) 集成的 NetBeans 项目,这对于本地工作来说非常有用。
http://michael-bien.com/mbien/entry/netbeans_git_plugin
这似乎是几个适用于 Git 的 NetBeans 插件之一,它应该非常容易运行。您应该尽早熟悉某种形式的版本控制:它们确实让您的生活更轻松。
对于 Windows 上的 SVN:
http://tortoisesvn.net/
附注:除非你正在构建 GUI 或者你有对 NetBeans 的具体要求 我发现 Eclipse 在大多数级别上都是更好的 IDE ——如果您刚刚开始编程,那么您绝对应该检查一下它,一般来说,它的响应速度更快。
You should look into Git or SVN. Tortioise SVN is pretty easy to set up on Windows and doesn't take a long time to use, but it is slow and probably the way of the past. GIT is very quick and for a single person it is an idea solution. I host my NetBeans projects integrated with Eclipse (EGit) which is fantastic for local work.
http://michael-bien.com/mbien/entry/netbeans_git_plugin
This appears to be one of a few NetBeans plugins for Git and it should be pretty easy to run. You should get familiar with some form of version control sooner than later: they really make your life easier.
For SVN on Windows:
http://tortoisesvn.net/
On a side note:unless you're doing GUI building or you have a specific requirement for NetBeans I find Eclipse to be a better IDE on most levels--you should definitely check it out if you're just getting into programming, generally speaking it is just more responsive.