Visual Studio Code: Difference between revisions

From pronounmail wiki
Jump to navigation Jump to search
Created page with "'''visual studio code''' ('''vscode''') is a popular text & code editor created by Michael H. Soft. you can edit text in it. of note for this guide is its "[Remote - SSH][marketplace]" plugin, which lets you edit files over a secure shell (SSH) session. for the time being, this is ''probably'' the easiest way to edit your pronounmail website. [https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh [marketplace<nowiki>]</nowiki>] using it is p..."
 
No edit summary
Line 18: Line 18:
== Connect to pronounmail Dot Com ==
== Connect to pronounmail Dot Com ==
Click the little "Open a Remote Window" button in the bottom left of the  window, and select "Connect to Host..." from the menu that appears. In the text box, type <code><your username>@pronounmail.com</code> and hit enter. If you don't have [[Keys|SSH key authentication]] set up yet, you'll be prompted for a password.
Click the little "Open a Remote Window" button in the bottom left of the  window, and select "Connect to Host..." from the menu that appears. In the text box, type <code><your username>@pronounmail.com</code> and hit enter. If you don't have [[Keys|SSH key authentication]] set up yet, you'll be prompted for a password.
== Open Your Site ==
== Open Your Site ==
If all goes well, you should now be connected to the server<ref>if it doesn't work, don't hesitate to yell about it on the discord!!</ref>. You can now select "Open Folder" from the File menu, navigate to your site folder  (it'll be called <code>public_html</code>) and edit away.
If all goes well, you should now be connected to the server<ref>if it doesn't work, don't hesitate to yell about it on the discord!!</ref>. You can now select "Open Folder" from the File menu, navigate to your site folder  (it'll be called <code>public_html</code>) and edit away.


good luck!!!
good luck!!!

Revision as of 12:48, 24 August 2024

visual studio code (vscode) is a popular text & code editor created by Michael H. Soft. you can edit text in it.

of note for this guide is its "[Remote - SSH][marketplace]" plugin, which lets you edit files over a secure shell (SSH) session. for the time being, this is probably the easiest way to edit your pronounmail website.

[marketplace]

using it is pretty simple:

Download VSCode

You can download VSCode from its website or using your favourite package manager.

Install the Extension

Open up VSCode, press CTRL + P and type ext install ms-vscode-remote.remote-ssh. Hit enter and it should install the extension for you.

(I think there should be an image here.)

Connect to pronounmail Dot Com

Click the little "Open a Remote Window" button in the bottom left of the window, and select "Connect to Host..." from the menu that appears. In the text box, type <your username>@pronounmail.com and hit enter. If you don't have SSH key authentication set up yet, you'll be prompted for a password.

Open Your Site

If all goes well, you should now be connected to the server[1]. You can now select "Open Folder" from the File menu, navigate to your site folder (it'll be called public_html) and edit away.

good luck!!!

  1. if it doesn't work, don't hesitate to yell about it on the discord!!