3 ms·
I switched to VS Code last week after using Atom almost since it was released (probably 0.70.0 or so) and I immediately decided I wasn't going to switch back. I
by maaarghk 10y ago
I switched to VS Code last week after using Atom almost since it was released (probably 0.70.0 or so) and I immediately decided I wasn't going to switch back. It's just so much smoother, and the debugger (+ requisite extension for PHP) is really nice. Based on some of the comments here I might try Atom again at 1.13 (I tried VS Code back when it was new as well), but for now I reckon VS Code is miles ahead.
- brilliantcode 10y agoI also share the same experience, I really wanted to get into Atom but found the experience clunky, can't quite put a finger on it, but Atom felt more like a web app running on a thin client, whereas VS Code, while I know it's the same deal, feels very much like a desktop IDE. Yup, definitely not going back unless they fuck it up which I highly doubt, Microsoft of 2016 is very different from 2006.
- tauchunfall 10y agoIt not gets mentioned often, but the settings pane in Atom is unsatisfactorily complicated. Three subpages ("Packages", "Updates", "Install") to manage packages. Information for packages (name, version, downloads, readme, settings) are mixed together in a chaotic single page. VS Code has a single sidebar subpane to list extensions. For each package the information (name, version, author, downloads, readme, extension points, changelog) are either always visible or separated clearly into subpages.
- piotrkubisa 10y agoYou made me curious, how did you configured VS Code with PHP. I have bad experience especially with that language in VSC. In Atom and Sublime there are many various extensions which helps you get better _IDE experience_ (autocomplete. formatters, linters). Personally, I found Crane for VSC [1] as a very limited tool for autocompletion. It works really bad with frameworks like Laravel or Symfony where developers use various design patterns which implements a lot of abstraction difficult to index (facades, factory, repositories, service providers, @inheritdoc). Using Sublime you may probably use SublimeCodeIntel [2] with PHPIntel [3], as their best feature is I would mention that they work very fast for large codebase and also gives great suggestions for code i.e. suggests paramters or next objects in namespaces (when you are typing backslashes (\) code intel will start guessing what objects are under specified path and it works flawlessly just like in vim or bash when you are pressing tab after `cd`). Atom is not bad either, the atom-autocomplete-php [4] package is really great to improve autocompletion for PHP Code. When I have been using it recently I was really enjoying how many decent features PHPStorm has been implemented in open-source Atom, e.g. if you add a class from not imported namespace it will be automatically added. Such a simple operation, but it is interesting how many editors does not support that. Hopefully, php devs have some awesome tools to annoy them a whole 9-to-5 which are: `phpcs` (obviously), `php -l` (popular), phpmd (rarely used) and phpcpd (well, most php devs haven't heard about that tool). Since, aforementioned linters are binaries their implementation in editors like VSC, Sublime or Atom is not a problem. There are few differences between editor and their linters - they are mostly the same but each editor have another way to display problems in your code. It is rather matter of taste I would say. Well, I really miss "unused use-namespaces" in phpmd. Personally, I dislike XDebug. VSC gives a nice user experience when debugging code with it. But all three editors supports XDebug somehow. Maybe Sublime puts a whole stacktrace, breakpoints, local variable into editor viewport as "plain text" but you may got used to like in Atom, where there are additional panes to see Xdebug output. Personally, I would go with Backfire if we speak about profiling, which is very painful in XDebug. [1]: https://github.com/HvyIndustries/crane https://github.com/HvyIndustries/crane [2]: https://packagecontrol.io/packages/SublimeCodeIntel https://packagecontrol.io/packages/SublimeCodeIntel [3]: https://packagecontrol.io/packages/PHPIntel https://packagecontrol.io/packages/PHPIntel [4]: https://atom.io/packages/atom-autocomplete-php https://atom.io/packages/atom-autocomplete-php
- octref 10y agoGive this a try: https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-pack https://marketplace.visualstudio.com/items?itemName=felixfbe...