JavaScript交互式shell完成 [英] JavaScript interactive shell with completion

查看:169
本文介绍了JavaScript交互式shell完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于调试和测试,我正在搜索具有自动完成功能的JavaScript shell,如果可能的话,还会搜索对象内省(如ipython)。在线 JavaScript Shell 非常好,但我正在寻找本地的东西,而不需要浏览器。

For debugging and testing I'm searching for a JavaScript shell with auto completion and if possible object introspection (like ipython). The online JavaScript Shell is really nice, but I'm looking for something local, without the need for an browser.

到目前为止,我已经测试了独立的JavaScript解释器rhino,spidermonkey和google V8。但他们都没有完成。至少带有jline和spidermonkey的Rhino通过键向上/向下具有某种命令历史记录,但仅此而已。

So far I have tested the standalone JavaScript interpreter rhino, spidermonkey and google V8. But neither of them has completion. At least Rhino with jline and spidermonkey have some kind of command history via key up/down, but nothing more.

有任何建议吗?

此问题再次被此处询问。它可能包含您正在寻找的答案。

This question was asked again here. It might contain an answer that you are looking for.

推荐答案

自1.7R2起,Rhino Shell也支持完成。您可以在此处找到更多信息。

Rhino Shell since 1.7R2 has support for completion as well. You can find more information here.

这篇关于JavaScript交互式shell完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆