170 points · by alanfranz · 10y ago · 139 comments
As a crappy workaround I have this: https://github.com/sergiotapia/atom-meteor-packages
But still, I would like this to be a core integration.
I've since switched to RubyMine and WebStorm because I just want something that meshes together for me, I don't want 'javascript fatigue' in my dev tools as well. RubyMine's built in visual studio-like debugger is killer.
cd ~/.emacs.d
git init
git add .
git commit -m "My emacs config"
git remote add origin http://github.com/myname/myemacsd
git remote -v
git push origin master
Just sayin' is all ...That being said, because I use a different OS every week, I have found this to not work as well as I'd like because I often forget to commit/push after a change.
Since I'm always committing/pushing, it seems to me like keeping ~/.emacs.d in Dropbox is the better solution.
git push -u origin master
So then the next time all I need to do is: git pushAnd not to make this an X is better than Y comment, but the much better (in my experience) high-DPI handling with VS Code does the same. I wonder what exactly VS Code does to manage to be the only Electron based application that I've used that scales properly across multiple monitors at different DPIs.
It's released by a company that has internal controls on making sure released apps are high-DPI compliant.
Most editors start to struggle at such file sizes, which is a shame, but try loading 100mb into Excel. The only editor I found to work nearly instantly is vi; nano takes almost a minute to load large files.
Anecdotal: back in the late 90s, or early 00s, unlike now, the pc hardware got old really fast in terms of performance. Unlike a classmate of mine I didn't keep up with hardware changes. When I bought my hardware and played games they ran really good, but after a while my pc was not fast enough even for low graphic settings, and the games stuttered really strong with fps probably below 30 fps and around the 20 fps mark (only a guess). At first this was horrible compared to the smoothness of playing games directly after buying the new pc, but after a while I got used to it and couldn't understand why my classmate (which kept up with the new hardware that came out) could not stand to play games on my pc. Later I bought a new pc and could play the games with smooth fps again. When I now played games on slow hardware I could not stand it, just like my classmate before.
Maybe this is (in some cases) also the case with people who have no problems with the performance of Atom.
Personally I also find the performance of Atom could be better (on both Windows and Linux) with a 5820k @ 4Ghz, 32 GByte Ram and installed on a SSD (Crucial MX 100/512 GByte). But I only try it from time to time to see how much better it got compared to my previous try.
I had a license to Sublime before Atom was even released, so that's what I use :-) I used Atom for at least a year just to support the open source aspect of it (I do spend most of my time in RubyMine these days)
[0]: https://chrome.google.com/webstore/detail/caret-t/agiednhnlg... [1]: http://thomaswilburn.net/caret/
I haven't used visual studio code myself, but does it use a mix of JavaScript and HTML to render and process the text? If so then isn't the major differences the algorithm choices for rendering and editing text?
This is my understanding of things:
- Electron is built on top of Chromium, where the technology was mainly driven by Google and their engineers.
- Vscode is based on Monaco which Erich Gamma and his team spear headed.
- Atom is based on work done by GitHub.
The analogy would be they both use Honda engines, but Microsoft appears to be able to use Honda's engine way more efficiently than GitHub.
The better analogy would be they are both built using Honda doors, but they each have completely different engines.
https://atom.io/packages/atom-fuzzy-grep
The nice thing about Atom is that you can replace anything that isn't performing.
Does Atom use a lot of ram or cpu? I've got a 2 year old Mac Book Pro with 16 GB RAM and an SSD. I downloaded Atom 1.6 after the announcement and leave it open to maintain my notes and I haven't noticed any performance problems with a couple dozen files. I might try to use it for another project once I evaluate the plugins.
https://github.com/Couto/.dotfiles/blob/master/tag-atom/atom... in case you need an example
ST3 might win me back when Package Control is integrated, but until then, Atom is more than fine. IntelliSense on VS Code looks really powerful, but it's personally a feature I do not enjoy.
I've used both and by and large they were very effective replacements for each other, but Atom had performance issues with large files so I went back to Sublime. What am I missing out on?
All the usual Open vs Closed Source arguments apply.
https://atom.io/packages/hydrogen
https://atom.io/packages/merge-conflicts
https://atom.io/packages/minimap
https://atom.io/packages/color-picker
https://atom.io/packages/markdown-preview-plus
https://atom.io/packages/preview-inline
https://atom.io/packages/pdf-view
If you don't utilize the API, IMO Atom is just a noticeably slower, slightly prettier version of Sublime Text.That said, it's missing two very important features from Sublime that I used constantly. First, you can't use it like a scratch pad like Sublime. In Sublime you can open a file, write stuff to it, and it will be persistent. Atom seems to have an option to save your current work, but can't be used this way from my experience. The second is it doesn't have multi-select like Sublime. You can't drag your mouse and have a bunch of different carets. That was TextMate's killer feature imo, and Sublime as well.
If you value your time you shouldn't look at a few hundred dollars as the difference between using some software and not. That software is a force multiplier.
I'm not saying sublime text is better than atom. I'm only saying that price should not be the reason to choose something you use several hours a day.
For example how long do you think it takes for the average new programmer choosing Atom to figure out and learn to use the fuzzy file search versus them getting that working on Emacs? Seconds versus hours I imagine. It took me a non-trivial amount of time to set that up on Emacs.
While I'm sure it adds a lot of usability features compared to the default Emacs config and it looks pretty cool, it's nowhere near as immediately accessible as Atom or Sublime - for example, I have no idea how to close an open file without Googling whereas in Sublime or Atom it's either click the "X" or use the standard Cmd-W shortcut. I also have no idea how to open a project or search for a file, and don't really know where to start discovering those things, whereas in both Sublime and Atom you can browse through the menus, or hopefully quickly discover the Cmd-P command launcher which lets you type a command.
If I wasn't somewhat familiar with Vim, I would have absolutely no idea what was going on as by default it uses Vim's modal keybindings. I also noticed an annoying lag when pressing spacebar to bring up the command list thing - slower than any lag in Atom!
It does look intriguing and I'd love to learn to use it more, but I don't think you can really say the usability of Atom/Sublime and of Spacemacs to a new user are anywhere near equal, never mind "how would they justify their choice?"!
After quite a while it was still mysterious to me how to change simple things or to even trace where certain behavior was implemented. (that can be a problem in Atom too).
In short: I didn't have the time. I have a lot of work to do, no time to fiddle.
I still miss a few things from spacemacs.
helm-swoop mode is awesome. That could be done in Atom.
I'd like a <SPACE>-x-y command interface for atom. Proton seeks to achieve that: https://github.com/dvcrn/proton
I'd love to be able to handle panes with the agility of Emacs.
If they're taking advantage of Google, a few seconds for either one. Discoverability in both kinda sucks.
I actually hate Atom and I resent you making me defend it. >:|
There seems (based on other users I know) two sweet points -- put your whole life in emacs, and give the other apps you have to use Emacs shortcuts, or no Emacs.
Some people's brains might find it easier to switch between two sets of shortcuts when switching between apps of course.
I find the JS intellisense, while heavily dependent on what kind of code you write, leaves every other editor standing.
As Javascript is Atom's native language, support for JS is very good to start with.
Have a look here for additional plugins: https://atom.io/packages/search?utf8=%E2%9C%93&q=keyword%3Aj...
Anything with more than 10K users is likely to very useful.
edit: correction. After asking this, I read up a bit and Code is based on Electron which is the core of Atom, but they're fairly different after that.. Code is not a fork of Atom as I thought it was.
VSCode has lower typing latency and a more considered system for building / debugging / code completion. Atom has a richer plugin api and has been around longer so it has more plugins. I've done basic plugins for both and plan on using/developing for VSCode but I've been too lazy to write Vim bindings and not willing to use the editor without them.
While that's my personal experience, it matters the most to me. Makes the decision easy... for the moment.
Almost every editor I use I use the print commands (ctrl/command p + some other keys) as my global personal short cut chain.
That way I have the same short cuts for intellij, eclipse and even emacs (sadly remapping the default ctrl-p).
Some recent editors though don't respect leaving ctrl/command-p alone (sublime, atom, vs code) which means I have to override what is there. Which sort of pisses me off... they found my secret unused keys ... damn them :)
Worse though are editors that do not even allow you to override ctrl/command-p but I have yet to see those.
Also, why do you want that feature?
Plugins and users are big part of what make Atom great.
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\Atom]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Atom]
[-HKEY_CLASSES_ROOT\Directory\shell\Atom]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Atom]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\Atom]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\Atom]With preview mode enabled I have to dbl click the tab and with it disabled I have to dbl click the file name. It would be nice if opening a file had regular single click functionality when preview mode was disabled. Or maybe another setting for this in the config.cson file.
It seems like a trivial thing to complain about but it's usually the small things like this that are the most annoying (for me at least).