222 points · by madspindel · 10y ago · 126 comments
Day 1: Atom and Google Chrome: https://mobile.twitter.com/Edditoria/status/7858488116043776...
Day 2: Sublime Text and Safari: 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.
It looks a bit like this - https://www.dropbox.com/s/vqjrz2wiwuxho4z/Screenshot%202016-...
The machine was in sleep mode in day 1, but I forgot to put it to sleep mode before closing the screen (I hate this the most at OSX 10.10) in day 2. You can see that there is a little bit different between 2 charts.
This machine is MacBook Air 13" 2013. The battery goes down to 86% design capacity (7150 mAh) according to coconutBattery.app
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.
I don't know anyone that learned it as a first editor (everyone already knew vim or emacs) but it seems like it could be a much better experience for someone new.
Still nowadays, I only use it when I cannot use my favorite set of IDEs, usually Clojure or being in a space constrained place.
Although it could probably be argued now that Atom has a better plugin ecosystem in regards to your comments about customization.
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?
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.
WebStorm is doing pretty well, except that I don't like the customization options ( they are 1/10 compared to Atom / Sublime ).
But kudos for Atom team, because they brought Electron, which is a huge game-changer.
It's better because much of the features many people hope to have is built by the professional team and built-in. You don't have to waste a weekend to check 3 alternatives for every feature you want that may not be as good in the end as they are created by developers whose skill vary greatly.
I got tired of tuning the editor when things work out of the box and even better than properly equipped atom/sublime so I can actually get stuff done.
I hope these discussions include more of other non free apps than free vs free.
Outside of that, i havent had this happen. However, if it is simply annoying in your editor you can put them in .gitignore and either tell vscode to not list anything in the .gitignored list, or explicitly ignore files and folders by default.
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.
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
Thanks for mentioning this, I wouldn't have noticed otherwise :).
This time they added a configuration option for the large file warning threshold. This isn't enough.
Anyone else have the same problem?
I think the problem is simply that their stack handicaps them severely in this respect. I need my text editor to be able to handle large files and to be extremely fast.
The kind of files that choke Atom are large data files that there are usually better/different tools for, that have very different requirements from code editing. And that has little to do with the relative huge-ness of your projects.
It's already been proven that Javascript can be fast for this kind of thing. So there is something in the infrastructure that can be improved.
Last year I was working on a game demo under time constraints and to cut a corner I base64 encoded a bitmap font. Every time I opened that 32KB file it began to slow down because that one big line.
That being said I still use atom daily but not one big files or ones that contain big lines.
I've seen things like vim have problems with files like that, I think mostly from trying to syntax highlight the visible region.
When you need to edit data files or other huge files - don't use Atom.
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.
Python in VS Code is great. Best debugging experience I've had with python.
Disclaimer: Emacs user.
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).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
File Icons - https://atom.io/packages/file-icons
Sort Lines - https://atom.io/packages/sort-lines
...and a pile of linters is most of my setup.
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.5Even better would an option to disable native full-screen in macOS. Does anybody know if that is likely to ever happen?
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.
Can anyone use it to type characters including the AltGr modifier?
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.
AltGr worked fine in DOS editors like the Borland Turbo C 1.0 "IDE" from 1987.
I thought the Emacs reference would give it away, but oh well.
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.
Has there been any progress on this? Does neovim make this easier?
P.S - Do VSCode team contribute back to Electron?
I have 15 years dev exp. Most other IDE have similar productivity to each other - Atom is a step up.
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.