在线、实时、共享的 JavaScript 控制台?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10274181/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-26 09:16:23  来源:igfitidea点击:

Online, real-time, shared JavaScript console?

javascriptcollaborationjsfiddle

提问by SimplGy

I would like to use an online tool to work remotely with people to do Javascript learning and testing exercises.

我想使用在线工具与人们远程合作进行 Javascript 学习和测试练习。

The solution could be a shared, public Javascript console.

解决方案可能是共享的公共 Javascript 控制台。

Does such a thing exist? I have seen http://jsfiddle.net. This works ok, but we have to keep updating our URL every time the other person changes code so it is not real-time and requires an update step on both sides.

这样的事情存在吗?我见过http://jsfiddle.net。这可以正常工作,但是每次其他人更改代码时我们都必须不断更新我们的 URL,因此它不是实时的,并且需要双方都进行更新步骤。

I think a low-feature real-time shared console would be a pretty trivial solution to build. I'm thinking of building it myself if it doesn't exist, but I wanted to check first and see if anyone has heard of something like this.

我认为一个低功能的实时共享控制台将是一个非常简单的构建解决方案。如果它不存在,我正在考虑自己构建它,但我想先检查一下,看看是否有人听说过这样的事情。

采纳答案by SimplGy

Almost two years later, a few great alternatives exist. The real-time enhancements to jsfiddle and plunkr are great, but for this use case, I haven't found any easier than Coderpad. It's marketed for doing code interviews and saves a history. Has JS/Coffeescript/Ruby/Java and more.

差不多两年后,出现了一些很好的替代方案。jsfiddle 和 plunkr 的实时增强很棒,但对于这个用例,我没有发现比Coderpad更容易的。它的营销目的是进行代码面试并保存历史记录。有 JS/Coffeescript/Ruby/Java 等等。

回答by pomeh

Here are some links for you:

这里有一些链接供您参考:

Hope you'll find something useful in there :)

希望你会在那里找到有用的东西:)

回答by Zach Barham

This answer is 3 years late, but should help if you are still checking this post. JSFiddle now has collaboration mode- it allows you to voice chat and IM, while editing together. Just click the button in the header and set it up!
http://jsfiddle.net#collaborate

这个答案晚了 3 年,但如果您仍在查看这篇文章,应该会有所帮助。JSFiddle 现在具有协作模式- 它允许您在一起编辑的同时进行语音聊天和 IM。只需单击标题中的按钮并进行设置!
http://jsfiddle.net#collaborate

回答by limits

http://syncfiddle.net/is exactly what you're looking for. Simple clean interface that syncs real-time, but also functions as well as any other site out there. But be careful to save your code, it seems to delete your code after enough inactivity.

http://syncfiddle.net/正是您要找的。简单干净的界面可以实时同步,而且功能与任何其他站点一样。但是要小心保存您的代码,它似乎在足够不活动后删除您的代码。

回答by Nikhil Nanjappa

Try

尝试

http://jsbin.com/

http://jsbin.com/

http://jsconsole.com/

http://jsconsole.com/

JSBin is very close to what your looking for. provides HTML, CSS, JS and Console code practices.

JSBin 非常接近您的需求。提供 HTML、CSS、JS 和控制台代码实践。

JSConsole on the other hand is very simple only used for console coding ofcourse.

另一方面,JSConsole 非常简单,当然只用于控制台编码。