13 ms·
Atom 1.6 Released with Pending Pane Items, Async Git and Top and Bottom Bar API
- azeirah 11y agoI really hope they'll improve the discovery of third-party plugins, the repertoire of available atom plugins is insane, yet finding something you want is still a /lot/ harder than with sublime + package control...
- wyager 11y agoI don't really want more features for Atom. I just want it to be faster. Right now it's incredibly sluggish compared to e.g. Sublime. Is there any hope on this front, or are the performance issues intrinsic?
- giancarlostoro 11y agoI agree. If they could just focus on stability and performance until it's not longer an issue then I would not care about "new features" considering most plugins handle most of what you need anyway.
- sotojuan 11y agoVS Code is also a Chrome window disguised as an app but runs much better, so there's definitely things the Atom/Electron team can do.
- giancarlostoro 11y agoI used to think it was faster but for some reason on Linux Mint when I open small source files it just goes berserk and freezes up completely. No idea what would cause it.
- podgib 11y agoVS code runs on electron, so it's really just atom itself, not electron, that must be the bottleneck
- snarfy 11y agoThis is a great observation and gives me hope for all the other projects built on atom.
- sktrdie 11y agoIt's a browser so I doubt it. On the other hand you get lots of developers and fast feature development/bug fixing.
- melling 11y agoSublime is written in C++ while Atom is written in JavaScript. Atom is going to be slow by design. Emacs uses 'slow" elisp to implement major functionality, but the critical functionality is written in C. Perhaps that approach could be taken with Atom?
- vbit 11y agoJavascript runtimes these days are plenty fast. You can definitely have a snappy editor and in only rare cases might need C. The issue is probably reducing the browser overhead, i.e. rendering DOM updates and the memory weight of the entire browser stack, etc.
- SwellJoe 11y agoGiven that VSCode is fast on the same Electron core also written in JavaScript, I think it's a lazy approach to simply dismiss it as, "Must be JavaScript! Case closed!" And, there have been editors written in a variety of higher level languages for decades, many that are slower than JavaScript, that aren't (as) slow as Atom. There's more to it than language choice.
- Klathmon 11y agoI'm convinced it has something to do with the syntax highlighting. Disable that, and it runs flawlessly on 10+GB files. I looked into it a bit a few weeks ago but got distracted. It uses regex and many of the statements could be improved. Plus they use a fairly off the wall regex engine that has pretty poor performance but they use it because it supports every damn encoding under the sun. I think if that can be figured out, the only "sluggish" part left will be startup (which IMO is acceptable at this point, but improvements would always be welcome)
- elcritch 11y agoCheck this out: http://davidvgalbraith.com/how-i-fixed-atom/ http://davidvgalbraith.com/how-i-fixed-atom/
- mynameisvlad 11y ago
- 13years 11y agoIt has definitely gotten better and VS Code and Brackets both give hope it can still improve. Actually Brackets all file search is faster than sublime.
- timrpeterson 11y agoYea slowness is what led me back to Sublime. I tried for months, I really did.
- draw_down 11y agoThat is my problem as well. It's just like Sublime.... but slower.
- hacker_9 11y agoI see this comment every time an Atom post gets on HN. Are you sure it's not just your computer specs? If Atom continually makes the HN front page then many people must be using it just fine and like it? Personally I'm not sure why we need another text editor of all things, but hey its made in javascript which is hip at the moment.
- gareim 11y agoIt's not his specs. Sublime is just that much faster. It also doesn't slowly creep up in RAM usage unlike Atom.
- izacus 11y agoA quad core, 16GB RAM rMBP with SSD should really be able to run a text editor for a 500 line Python file without caret lagging behind typing :/ Sublime can do it easily, Atom still can't. Am I holding it wrong?
- pearle 11y agoNo, Atom is just slower. 16GB, 4790k with SSD.
- 13years 11y agoI don't have any lag. Do you have lag with a plain text file? Does this happen with default install no added plugins? I recently was editing a 10M log file with no lag. I've had problems sometimes with all these editors with occasional bad performing plugins.
- girvo 11y agoMy Atom on a 8Gb rMBP with an SSD handles it perfectly fine...
- acdha 11y agoThe reason it comes up so often is because it's very noticeable even on late-model systems with SSDs. Just as with Java-based IDEs, the previous target of these complaints, many people tolerate it anyway because they find the features balance out raw speed.
- ssebastianj 11y agoIs there any chance to use Rust or Go to develop an Atom package? Not for the entire codebase, just for the parts which might be a bottleneck.
- rodgerd 11y agoI have been ignoring the Atom hype because "geeze a programmers editor written as a big blob of JavaScript on my desktop that sounds like a dumb idea". Then I tried it and it's wonderful and magical.
- vbit 11y agoCould you highlight some of the reasons you liked it?
- timberburn 11y agoMy most appreciated feature is having a user interface for plugin settings.
- bronson 11y agoMy favorite is noticing something weird, opening the inspector, and figuring out the issue quick. Console expressions, breakpoints, etc... it's a powerful environment. (Of my other 2 editors, Vim is fairly difficult to figure out and Sublime is a black box) Being able to style whatever you want with css is handy too, though sometimes it's tough to figure out the right css selector to use.
- rodgerd 11y ago* Cross-platform with a pleasing (to me) GUI. Specifically, I appreciate the ability to have multiple views including rendered previews of particular files. * "Feels right". The ergonomics of the keyboard interaction Just Work for me. * Excellent git integration (with plugins) which is frankly abnormal on editors that run on Windows as well as ix (or Windows at all - the git story on Windows is still pretty crappy). Good plugin management and libraries of plugins.
- hacker_9 11y agoVisual Studio has Git support built in...
- aesthetics1 11y ago>> File types can be easily associated with Atom now it registers itself so it can be associated with file types. No more need to hunt for atom.exe This is great! I've had to associate with atom.cmd for quite a while now, which has been a bit annoying.
- betenoire 11y agothat's beautiful... suddenly I resent my decade long addiction to a certain other editor. kinda. Does anyone have experience using vim-mode?
- segphault 11y agoAs a longtime Vim user, I've been pleasantly surprised with the quality of Atom's Vim bindings. Text navigation and pane management bindings mostly work as expected. You get multiple registers for yanking etc. That's the extent of what you get, however. There's no emulation for the colon prompt, no macros, and it obviously doesn't support any Vim scripting. I've been happy with Atom after transitioning from Vim, but there are still a few pain points. One that's particular annoying is that Atom's search/replace is very poor compared to the power I'm used to having with :%s.
- bronson 11y agoIf vim-mode doesn't go quite far enough, make sure to try vim-mode-plus. Adreed, I miss %s pretty much every day. Also tabular.vim -- tried a few but haven't found an Atom equivalent yet.
- cname 11y agoI just did %s/a/b and it worked. I think you need to install the ex-mode plugin.
- cname 11y ago> There's no emulation for the colon prompt, ... There's an ex-mode plugin.
- segphault 11y agoThank you for pointing this out. I honestly wasn't aware that there was a separate plugin for this. I'm relieved to have my precious :%s back, but I wish I had known about it earlier! :-)
- deleted 11y ago
- segphault 11y agoI really wish there was a way to use Atom in client/server mode. I'd like to leave a headless session running on my home Linux server and be able to attach to it from work. Right now, I use SSHFS to mount the remote directory so I can edit locally, but it leaves a lot to be desired. Considering that Atom is all just Node and Chromium under the hood, it's surprising that there's no way to run at is as a server.
- jwcooper 11y agoCheck out nuclide.io. It's built on top of atom by Facebook. I haven't tried it, but one of its features is remote development using client/server.
- seanp2k2 11y agoUnless I'm misreading, parent is talking about something like X11 where the heavy lifting happens on the "server" side and the client is more of an interactive viewer. Nuclide is cool but it looks like the client / server stuff is for doing live development where the code lives on e.g. A web server. This is a thing in other IDEs too (such as IntelliJ), and it's a useful feature, but it doesn't get the main workload off the "client": http://nuclide.io/docs/features/remote/ http://nuclide.io/docs/features/remote/ Edit: Actually, running atom over X11 could work if you have some beefy remote machine / AWS workspace. You could even use Nuclide's remote capability above to connect back to your laptop to edit local code, remotely, using a local client and running atom on the X11 server. Not that this is sensible or not ridiculous, but if you really need that c4.8xl to run your text editor, it's possible.
- segphault 11y agoWhile it's not as good as being able to attach to a remote/headless instance of the editor, something like Nuclide's remote project feature would be a step up from SSHFS... if it actually worked consistently. I've unfortunately found it to be really flaky. About half the time I try to add a folder I get a "certificate not ready" error. And I get a lot of random error messages when I save files. With large projects, watchman exhausts the number of filesystem watches that can be created (though maybe I could fix this if there's a way to configure it to not recursively watch node_modules folders). I also don't like the fact that Facebook stuffs all of its Atom improvements into one extremely heavy, monolithic plugin. It practically doubles Atom startup time for me. :-(
- DigitalSea 11y agoThe new features and updates are great, but the one thing holding me back from using it is the fact it is extremely slow and laden with performance issues. Anyone who has ever attempted to open a file with a lot of lines of code will attest to the fact that Atom has issues. Ironically, Microsoft's open source Visual Studio Code editor is based in part of some aspects of Atom and it has exceptional performance and is a great editor in comparison. They need to focus on fixing the slowness. VSCode proved that Electron is not the bottleneck but rather Atom's code itself is.
- BinaryIdiot 11y agoDefine "a lot of lines". I have used Atom almost every day for the last couple of years now. Startup and opening files of, say, 5mb or larger sucks. But I've never had an issue with opening typical file sizes. I switched to Atom mostly because of the plugins but I still keep sublime installed for the rare occasions I need to open a large file. Now I'll admin there have been a few times when I haven't closed Atom for weeks and it'll act a little slow while typing (which can be really frustrating) but closing it and reopening it always fixes it (I'm assuming some memory leak is the culprit).
- santaclaus 11y agoI just tried opening a 6.3 meg xml file, and Atom was almost unusably slow. Sublime Text opened the file almost immediately and was responsive off the bat.
- lobster_johnson 11y agoTested with a real XML file here: # wc -l t.xml 315479 t.xml # wc -c t.xml 10377128 t.xml Unlike Sublime, it doesn't syntax highlight for some reason, but it does open. Opens quite fast, too. Editing, cursor movement, pagination, etc. all super fast. OS X 10.11.3, Atom 1.6.0 on a MacBook Pro (Retina mid-2015, 2.8GHz Core i7, 16GB RAM, AMD Radeon R9 M370X).
- 11y ago
- nkg 11y agoThe pending pane feature is really an improvement, because I found myself closing tabs way too often.
- modulus1 11y agoLack of MRU tab switching and preview tabs are two reasons I haven't switched from sublime. Glad they are listening to requests.
- jessegreathouse 11y agoIt just locks up my MBP until I eventually close it just like atom 1.5 did. I've never understood the point of this editor, however to be fair, I've never been able to use it without severe performance issues. I can run 8+ instances of jetbrains without even breaking a sweat but running atom out of the box is a non-start.
- pugio 11y agoI love the concept of Atom and have a lot invested in its success. That being said, I switched back to Sublime because of the responsiveness, and here's why: Programming (for me) is a craft. When I'm in the flow of coding, there's a conversation between me and my program, mediated through the editor (and my REPL). Even a subtle typing lag is enough to subtly disrupt that flow state – the speed of thought and text no longer coincide, and that slight, almost subliminal perception of delay build into a sense of frustration and just being out of sync with my program. It's a problem that's most noticeable in its absence. Like when you go to the gym for the first time in a while and realize "oh, yeah, this feeling is what I've been missing", switching from Atom back to Sublime feels... right, refreshing. For a great analysis of typing latency, and why it's important, see: https://pavelfatin.com/typing-with-pleasure/ https://pavelfatin.com/typing-with-pleasure/ (I am happy Atom is still moving forwards, though, and eagerly await the day I can switch fully from Sublime. Easy modification of ones own tools is another big component of my personal programmer-as-craftsman ideal.)
- noir_lord 11y ago> It's a problem that's most noticeable in its absence. I know what you mean, when they added the option for Zero-Latency typing in intellij it subtly just felt better (and on linux the difference was noticable).
- babo 11y agoHave you tried atom with default plugins only?
- cnp 11y agoI'm curious how much time you spent with it before switching back? When it first launches, coming over from Sublime Text or Vim or whatever definitely feels different, but in my experience after a day or so the lag became totally invisible and all of the other Atom features started to shine through, leading me to stay. (Note however, that this is post v1.0. If you haven't checked it out in a while there have been some really great perf improvements.)
- conradev 11y ago
- namelezz 11y ago"Block Decorations" worries me as I experience slowness in my browser whenever there are lot animated Gif pictures. Will Atom suffer the same thing?
- lotsoflumens 11y agoI use Atom (the beta channel) every day - it has become my favorite editor because of all the nice support for different languages. It could be a bit faster, but I'm confident that it will get better. I also made the mistake of opening a large data file (100 MB) with it one day. I won't try that again :-)
- mikerichards 11y agoDespite Atom's shortcomings that everybody knows about, I really like it and use it frequently. It has a huge number of high quality plugins (and some not so high). That said, eventually I see myself moving to vscode. Text editors are meant to be opened and closed frequently, unlike an IDE. So I typically will have atom opened for various tasks, but will use vscode to "check out" a file. vscode is also written in typescript and something that I'm very interested in. I'd probably move to vscode for a bunch more tasks if it had a decent vim plugin. In some kind of ideal world, vscode could use atom plugins, but I know that's probably a recipe for disaster with huge instability issues. I'd really love for Atom and VSCode to actually come together one day in the not too distant future. I think it makes sense to pool resources in the "Electron editor app" ecosystem. But congratulations to the Atom team, nonetheless. When things work, it's a very pleasant experience....especially considering the technical roots it comes from.
- thedz 11y ago> Text editors are meant to be opened and closed frequently, unlike an IDE. Ones that start and then stop in the terminal, maybe, but GUI apps? I keep those running, as with most of my other apps.
- tombert 11y agoI don't know that I fully agree; I leave my Vim instance open for literally days at a time in a tmux session, which works somewhat as my "IDE". Much as I've heard I'm only supposed to do this with "real" IDE's, I have yet to really notice a single drawback.
- mlvljr 11y agoDoes underlying logic have any performance/responsiveness-measurement hooks? Would help in the "it is a dog on i7! / no, it's fast!" discussion :)
- atrudeau 11y agoIs there any way to port Atom to run in the browser through a webserver? My work flow is autossh + tmux + Vim so that I can work from any computer on my server. If Atom had something similar I'd be interested.
- jasonbarone 11y agoHas anyone given Atom a lengthy comparison in performance on a Macbook Retina versus non-retina machines? I've owned 3 Macbook Retinas to date and every single one has had sluggish behavior in many apps. Google Chrome and Electron apps seem to fall into that mix for me. I've yet to give Atom a lengthy test on a non-retina machine, but I can say that I definitely get the performance issues with Atom in regards to app and document behavior and type latency. Plugins just make it even worse. In fact, some plugins like linters and live markdown preview bring Atom to a point where it's literally unusable. What the Atom contributors have done is quite amazing and the app has come a long way. I'd go as far as saying it has everything I want in an editor for a front end developer. I would use it as my primary editor if the type latency could disappear. As of right now I basically just keep Atom up to date with my SublimeText preferences and give it a try on each release.
- pedalpete 11y agoSeems like the biggest complaints are around performance. I'm assuming Atom (and VS Code, etc) are using asm.js or some other library to get them close to native performance. Anybody have thoughts on that? or am I completely wrong?
- desuvader 11y agoAtom is (almost) like any normal web app from a performance standpoint. Runs on electron. No asm.js magic here.
- pikzen 11y agohttps://github.com/atom/atom-keymap/issues/37 https://github.com/atom/atom-keymap/issues/37 is still open. Yet another broken release for half of the world.
- asantos3 11y agoOh yeah, lets just wait a few months for chrome to release KeyboardEvent.key and then ship a new release.
- erikb 11y agoWhile I agree with most people that Atom is kind of unresponsive, don't you think that we have talked about it enough? Stop acting like you are the first person to notice. Since its first release that is the major complaint point. They either can't or don't want to do anything about it. Deal with it.
- anhtran 11y agoMy choices: - Jetbrains' IDE for heavy projects. - Sublime Text for single file editing. - VSCode (new coming for me): very good UI/UX, fast and free. Good choice for agile projects. Sorry, have no place for Atom.
- stared 11y agoWhen it come to performance - on Atom (on OS X, with Git Plus) it takes me min 10 sec for git add-commit - versus instantaneous when using command line. I am still using it, but delays really break the flow.
- code_research 11y agoIf you like it when editors are fast and lightweight, have a quick startup time, are able to load really big files (e.g. database dumps) without any problems and generally do not distract you with random annoying things while you are working on code, then you will be happy that development on geany is going on - there was a new release [0] this month! Yes, of course there are several [1] packages, e.g. for Ubuntu [2] - so you do not have to waste your time checking for a new version, downloading it via your browser and installing it manually, like it was done in the last century. I am not affiliated with geany developers in any way, I am just not a follower of the new-old church of bloatism. [0] http://www.geany.org/Main/20160313 http://www.geany.org/Main/20160313 [1] http://www.geany.org/Download/ThirdPartyPackages http://www.geany.org/Download/ThirdPartyPackages [2] https://launchpad.net/~geany-dev/+archive/ubuntu/ppa https://launchpad.net/~geany-dev/+archive/ubuntu/ppa
- santiagobasulto 11y agoI really like Atom, but it kills my battery. I got a macbook pro mainly because of the battery life.
- unfamiliar 11y agoMy biggest problems with Atom: Too slow, especially with large files All the plugins I seem to want to use are constantly broken My problems with Sublime: Confusing json settings hierarchy UI not extensible enough, plugins try their best I wish one camp would fix these so I can finally settle.
- cyber 11y agoFor the people complaining that it's slow: what plugins are you running? My contribution: Community packages used most often: api-workbench, fonts, language-sql-mysql, term3, vim-mode Others: dash, export-html, language-docker, linter, markdown-pdf, markdown-preview-plus, markdown-preview-plus-opener, markdown-scroll-sync, markdown-writer, stash-tabs