如何在BlueJ中快速编译并运行?
我之前使用过 IntelliJ 和 VSC,它们都有很好的一键式解决方案来编译和运行,甚至还有键盘快捷键。但不幸的是,由于我现在没有心情进入,也无法改变,我必须在课堂上的某些项目中使用 BlueJ。
不要误会我的意思,我实际上喜欢在更简单、更小的项目上使用 BlueJ,因为它的界面简单,但是真正限制我工作速度的一件事是必须点击“编译”,右键单击测试器类,然后单击“void main”,然后点击“Okay”,每次我想测试代码。它速度很慢,并且比一个按钮或键盘快捷键花费的时间要长得多。
有没有什么方法(外部修改或其他方式)可以让我有一个更简单的方法在 BlueJ 中编译和运行代码?即使节省一两次点击次数也将不胜感激。
I've used IntelliJ and VSC before, both of which had nice one-button solutions to compile and run, even going as far as having keyboard shortcuts for it as well. But unfortunately, for reasons I'm not in the mood to get into right now, and cannot change, I have to use BlueJ for certain projects in my class.
Don't get me wrong, I actually do like using BlueJ on simpler and smaller projects with it's simple interface, but one thing that really limits the speed I work at is having to hit "Compile", right-clicking the tester class, clicking "void main", and then hitting "Okay", EVERY single time I want to test the code. It's sluggish and takes infinitely longer than one button or a keyboard shortcut.
Is there any way, external modification or otherwise, that I could have a simpler method for compiling and running code in BlueJ? Even saving on one or two of these clicks would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
编译确实有一个快捷方式,它是 ctrl + k,关闭窗口是 ctrl + w。请参阅以下链接了解可能有帮助的其他扩展
https://www.bluej.org/extensions/extensions2.html
另外,您还可以使用键盘来测试简单的程序行。
Compile does have a shortcut and it is ctrl + k and to close the window it is ctrl + w. Refer to the below link for other extensions that may be helpful
https://www.bluej.org/extensions/extensions2.html
Plus you can also use the codepad to test simple program lines.