16 ms·
Atom 1.11
- colept 10y agoI switched to Atom this year and haven't looked back. I love the customization and it's been a breeze to work with.
- clessg 10y agoVery happy about the custom title bar option. It's really jarring for everything on-screen to be dark other than the title bar. Even better would an option to disable native full-screen in macOS. Does anybody know if that is likely to ever happen?
- shaan7 10y agoWhy not simply use a dark theme for macOS itself?
- homulilly 10y agoI like Atom but I ditched it in favor of Visual Studio Code because it has per-project settings, something Atom still lacks. The only thing I really miss is the ternjs extension. Typescript's intellisense is nice but requires quite a bit of setup to actually work.
- skrowl 10y agoI'm in the same boat. VS Code is also much faster in loading and scrolling, at least on Windows.
- Klathmon 10y agoThat's really interesting about tern vs intellisense. I haven't really used VSCode much beyond a quick "check out", but the majority of comments I read are the opposite. That Intellisense "just works" and that tern very much suffers from the "open source documentation" issue... Can you go into some more details about the pain points or some pro/cons of each?
- homulilly 10y agoMy experience with atom-ternjs has been that you create the config file in your project root with any plugins/options you need and then you're good to go. You get autocomplete for any node modules you require and everything just sort of works. VS Code's intellisense (which uses typescript for both js and ts files) however requires definition files for any dependencies to be installed separately (which may or may not exist/be up to date), requires you to explicitly exclude stuff like your node_modules folder otherwise it will simply stop working with no error message. This gets worse if you have multiple nested node/npm projects as is common with, for example, electron projects where you have to make sure you explicitly exclude the paths to any node_modules directories under the jsconfig.json root and you'll need separate jsconfig.json files for every project (which might be what you want, but isn't strictly required with tern like it is here). Another issue is that since vscode is clearly geared towards typescript, a variable's type is determined when it's declared and only then so something like "let app;" sets the app variable's type to "any" which it stays for the entire file no matter what object is assigned to it later. There are some things I like, such as the ability to define JSON schemas and a number of the issues above don't apply when using typescript but when writing regular old javascript it's pretty lacking.
- mrspeaker 10y agoI liked Visual Studio Code but ditched it because it created .vscode folders all over my filesystem... is there a way to turn that off?
- shmerl 10y agoWhy isn't Atom packaged in Debian yet?
- andrewd18 10y agoAtom packages debs in their GitHub repo which work in Debian 8. There's no repo you can add to your sources that I am aware of, but you can manually download the deb from https://github.com/atom/atom/releases/tag/v1.11.0 https://github.com/atom/atom/releases/tag/v1.11.0, run dpkg --install filename.deb, and get coding.
- martey 10y agoAtom has a large number of dependencies that need to be added to Debian as well. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747824 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747824.
- gbuk2013 10y agoThis also does not help: https://github.com/atom/atom/issues/3926 https://github.com/atom/atom/issues/3926
- dflock 10y agoThe core team all use Macs, maybe? Anyway - there's an automated, maintained APT mirror/repo here: https://github.com/alanfranz/atom-text-editor-repository/blob/master/README.md https://github.com/alanfranz/atom-text-editor-repository/blo...
- tehwebguy 10y agoBeen using Atom for a minute but probably am not taking advantage of it like I should. Any indispensable plugins I should check out?
- timehastoldme 10y agoCode peek (https://atom.io/packages/code-peek https://atom.io/packages/code-peek) is pretty good, esp. for a package with very few DL's.
- Malic 10y agoMiniMap - https://atom.io/packages/minimap https://atom.io/packages/minimap Project Manager - https://atom.io/packages/project-manager https://atom.io/packages/project-manager (this one is a must, IMHO) Sublime Style Column Selection - https://atom.io/packages/Sublime-Style-Column-Selection https://atom.io/packages/Sublime-Style-Column-Selection File Icons - https://atom.io/packages/file-icons https://atom.io/packages/file-icons Sort Lines - https://atom.io/packages/sort-lines https://atom.io/packages/sort-lines ...and a pile of linters is most of my setup.
- edditoria 10y agoThe git integration is superb. The status shows on the UI just enough for me. When I use Sublime, I miss `terminal-plus` so much. And `pigments` works better too. Here's my complete package list: ~/.atom/packages ├── Stylus@3.1.0 ├── atom-beautify@0.29.13 ├── autocomplete-meteor-packages@1.3.0 ├── autocomplete-paths@1.0.2 ├── coffee-compile@0.22.0 // disabled, use source-preview instead ├── language-pug@0.0.19 ├── linter@1.11.18 ├── linter-coffeelint@1.1.2 ├── linter-jade@0.3.2 ├── linter-jshint@3.0.0 ├── linter-stylelint@3.3.1 ├── linter-stylint@2.2.4 ├── linter-tidy@2.2.0 ├── merge-conflicts@1.4.4 ├── meteor-api@2.20.0 ├── minimap@4.25.0 ├── minimap-find-and-replace@4.5.1 ├── pigments@0.37.0 ├── source-preview@0.5.0 ├── source-preview-pug@0.2.0 ├── source-preview-sass@0.1.6 ├── source-preview-stylus@0.1.5 └── terminal-plus@0.14.5
- gh1 10y agoMy atom crashes every time I try to open a huge text file (containing data of some sort). Other text editors handle them just fine. This time they added a configuration option for the large file warning threshold. This isn't enough. Anyone else have the same problem?
- nkg 10y agoYup, every time I accidentaly open a minified file, it hangs for a minute.
- justinsaccount 10y agoThat can be problematic for reasons other than size. Usually minified files will not contain any newlines, meaning that not only is the file rather large, it is effectively all on a single line. I've seen things like vim have problems with files like that, I think mostly from trying to syntax highlight the visible region.
- mrspeaker 10y agoEspecially problematic as things turn up in search results, so you click on them, then realize it's a build file and you can go get a coffee
- thewhitetulip 10y agoI used to have this problem with Atom a long time ago. It is slow for huge files. I switched to visual studio code for this reason, despite being on the same shell, vscode is way faster than atom
- JorgeGT 10y agoI have the same problem, as I often need to inspect large text files resulting from experimental measurements or fluid dynamics simulations.
- skybrian 10y agoUse Atom for source code and another editor for large text files (such as logs).
- wyldfire 10y agoI've got mixed feelings about Atom. I've been using it a bunch for python and markdown. Last I checked there was mediocre support for having smarter indentation behavior w/Python. And it does choke on very large files as reported by another HN commenter. But on the bright side it's very clear and useful to have python lint output from pyflakes or similar. gvim+pyflakes is decent, but Atom's presentation feels more modern. Atom's markdown renderer is very convenient.
- josteink 10y agoI haven't really used Atom much, but from the sound of it, Visual Studio Code should be a drop in replacement which has all your needs covered. Python in VS Code is great. Best debugging experience I've had with python. Disclaimer: Emacs user.
- ivoras 10y agoAnd it still doesn't support non-US keyboards on Windows? :( Can anyone use it to type characters including the AltGr modifier?
- JonathonW 10y agoAs mentioned in the linked document, this will be addressed in 1.12 (which is in beta now, and will be released in a month or so, assuming they meet their usual cadence).
- josteink 10y ago> And it still doesn't support non-US keyboards on Windows? :( A text editor which doesn't support keyboards after having been out for years? Just ditch that thing for something this side of the millennium marker eh? Emacs, Vim, VS Code or whatever. They all support keyboards and they're all open source too.
- tomatsu 10y ago> Just ditch that thing for something this side of the millennium marker eh? AltGr worked fine in DOS editors like the Borland Turbo C 1.0 "IDE" from 1987.
- josteink 10y agoIt was an intentional stab at an absolutely mind-blowing lacking. I thought the Emacs reference would give it away, but oh well.
- qwertyuiop924 10y agoFor those of you not in the know, the modified TECO would eventually become the first version of EMACS was built be RMS somewhere between '72-'74. GLS and RMS consolidated a collection of custom macros floating around the AI lab into the first real version of Emacs in '76, on ITS. This was radically different from the Emacs of today, but it was Emacs. The first public release of GNU Emacs, the emacs which, along with its derivatives, is pretty much the only one in use today (save those oddballs using lispms, and the other oddballs using Hemlock derivatives), was released in 1984, and is 32 years old. The original emacs is 40 years old.
- transcranial 10y agoIf anybody likes transparent backgrounds, I wrote up a quick guide on how to enable it for Atom: https://github.com/transcranial/atom-transparency https://github.com/transcranial/atom-transparency
- qwertyuiop924 10y agoDo you finally have an uniform buffer model, so that text buffers get treated the same as other buffers/windows/whatever atom is calling them? No? Well, then, I'm still not using Atom: unlike many, I don't mind JS, but not having a uniform buffer model is a major regression from Emacs, and the features we're getting instead just don't cut it.
- groovy2shoes 10y agoI remember when Emacs stood for “Eight Megabytes And Constantly Swapping”. And now Atom comes along... “Application To Overflow Memory”? In another 20 years, will Atom be considered “lightweight” the way Emacs is now? Will Atom even still be around? I'm fairly confident Emacs will still be around…
- qwertyuiop924 10y agoI've got 8 gigs of ram, I'd like to see it try: the problem isn't memory usage, it's weak, inconsistent abstractions.
- madenine 10y agoOnly thing keeping me with Atom is Hydrogen[0], which lets me have all the things I like about jupyter notebooks without some of the things I don't like about jupyter notebooks. I've tried VS Code and liked it - if anyone knows of an equivalent/replacement for Hydrogen in VS Code I'll make the switch. [0] https://atom.io/packages/hydrogen https://atom.io/packages/hydrogen
- octref 10y agoTake a look at Python extension for VSCode[0]. Excerpt from feature section: Scientific tools (Jupyter/IPython) - Executing blocks of code (cells) in a Jupyter Kernel - Managing kernels (restarting, stopping, interrupting and selecting different kernels) - Viewing interactive graphs, HTML, SVG, laText output from Jupyter from within Visual Studio Code [0]: https://github.com/DonJayamanne/pythonVSCode https://github.com/DonJayamanne/pythonVSCode
- edditoria 10y agoPeople said V8 is power hungry and drain the battery so much. A few days ago I forgot to bring the power adaptor, so I have no choice but run on battery. Then, I try again today. And here is the result: Day 1: Atom and Google Chrome: https://mobile.twitter.com/Edditoria/status/785848811604377601/photo/1 https://mobile.twitter.com/Edditoria/status/7858488116043776... Day 2: Sublime Text and Safari: https://mobile.twitter.com/Edditoria/status/785848811604377601/photo/2 https://mobile.twitter.com/Edditoria/status/7858488116043776... I didn't disable any packages and extensions, because I need them for daily work. So the result represent what I actually need. I also intended to avoid activities other than coding and checking email. In short, Sublime Text and Safari survive longer. But Atom and Chrome are usable, at least. For me, I will continue to use Atom and Chrome. Because Atom is more direct and user-friendly to me, and I feel much better on Chrome Dev Tool (sorry but feel better than Firefox). Another reason is that I can show others who want to learn programming. The licence for ST is not cheap for them. I know 2-days testing is not enough, so would try again if I can. First time to comment here. Sorry for bad English.
- qwertyuiop924 10y agoWhy not teach the newbies on Emacs? I'm only half joking. In its graphical incarnation, it's not exactly pretty, but fairly user-friendly, minus a few relatively easy-to-learn keyboard shortcuts. Within month it'll be second nature to them. But I still wouldn't recommend it.
- gabrielgoh 10y agomy major gripe with emacs and vim is that the keyboard shortcuts (out of the box) are completely alien. This really fucks with my muscle memory and actually slows me down. I'm sure this is fixable with complex config files, but that sorta defeats the purpose of emacs, where you should be able to edit files from the command line anywhere without messing about too much.
- qwertyuiop924 10y agoTeach 'em how to get to CUA-mode then, which has all the familiar shortcuts.
- sotojuan 10y agoOne thing I love about Atom (could apply to other Electron editor) that I admit is very niche is that I can override color schemes using CSS. I just open it in dev mode, find the class of the syntax I want to color it myself, and fix it with CSS. A lot of color schemes are imperfect and I'm weird so it bothers me a lot. With Atom I can fix them in a very short time and I don't need to learn anytihng new.
- kinkdr 10y agoI want to like Atom but I find the indentation problems make it unusable for code for me. I really wish the would focus on fixing that before adding more secondary features.
- apetresc 10y agoWhat indentation problems, out of curiosity?
- kinkdr 10y agoIt just isn't able get indentation right. For example, just a random snip out of a random file: let tree = root.render({state: store.getState(), push: store.push}) let rootNode = createElement(tree) let oldRootNode = document.getElementById('root') oldRootNode.parentElement.replaceChild(rootNode, oldRootNode) store.subscribe(() => { let newTree = root.render({state: store.getState(), push: store.push}) let patches = diff(tree, newTree) rootNode = patch(rootNode, patches) tree = newTree }) VS will get the indentation right, but Atom will not(notice how "let rootNode..." and everything after that is pushed in).
- BinaryIdiot 10y agoHmm are you using a special plugin for this? I haven't had a single indentation issue with atom and I'm also writing JavaScript all day. The only issue I've seen is opening an older file that mixes tabs and spaces when ch sometimes makes it harder to read. Even the beautify plugin seems to work well for me.
- kinkdr 10y agoOps, you are right. That example was because of the "sane indentation" plugin, that I installed in the hope to get better indentation. Below is an example where plain Atom, without plugins, doesn't get indentation right (notice how it pushes "onEmailChange" under "login"): const login = (email, password, remember) => a.chain( submitting(true), a.ajax({ request: { url: '/api/sessions', method: 'POST', data: { email, password }, }, callback: (status, data) => ( a.chain(submitting(false), a.setToken(data.token, remember), a.setUserId(data.userId), a.setAuth)), }) ) const onEmailChange = (push, value) => { push(emailChange(value)) }
- brazzledazzle 10y agoDespite the virtually guaranteed negativity toward Atom in any post about Atom on HN I'm a happy user and it works quite well for me.
- Dowwie 10y agoI love atom. I tried VS and went right back to Atom.
- mastazi 10y agoI had to abandon Atom due to a bug which basically makes it impossible, on Windows, to un-maximise the Atom window [1]. This was a huge deal breaker for me, I hope it is fixed soon. EDIT: I love Atom in general, it has some very convenient features, e.g. the git info integrated in the UI and the file sidebar options which are more complete than other editors; I did not mean to be overly negative with my comment and I'm sorry if it seemed that way. [1] https://github.com/atom/atom/issues/10720 https://github.com/atom/atom/issues/10720
- omaranto 10y agoAre there any Atom users around who used to use either Emacs or Vim and who might share a few things they feel Atom does better? I'm curious about these modern editors and sometimes wonder what they have to offer besides possibly being easier to learn.
- puppetmaster3 10y agoI love Atom! I have 15 years dev exp. Most other IDE have similar productivity to each other - Atom is a step up.
- Brajeshwar 10y agoI really want to love Atom. Even with the least plugins enabled, it crashes pretty frequently for me. Then, I moved back to Sublime. I've done this ceremony about 3 times and I think it is time to just give up until some miracle happens in Atom's land.
- ksec 10y agoAre we save to assume VSCode has supercede Atom? P.S - Do VSCode team contribute back to Electron?
- mcjiggerlog 10y agoI really wish someone had cracked native vim support in a modern gui editor - I'm interested in using something like Atom but until I can do basic text editing with 100% native vim (for productivity and health reasons), I really can't make the switch. Has there been any progress on this? Does neovim make this easier?
- Jean-Philipe 10y agoI agree. I'm using Atom now since a few weeks, and really like it, but its vim-mode is really not great, and the development of vim-mode stalled. I have high hopes on neovim, but I think it will only play out in a few years from now. Until then, there's a lot of work to do.
- mcjiggerlog 10y agoI tried vim-mode too, but just trying to replicate vim is never going to work, it needs to be native. It took me about 10 seconds of editing to get blocked by an unsupported feature.
- lukewrites 10y agoWhat I love about Atom and haven't been able to find in Sublime is the terminal-plus[1] plugin. I know about SublimeREPL, but just don't think it's as nice as terminal-plus. Any suggestions? 1. https://github.com/jeremyramin/terminal-plus https://github.com/jeremyramin/terminal-plus