
- #Visual studio code ssh remote how to#
- #Visual studio code ssh remote install#
- #Visual studio code ssh remote download#
I like to have access to the entire WordPress tree in case I want to learn from the core files or inspect other plugins. To create a shortcut to other folders on your server, use the Add Folder to Workspace… feature. You can either click, type, or paste the path, such as /var/Finally, see WordPress files loaded in the Explorer on the left.

Reach the Open folder… panel by either from the File menu, from the Start section on the home screen, or hit Ctrl+ K and then Ctrl+ O.In VS Code, the same thing is possible to achieve in multiple ways. I can’t tell if I’m working locally or not! Remote development with Visual Studio Code is anything but slow. Waiting for this every time I begin working is a small price to pay for being able to develop in the cloud. Don’t worry this happens in a new window… close the old one.Įventually, the indicator in the corner will say SSH: aws-ec2. VS Code gets this from the extensionless config file you created. Choose the name you set as Host, such as aws-ec2.Begin typing the word connect so the auto-suggestion Remote-SSH: Connect to Host… will come up and press Enter.Press the F1 key or click the dark orange button in the corner.Remote Development with Visual Studio Code Connect to server If you are stuck, more detailed information is in the extension’s details. After that, you’ll see it came with others that you can happily remove: Remote – Containers and WSL.

#Visual studio code ssh remote install#
Once you have VS Code, also install the Remote Development (by Microsoft) extension pack. The remote development works just fine with the regular version, that comes with the blue icon. I chose Visual Studio Code Insiders edition, which is cutting-edge with more frequent updates, and a green icon.
#Visual studio code ssh remote download#
If you haven’t already, download VS Code (one of their installers). Find it among optional features and click Install. If you don’t see OpenSSH Client in the list, then click Add a feature. Search the Start Menu for Manage optional features. There is a built-in SSH client, but it used to be hidden by default.


#Visual studio code ssh remote how to#
So what is my setup to code WordPress plugins? I’ll teach you how to start remote development with Visual Studio Code on Amazon EC2. Let’s get you into developing in the cloud! Shall we? Long gone are the days of installing a local XAMPP stack and writing code in Sublime Text.
