Last updated: November 2019
If you’ve already disregarded this editor based on the Visual Studio prefix in its name, please don’t. There really is no relation to Visual Studio, and I suspect that the marketing team at Microsoft were entirely responsible for the naming prefix.
Unlike Atom, Code really is fast. If you’re used to the speed of ST3 then you won’t be disappointed. It feels like a lightweight editor with a few useful IDE features included, such as Git support, debugging integration, and intelligent code completion.
Here are the extensions I use:
- Alignment: Align characters (such as equals or colons) in a multiple line selection.
- Autocomplete WordPress Hooks: Autocomplete provider for WordPress action and filter names.
- Bracket Pair Colorizer 2: Allows matching brackets to be identified with colours.
- Dash: Dash documentation integration.
- GitHub Pull Requests: Allows you to review and manage GitHub pull requests in Code.
- Incrementor: Advanced increment / decrement actions for just about anything.
- Open in GitHub: Jump to a source code line on GitHub, Bitbucket, Visualstudio.com, and GitLab.
- PHP Debug: The Xdebug client for VS Code.
- PHP DocBlocker: More easily create docblocks for your PHP code.
- PHP Intelephense: A high performance and feature rich PHP language server that provides intellisense, code completion, full symbol search, and a bunch more. (I’ve found this to be much more performant and more reliable than the more popular PHP Intellisense extension.)
- phpcs: Hooks up the phpcs sniffer to VS Code.
- Rainbow CSV: Highlight columns in CSV files in different colours.
- Remote – SSH: Lets you use any remote machine with a SSH server as your development environment.
- Sort JSON Objects: Alphabetically sorts the keys in selected JSON objects.
- Sublime Text Keymap: Imports keybindings (and settings) from Sublime Text to VS Code.
- Trailing Spaces: Highlight and delete trailing spaces in files.
I also use several linter extensions and a bunch of language extensions. There’s plenty of them.
If you’re a stickler for Sublime Text I’d definitely recommend giving Code a try, along with the Sublime Text Keymap extension.