TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: ChromeREPL, Interact with Chrome from Sublime Text

102 点作者 acarabott将近 7 年前

8 条评论

ivan4th将近 7 年前
I wrote a somewhat similar tool for use with Emacs many years ago, SwankJS: <a href="https:&#x2F;&#x2F;github.com&#x2F;swank-js&#x2F;swank-js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;swank-js&#x2F;swank-js</a> See this demo, for example: <a href="http:&#x2F;&#x2F;emacsrocks.com&#x2F;e11.html" rel="nofollow">http:&#x2F;&#x2F;emacsrocks.com&#x2F;e11.html</a> It was not dependent on Chrome features and even did work with IE6 at some point. Too bad REPL-based programming is not very useful for modern JavaScript. There&#x27;s a successor, though: <a href="https:&#x2F;&#x2F;github.com&#x2F;skeeto&#x2F;skewer-mode" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;skeeto&#x2F;skewer-mode</a>
评论 #17280696 未加载
mig4ng将近 7 年前
Is there a similar extension for vscode or onivim?
评论 #17285223 未加载
donquichotte将近 7 年前
While this looks awesome, it runs really slow for me. From sending a command in Sublime to the actual execution, it takes me &gt; 1s. This is on Windows 10, Sublime Text 3, Chrome 66.<p>EDIT: if I install chromeREPL, it takes ages to open the command palette (CTL+Shift+P). If I uninstall it, the problem disappears.
gitgud将近 7 年前
This looks very useful, but it does concern me that this is even possible. Simply starting chrome with a `--remote-debug` flag allows you to run JavaScript in any tab? seems like it could easily be exploited somehow; read passwords, copy userinfo etc.
评论 #17280726 未加载
评论 #17281881 未加载
评论 #17280442 未加载
h43z将近 7 年前
I&#x27;m looking for something like this but works with vim. Editing chrome snippets [1] in the dev tools is not fun.<p>[1]: <a href="https:&#x2F;&#x2F;developers.google.com&#x2F;web&#x2F;tools&#x2F;chrome-devtools&#x2F;snippets" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;web&#x2F;tools&#x2F;chrome-devtools&#x2F;snip...</a>
adriancooney将近 7 年前
This looks pretty slick, looking forward to giving it a shot. It’s nice to see Sublime get a bit of love too in the age of Atom and VS Code. The Snippets tab under the Sources section of the Dev Tools has worked well for me in the past too.
skratlo将近 7 年前
ClojureScript has this for ages (see Figwheel + Emacs + CIDER)
joelthelion将近 7 年前
Is there something similar for Firefox?
评论 #17283814 未加载