Atom text editor 1.7.0 released
github.com
github.com
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.
This is a video by Dennis Ulshakov, the maintainer. I haven't watched this in its entirety but it's only 20 mins.
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.
(setq font-lock-maximum-decoration t)
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.
This is what I was trying to state. If performance issues were fundamentally tied to the use of Electron, then you would see that manifest itself in both packages.
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.
I imagine the same performance as my 2 year old laptop is equivalent to $500-$800 desktop today.
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?"!
- the binding menu idle time is configurable with the variable `dotspacemacs-which-key-delay`, check the docstring.
- The key binding you missed (should be listed in the quick start guide) is `SPC h SPC` which is used to find various info like FAQ, layers, packages config, dotfile variables etc... try it for yourself: `SPC h SPC which-key` and choose `dotspacemacs-which-key-delay` then RET, you can now modify its default value of 0.4sec to 0.
- `SPC :` to access _all_ interactive commands of Emacs (`SPC SPC` in develop, shortcut configurable of course).
- to discover how to close a window just press `SPC` then look for `window` and so on, it takes 10 seconds to discover it ;-)
- If you were not familiar with Vim you can choose to opt for Emacs key bindings and `SPC` becomes `ALT-m`, everything else is the same. But you are familiar with Vim so I don't see what issue you want to raise.
Thank you for trying Spacemacs :-)
I wasn't trying to raise an issue at all, merely state that Spacemacs isn't as obvious to a new user as Atom - but I'm not saying that that's a bad thing, obviously (Spac)emacs has a lot more power under the hood potentially and I am sure is worth the additional effort to learn.
I have to say I'm impressed with what a good job you have done of making it user friendly :)
You can just use the menu bar for that.
>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.
You can, as it tells you, use the fuzzy command search by typing M-x. Same as Atom, just a different command.
Honestly, and sorry for sounding rude, to me it just seems like you intentionally tried to not understand in order to prove a point; Just because in your mind you have this idea of emacs just having to be inferior in some way.
As it stands though, it's not.
Not at all and I didn't mean it to come across in that way, apologies if it did. Thanks for pointing out those things - I actually for some reason didn't think of using the menu bar at all, I guess because it looks like a non-GUI app. That's my fault anyway!
I was just interested in the "absolute newcomer" user experience, as that is how a lot of people will judge things, which for me after a few minutes was "I can't work out how to do what I need to do" and so I stopped. I'm sure that with an hour or so playing around, I would get used to it, and I intend to!
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.
>my install kept getting broken by updates. Atom has never just fallen over dead like that.
Could you elaborate on that? This has never happened to me. If this happened because you wrote a bunch of custom layers then I'd argue that it's a non issue because in Atom you cannot do that at all (or at least experience the same problems if you do)
>After quite a while it was still mysterious to me how to change simple things or to even trace where certain behavior was implemented.
As you stated, the same is true for Atom.
>In short: I didn't have the time. I have a lot of work to do, no time to fiddle.
Time for what? The superior modification capabilities in Spacemacs by no means force you to fiddle. It seems to me that all your problems were caused due to you not being able to stop yourself to fiddling with the very sane and good defaults.
This is similar to the argument I see about people who switch to an iPhone all the time. "I just didn't have time to fiddle. I wanted my phone to just work." So just don't exercise your freedom to fiddle then! The defaults in both cases are just as sane and if you some time in the future need to customize something for the sake of productivity, the you can!
Sound to me like somebody moving to China from the US because they "Didn't have time to participate in politics anymore."
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).