html/javascript 编辑器,在您键入时显示结果
是否有一个 html/javascript 编辑器可以立即在侧窗格中显示结果,而无需保存代码、alt+tab 和刷新。不需要任何其他功能。 刚刚学习 javascript,如果有一些东西可以立即显示代码的结果,那就太好了。
这是最终的自动热键脚本,它保存、切换到 firefox、切换到第一个选项卡并重新加载:
F9::
Send ^s
Sleep, 100
if WinExist("ahk_class MozillaWindowClass")
{
WinActivate
ControlFocus, MozillaWindowClass
}
Sleep, 200
Send ^1
Send {F5}
return
Is there a html/javascript editor that shows the result in a side pane instantly without having to save the code, alt+tab and refresh . Don't need any other features.
Just learning javascript and it would be great if there was something that would show instantly the result of the code.
This is the final autohotkey script , which saves , switches to firefox , swithes to the first tab and reloads.:
F9::
Send ^s
Sleep, 100
if WinExist("ahk_class MozillaWindowClass")
{
WinActivate
ControlFocus, MozillaWindowClass
}
Sleep, 200
Send ^1
Send {F5}
return
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
http://jsfiddle.net/ 这是一个在线编辑器,对于您想要的内容来说效果相当好做。它附带了一些内置的常用库,并且很容易启动并开始工作。当我第一次开始学习 javascript 时,我发现它非常有帮助。
http://jsfiddle.net/ It's an online editor and works rather well for what it sounds like you're trying to do. It comes with some common libraries built in and it's easy to just start up and begin working. When I first started learning javascript I found it incredibly helpful.
我建议使用 Tinkerbin - http://tinkerbin.com/。它可以自动更新并保存您的工作以供以后使用。
I would suggest using Tinkerbin - http://tinkerbin.com/. It can auto update and save your work for later too.
w3schools.com 有 tryit asp 页面,可以在学习时进行练习。我发现这对初学者来说非常有帮助,刚开始接触 javascript。 JSfiddle 是另一种选择。
w3schools.com has tryit asp pages to practice while learning. I found this very helpful as a beginner when started with javascript. JSfiddle is another option.