如何用Java实现java IDE
我会知道如何使用 Java 语言实现 Java IDE。
我的 IDE 应该:
- 编译、运行和调试源代码。
- 从目录导入或导出文件。
- 允许从类图生成代码。
- 允许修改Java文本编辑器。
- 允许从中生成 Swing 源代码,我的意思是它将提供拖放功能,然后生成源代码。
- 它提供了保存、删除、撤消和重做的可能性。
- 它支持 JUnit、maven 和 Ant。
因此,我询问可以帮助我实现这个 Java IDE 的技术。如何实现这个IDE呢?
I would know how to implement a Java IDE using Java language.
My IDE should :
- compile, run and debug a source code.
- import or export file from a directory.
- allow generating code from class diagram.
- allow modifying Java text editor.
- allow generate Swing source code from, I mean it will offer a ability of drag and drop, then it generates source code.
- it gives possibility to save, delete, undo and redo.
- it support JUnit, maven and Ant.
So, I ask about technologies that will help me to realize this Java IDE. How to implement this IDE?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
除了我不确定的“药物”部分,我可以看出这不是一个微不足道的工作量,当然我会使用 Java 的 GUI API
http://en.wikipedia.org/wiki/Swing_%28Java%29
Except for the "drug" part which I am not sure of, I can tell it is not a trivial amount of work and of course I'd use the Java's GUI API
http://en.wikipedia.org/wiki/Swing_%28Java%29
不会像这里的其他人一样讽刺,所以我会尝试给出一个简短的答案。
尽管有一些非常非常成熟的 Java IDE(Eclipse、NetBeans、INTelliJ、JCreator、Codeguide 等),但您有权做另一个(谁知道有一天可能会比现有的更好)。
话虽这么说,你可以做到
零)
所有这些都支持拖放并支持创建类图...
我警告你这并不容易...一点也不容易。
Eclipse 最近经过审核,它有 apx。 4600 万 行代码
祝你好运 !
Will not be sarcastic like others around here so I will try to give a short answer.
Despite there are some very very mature Java IDE's (Eclipse,NetBeans,INtelliJ ,JCreator,Codeguide etc) around it is your right to do another (who know someday maybe better then existing ones).
This being said you can do it
zero)
All of this support drag and drop and have support for creting class diagrams...
I warn you it is not easy....not easy at all.
Eclipse was audited recently and it has apx. 46 millions line of code
Good luck !
我会节省大量时间,直接使用 Netbeans 开箱即用。执行您列出的所有操作以及更多操作。它也是免费的,并且具有模块架构,可以相当轻松地添加新功能。
I'd safe yourself loads of time and just use Netbeans out of the box. Does everything you've listed and more. It's also free and has a module architecture to allow new functionality to be added fairly easily.