13 ms·
Use Atom to edit in Chrome
- sambenson 11y agoInteresting concept, but why? Why would I use this?
- jedisct1 11y agoBecause editing text in a textarea is a horrible and frustrating experience?
- bt3 11y agoVery cool, but I'm struggling to see the purpose of this. The time it would take to focus on the textarea/ 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.
- weatherlight 11y agoI 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.
- mariusmg 11y agoWow, this is sooo.....useless. Atom is Electron which is Chrome so you can run 2 Chrome instance and sync some text between them.
- princejwesley 11y agoTwo instances of chrome is not relevant here. Read first comment for its use.
- mankash666 11y agoThe screenshots demo-ing this tool in use shows the native WYSIWYG editors in the respective sites to be more feaure rich and intuitive. This seems like a fun programming exercise with little real utility.
- tedmiston 11y agoThe utility is the lower cognitive overhead of having all the UI that you don't need hidden, responsiveness, and having more lines of text visible on one screen. Similar reasons one might use WriteRoom.
- mankash666 11y agoI'm certain WriteRoom serves a niche. If it indeed was such a pain point in, WriteRoom should've achieved the scale of a .. Evrernote? Just saying that as developers, we tend to believe that our own little quirks is how everyone on the planet likes things to be.
- rudolf0 11y agoAs others say, there's no use for this. 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. I know this wouldn't be trivial to implement, though.
- paulirish 11y agoI believe you were downvoted as its somewhat offtopic, but I wanted to share that your idea is implemented. https://developers.google.com/web/tools/setup/setup-workflow?hl=en https://developers.google.com/web/tools/setup/setup-workflow... this works today, really well. give it a shot.
- lyall 11y agoA similar behavior is available with edit-server[1] and the accompanying Chrome plugin[2] in Emacs. [1]: http://melpa.org/#/edit-server http://melpa.org/#/edit-server [2]: https://chrome.google.com/webstore/detail/edit-with-emacs/ljobjlafonikaiipfkggjbhkghgicgoh https://chrome.google.com/webstore/detail/edit-with-emacs/lj...
- blisterpeanuts 11y agoThanks, I was about to ask about Emacs. What a cool idea.
- deleted 11y ago[deleted]
- Sir_Cmpwn 11y agoI use this Firefox add-on to edit text in gvim from time to time: https://addons.mozilla.org/en-US/firefox/addon/its-all-text/?src=search https://addons.mozilla.org/en-US/firefox/addon/its-all-text/... But I don'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've drilled into my fingers.
- SwellJoe 11y agoI use It's All Text! with gvim, as well. It's a great tool when I have a lot of updates to do in large documents. That said, there is a vim mode for Atom, and this seemingly has the minor benefit of live updates to the textarea. I suspect there are use cases where this makes sense, and, obviously, Atom is a more powerful editor than a browser textarea, though the key bindings may be similar.
- CaptSpify 11y agoI do the same as you, and I've never used atom. Maybe it has shortcuts or other similar configs that might be preferable to the standard text-box?
- tuvistavie 11y agoAtom is a full featured text editor, like vim or emacs. The editing experience is therefore way superior to Firefox or Chrome textarea, and you can use all the shortcuts, plugins and goodies you are used to. For a short comment, a basic textarea is of course enough, but when you write something a little longer, I think it is a real gain of time to be able to edit in a real editor.
- bonaldi 11y agoI love this. There used to be a TextMate plugin for Mac browsers that did the same thing (well, without the live sync). Am going to use this for some aged web forms at work that have pretty hostile UX and that I often c&p into rather than bother trying to type.
- uxcn 11y agoI'm still sad Pterosaur [1] is no longer maintained. [1] https://github.com/ardagnir/pterosaur https://github.com/ardagnir/pterosaur
- deleted 11y ago[deleted]
- wangman 11y agoWhat about Vimperator or Pentadactyl?
- uxcn 11y agoThe textareas are close, but it's not the same as having the actual editor. I use UltiSnips a lot, which without the actual editor you can't use. It's the same with a lot of Tim Pope's plugins (abolish, surround, etc...).
- tuvistavie 11y agoTo 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: * Start editing in Chrome * It becomes long so copy-paste to Atom and edit there * Copy-paste back to Chrome To avoid this, I have then be using https://chrome.google.com/webstore/detail/wasavi/dgogifpkoilgiofhhhodbodcfgomelhe https://chrome.google.com/webstore/detail/wasavi/dgogifpkoil... 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. 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.
- timetraveller 11y agoNo, it's not.
- spudfkc 11y agoCool, but not sure I'd use this. The only reason I could see this being used is if you're writing code into a textarea that isn't syntax-aware, or if you just really want vim keybindings when you're typing a long email.
- sridca 11y agoIt would be even cooler if HTML input can be edited using markdown source. 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.
- uxcn 11y agoThere are python scripts to do this. Adding a mapping to do it in Vim/NeoVim would be fairly straightforward.
- tedmiston 11y agoIt would be so great to have that for Jira and its obscure formatting conventions.
- softawre 11y agoYeah. For me, not just Jira, but it's brother Confluence...
- tuvistavie 11y agoTotally agree. I am going to give it a try. Thank you for the idea.
- tedmiston 11y agoAwesome! I'm happy to help test - email in profile.
- tuvistavie 11y agoThanks for the proposal. This would indeed be nice to have. I am going to give it a try and if the result is good enough I will add this feature.
- bgar 11y agoTry this: http://markdown-here.com/ http://markdown-here.com/
- sandisk5 11y agoUse cases I thought of and I haven't even used it or similar plugins: You want to use Atom's Markdown preview of a reddit comment or a github issue or anything else that takes Markdown. You want autosave of a comment/input in case you accidentally close the tab, navigate away, or restart your browser. You want to write code in a comment/email. You want to use more advanced editing commands, things like undo-tree.
- Myztiq 11y agoThe only real use-case I can see here is getting access to multi-select, and find/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.
- ericfrederich 11y agoI wind up copying text into Sublime all the time to do my formatting then paste it back into my browser. Things like GitLab, GitHub, Bugzilla, Wikis, etc. You have a comma separated list of strings like "one", "two", "three", "four" and need to turn them into Markdown bullets - one - two - three - four ... an easy task for sublime or Atom
- jakub_g 11y agoI usually copy-paste longish things to the text editor (or at least to clipboard) to avoid data loss in case the webapp crashed / browser crashed / HTTP request failed / I mistakenly pressed backspace when out of the textarea (which navigates to previous page) It happens rarely but when it happens, it hurts.
- Myztiq 11y agoA browser extension I didn't know I wanted. Keeps history of textfields when I navigate away, and gives me an option to restore.
- jakub_g 11y agoThere are some, like [1] But I use many browsers, webapps reset the forms contents with JS etc. It's complicated. [1] https://addons.mozilla.org/en-US/firefox/addon/lazarus-form-recovery/ https://addons.mozilla.org/en-US/firefox/addon/lazarus-form-...
- niij 11y agoTry the Lazarus extension. It keeps a history of form fields. It saved my butt more than once.
- juandazapata 11y agoCan somebody explain why would one ever want to use this? No trolling, I might be missing something here. I just don't see any use for it right now.
- AustinG08 11y agoAside from some of the other mentions, this could be pretty neat for someone who manages many WordPress sites, or any other CMS' for that matter.
- tuvistavie 11y agoTake a look at my comment, for my actual use case. https://news.ycombinator.com/item?id=11022768 https://news.ycombinator.com/item?id=11022768
- tedmiston 11y agoDoes anyone else jump into an editor to write emails or essays? I find myself wanting simple, distraction-free plain text with no UI cruft for any writing more than a few sentences. Personally I'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.
- krisdol 11y agoYes. For one, I don't trust myself to not accidentally hit a keyboard shortcut I'm used to using on my native editor, but happens to collide with an important function in the email client. I also despise gmail's interface in general these days.
- laurent123456 11y agoIf 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.
- profeta 11y agoplus you can have locally saved backups with http://vim.wikia.com/wiki/Quick_save_to_a_temporary_file_before_more_edits http://vim.wikia.com/wiki/Quick_save_to_a_temporary_file_bef...
- tuvistavie 11y agoThis is also what is used to do, and I found it added some unneeded overhead, so I thought it would be easier to simply sync it.
- bduerst 11y agoDamn, I thought this meant Atom support on Chrome OS :( There still isn't a good text editor that does regex find and regex replace (caret doesn't).
- profeta 11y agoif you can't install/compile vim on your computer it is not a computer
- kuschku 11y agoMaybe you’ve seen the terminals T-Mobile/T-Online put up everywhere instead of payphones, which are basically payphones with WiFi hotspot and a touchscreen with webbrowser. Every time I see a chromebook, I am reminded of those "Smart payphones", because they are as much of a computer.
- omaranto 11y agoI don't know if I could install Vim on my father's Chromebook (probably yes), but I do know it came preinstalled! That makes it a computer too, right?
- purplerabbit 11y agoCheck out crouton (https://github.com/dnschneid/crouton https://github.com/dnschneid/crouton). you can tab back and forth between chromeos and (l/x/k)ubuntu. Fully Atom-compatible
- banjobob 11y agoCould be cool to add this to a webapp with socket io. Make collaborative coding.
- darkvertex 11y agoLike Floobits for Atom? https://floobits.com/ https://floobits.com/ https://floobits.com/help/plugins/atom https://floobits.com/help/plugins/atom They also support Sublime.
- profeta 11y agoi'm more interested in the screenshots window manager. having been forced on a mac recently... just the fact i can't move my windows with <one key>+<mouse left button> 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.
- jhasse 11y agoI think that's i3. But it's Linux anyway, why would you be interested if you have to use Mac?
- profeta 11y agoi'm a moron. noted. i guess i saw something that reminded me of the cocoa/whatever-osx-UI on the the screenshots. but looking closer now, there is nothing other than atom and chrome, both have custom inconsistent UIs that do not hint the OS they are running on. you are right, it can be linux or anything else.
- dlitvakb 11y agoYou can use something like Divvy (Paid - on AppStore) or Spectacle (Free - https://www.spectacleapp.com/ https://www.spectacleapp.com/) to achieve the same effect I personally use Divvy because Spectacle didn't exist when I first started using mac
- tuvistavie 11y agoIt is xmonad[1] running on Arch Linux[2]. [1] http://xmonad.org/ http://xmonad.org/ [2] https://www.archlinux.org/ https://www.archlinux.org/
- chiliap2 11y agoThis is a really cool idea, accidentally pressing my Sublime shortcuts on website forms is definitely a very common mistake for me.
- hudell 11y agoThere are similar plugins for sublime out there.
- docwhat 11y agoI like this idea. As Firefox tightens its sandbox security eventually things like It's All Text! won't work anymore. I have some bugs open on the project and maybe someday I can switch from Vim to Atom comfortably. I also hear that the It's All Text! author is lazy... every time I go home to the family. ;-)
- lftl 11y agoJust wanted to say thanks for It's All Text, it's been a huge timesaver for me.
- josteink 11y agoHm. I love It's all text and use it all the time with my Firefox and Emacs setup. Are you saying that you're its developer, and that you're not going to maintain it anymore? That would certainly make me sad :(
- docwhat 11y agoI'm glad you like IAT! I am indeed the developer. I'll continue to maintain IAT! as long as it can work in Firefox. Firefox is changing its security model for extensions to make it more like Chrome's. Eventually, it will be impossible for IAT! to work as a pure extension anymore. Over the years, I've been working on IATED (https://github.com/docwhat/iated https://github.com/docwhat/iated) which was meant to be a replacement for IAT! -- a sort of IAT! next generation. IATED would be two parts: a server to open the editor and an extension that talks to it. But I've become distracted and disheartened by figuring out how to make it as simple to install and use as IAT! yet remain secure. Some issues: * I know enough security practices to know I'm not even close to being an expert. IATED has the potential to do really bad things if insecure. Letting a malicious page read random files on your file system (or worse, write them!) is the obvous vector. * I would want to support the same platforms: Linux, OS X, and Windows. But each platform has very different requirements. Windows users are going to be confused if IATED is purely command line driven, for example. * What language should I write it in. I have several false starts, with the current 'master' branch being JRuby. But depending on the JVM seems horrible. 'golang' is pretty new and maybe the way to go. I'm not sure. * I work on IAT! mostly alone, though xOneca has been a great help. Writing IATED by myself is discouraging. I'd love to have someone who knows about golang or Windows or security help me write IATED. Anyway, that's roughly the state of IAT! and IATED at the moment. Ciao!
- nickysielicki 11y agoI'd be more interested in a generic solution that makes a live mapping from webkit internals to files via FUSE. (I have zero experience with webkit to know if this is a reasonable undertaking.)
- boksiora 11y agonice work :) i will use it
- radarsat1 11y agoIt 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.
- amfazlani 11y agoWAH
- haiwenchen 11y agonice!
- bsimpson 11y agoSounds like GhostText: https://chrome.google.com/webstore/detail/ghosttext-for-chrome/godiecgffnchndlihlpaajjcplehddca?hl=en https://chrome.google.com/webstore/detail/ghosttext-for-chro...
- deleted 11y ago[deleted]
- unfamiliar 11y agoI used Automator on OS X to create a system service to do something like this. Creating it was really simple - just a "Run Bash Script" action with "/usr/local/bin/subl" in it. Right clicking text anywhere in the system and choosing "Edit in Sublime" will open it in ST and replace the original text once you save the file.