TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Use Atom to edit in Chrome

269 pointsby tuvistavieover 9 years ago

29 comments

tuvistavieover 9 years ago
To answer the questions of the use case, here is mine. I spend quite a lot of time editing in Chrome, especially Github and StackOverflow, and found myself doing the following:<p>* Start editing in Chrome<p>* It becomes long so copy-paste to Atom and edit there<p>* Copy-paste back to Chrome<p>To avoid this, I have then be using <a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;wasavi&#x2F;dgogifpkoilgiofhhhodbodcfgomelhe" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;wasavi&#x2F;dgogifpkoil...</a> to edit directly in Chrome but thought that it would be better to use a real editor rather than a subset, which is why I created this package.<p>I have an editor opened almost all the time, so pressing a shortcut and being able to edit directly there without copy-pasting around is actually saving me some time compared to my previous workflows.
评论 #11023105 未加载
Sir_Cmpwnover 9 years ago
I use this Firefox add-on to edit text in gvim from time to time:<p><a href="https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;its-all-text&#x2F;?src=search" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;its-all-text&#x2F;...</a><p>But I don&#x27;t see the advantage of editing text areas with atom, which presents an extremely similar text editing experience compared to the experience the text area already provided. On the other hand, moving to Vim to edit a particuarly long comment or what have you makes more sense because I get to use the crazy keybindings I&#x27;ve drilled into my fingers.
评论 #11023280 未加载
评论 #11023462 未加载
评论 #11023435 未加载
评论 #11023127 未加载
评论 #11026486 未加载
评论 #11023128 未加载
lyallover 9 years ago
A similar behavior is available with edit-server[1] and the accompanying Chrome plugin[2] in Emacs.<p>[1]: <a href="http:&#x2F;&#x2F;melpa.org&#x2F;#&#x2F;edit-server" rel="nofollow">http:&#x2F;&#x2F;melpa.org&#x2F;#&#x2F;edit-server</a> [2]: <a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;edit-with-emacs&#x2F;ljobjlafonikaiipfkggjbhkghgicgoh" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;edit-with-emacs&#x2F;lj...</a>
评论 #11023425 未加载
docwhatover 9 years ago
I like this idea. As Firefox tightens its sandbox security eventually things like It&#x27;s All Text! won&#x27;t work anymore.<p>I have some bugs open on the project and maybe someday I can switch from Vim to Atom comfortably.<p>I also hear that the It&#x27;s All Text! author is lazy... every time I go home to the family. ;-)
评论 #11023609 未加载
评论 #11025938 未加载
评论 #11027499 未加载
sridcaover 9 years ago
It would be even cooler if HTML input can be edited using markdown source.<p>For eg., you compile an email in Gmail, but edit it using Markdown in Atom (or whatever editor); the final content gets rendered as HTML. Effectively you are sending HTML email that was composed and edited in Markdown.
评论 #11023053 未加载
评论 #11022959 未加载
评论 #11023141 未加载
评论 #11023363 未加载
评论 #11024077 未加载
sandisk5over 9 years ago
Use cases I thought of and I haven&#x27;t even used it or similar plugins:<p>You want to use Atom&#x27;s Markdown preview of a reddit comment or a github issue or anything else that takes Markdown.<p>You want autosave of a comment&#x2F;input in case you accidentally close the tab, navigate away, or restart your browser.<p>You want to write code in a comment&#x2F;email.<p>You want to use more advanced editing commands, things like undo-tree.
tedmistonover 9 years ago
Does anyone else jump into an editor to write emails or essays?<p>I find myself wanting simple, distraction-free plain text with no UI cruft for any writing more than a few sentences.<p>Personally I&#x27;m using either the Write Space extension for Chrome or Sublime today, but it seems like the author has the same use case, and with the added convenience of auto sync.
评论 #11023174 未加载
radarsat1over 9 years ago
It would be cool if browsers simply created easy-to-find temporary files on disk that mirror the contents of the text box, and can be copied or edited externally. Then you could use whatever editor you want, or simply copy the file to edit later. Hm.. maybe a FUSE filesystem could be used for this.
Myztiqover 9 years ago
The only real use-case I can see here is getting access to multi-select, and find&#x2F;replace utilities, or perhaps other custom shortcuts you might use. Overall a neat little trick. Atom is not my usual editor of choice but I could see a few small potential use cases.
评论 #11022829 未加载
评论 #11024162 未加载
评论 #11022855 未加载
评论 #11023071 未加载
bonaldiover 9 years ago
I love this. There used to be a TextMate plugin for Mac browsers that did the same thing (well, without the live sync).<p>Am going to use this for some aged web forms at work that have pretty hostile UX and that I often c&amp;p into rather than bother trying to type.
uxcnover 9 years ago
I&#x27;m still sad Pterosaur [1] is no longer maintained.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;ardagnir&#x2F;pterosaur" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ardagnir&#x2F;pterosaur</a>
评论 #11023203 未加载
评论 #11023208 未加载
bduerstover 9 years ago
Damn, I thought this meant Atom support on Chrome OS :(<p>There still isn&#x27;t a good text editor that does regex find and regex replace (caret doesn&#x27;t).
评论 #11023204 未加载
评论 #11023185 未加载
bsimpsonover 9 years ago
Sounds like GhostText:<p><a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;ghosttext-for-chrome&#x2F;godiecgffnchndlihlpaajjcplehddca?hl=en" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;ghosttext-for-chro...</a>
laurent123456over 9 years ago
If I need to edit outside my browser, I would normally just press Alt+Tab to switch to my text editor, type the text, then Ctrl+C, Alt+Tab, Ctrl+V. It feels about as fast and works with all web browsers and text editors.
评论 #11023240 未加载
评论 #11023196 未加载
unfamiliarover 9 years ago
I used Automator on OS X to create a system service to do something like this. Creating it was really simple - just a &quot;Run Bash Script&quot; action with &quot;&#x2F;usr&#x2F;local&#x2F;bin&#x2F;subl&quot; in it. Right clicking text anywhere in the system and choosing &quot;Edit in Sublime&quot; will open it in ST and replace the original text once you save the file.
spudfkcover 9 years ago
Cool, but not sure I&#x27;d use this. The only reason I could see this being used is if you&#x27;re writing code into a textarea that isn&#x27;t syntax-aware, or if you just really want vim keybindings when you&#x27;re typing a long email.
banjobobover 9 years ago
Could be cool to add this to a webapp with socket io. Make collaborative coding.
评论 #11028101 未加载
nickysielickiover 9 years ago
I&#x27;d be more interested in a generic solution that makes a live mapping from webkit internals to files via FUSE.<p>(I have zero experience with webkit to know if this is a reasonable undertaking.)
chiliap2over 9 years ago
This is a really cool idea, accidentally pressing my Sublime shortcuts on website forms is definitely a very common mistake for me.
评论 #11023394 未加载
weatherlightover 9 years ago
I really like the idea and atom is my editor of choice but I struggling to find a use case where I would use this day to day.
profetaover 9 years ago
i&#x27;m more interested in the screenshots window manager.<p>having been forced on a mac recently... just the fact i can&#x27;t move my windows with &lt;one key&gt;+&lt;mouse left button&gt; is driving me crazy. and to add insult, the title bar that i have to hit to move windows is smaller then anything on browsers such as chrome and firefox.
评论 #11023333 未加载
评论 #11023223 未加载
sambensonover 9 years ago
Interesting concept, but why? Why would I use this?
评论 #11023585 未加载
juandazapataover 9 years ago
Can somebody explain why would one ever want to use this? No trolling, I might be missing something here. I just don&#x27;t see any use for it right now.
评论 #11022950 未加载
评论 #11023199 未加载
boksioraover 9 years ago
nice work :) i will use it
haiwenchenover 9 years ago
nice!
bt3over 9 years ago
Very cool, but I&#x27;m struggling to see the purpose of this. The time it would take to focus on the textarea&#x2F; contenteditable field, then press the icon just to begin typing from a different program seems like a waste. Either that, or it has extremely narrow uses; none of which are readily apparent in my eyes.
mankash666over 9 years ago
The screenshots demo-ing this tool in use shows the native WYSIWYG editors in the respective sites to be more feaure rich and intuitive.<p>This seems like a fun programming exercise with little real utility.
评论 #11023095 未加载
mariusmgover 9 years ago
Wow, this is sooo.....useless. Atom is Electron which is Chrome so you can run 2 Chrome instance and sync some text between them.
评论 #11023014 未加载
rudolf0over 9 years ago
As others say, there&#x27;s no use for this.<p>It would be really cool to have some kind of a bidirectional WYSIWYG for web design. Edit a text field in a Chromium window managed by Atom, and it makes the same change in your template file (or even JSX file). Edit something in your template, and the change is instantly painted to the browser window.<p>I know this wouldn&#x27;t be trivial to implement, though.
评论 #11025419 未加载