# How to Set Up the PxPlus Visual Studio Code Extension

> Source: https://manual.pvxplus.com/how-to/how-to-use-pxplus-vs-code-ext

Starting with PxPlus 2024, you can maintain PxPlus programs and text-based PxPlus programs using Visual Studio Code. Visual Studio Code is an industry-leading, free code editor, which has grown in popularity with developers. It is available on Windows, Linux and macOS platforms.

PxPlus programs and text-based PxPlus programs that are opened via this **[PxPlus Extension](https://manual.pvxplus.com/visual-studio)** are recognized as PxPlus programs by Visual Studio Code. This enables all the Visual Studio Code features and allows PxPlus programs to be edited with syntax checking.

![](https://manual.pvxplus.com/migration-assets/a7a9bfc99532d860e11e52a8cfab4f58169692333ddbfe72c6b7fb14a64cbeb3.jpg)

In this tutorial, you will learn how to:

- **[Install and Set Up the PxPlus Extension in Visual Studio Code](https://manual.pvxplus.com/how-to/how-to-use-pxplus-vs-code-ext#setup)**
- **[Edit a PxPlus Program](https://manual.pvxplus.com/how-to/how-to-use-pxplus-vs-code-ext#editpgm)**
- **[Create a New PxPlus Program](https://manual.pvxplus.com/how-to/how-to-use-pxplus-vs-code-ext#createpgm)**

## How to Install and Set Up the PxPlus Extension in Visual Studio Code

These steps show you how to install and then set up the PxPlus Extension in Visual Studio Code:

|  |  |
| --- | --- |
| 1\. | Download and install Visual Studio Code from the Visual Studio Code website **[https://code.visualstudio.com/](https://code.visualstudio.com/)** for your platform (i.e. Windows). If you are new to Visual Studio Code, this website is a great resource to learn more about it. |
| 2\. | On the **Activity Bar** on the left side of Visual Studio Code, click the **Extension** icon. This displays the **Extensions** view and the **Extensions Marketplace**.<br>![](https://manual.pvxplus.com/migration-assets/6fe82d3f07dbad001bedb9ebbe630badd568d5727a3135b80d72e24f7adb2f7d.png) |
| 3\. | Find the PxPlus extension by entering *PxPlus* in the **Search Extensions in Marketplace** input box.<br>![](https://manual.pvxplus.com/migration-assets/7a3054e4612bb4d039a6b83d5cbb246c5775f2b75b335eaf1ecb747919455eaa.png) |
| 4\. | In the displayed list, click on **PxPlus** and then click the **Install** button to install the PxPlus extension.<br>![](https://manual.pvxplus.com/migration-assets/67d4e5a3ec1227121aa92537f33a1281d1a95ea9677a11ee3e138e64bd4bf88a.png) |
| 5\. | Once the PxPlus extension is installed, open the Visual Studio Code settings. To do this, click the **Gear** icon and select **Settings** from the displayed menu.<br>![](https://manual.pvxplus.com/migration-assets/87c5f42148c0bf06ca5220888c5127f0132f6aff1d67d058aed2b700ce934a84.png) |
| 6\. | Expand the **Extensions** node.<br>![](https://manual.pvxplus.com/migration-assets/8f6305f652d74f03cf2922c6d7e64f2a3717fe626ed4feffef0072e4e1657ba1.png) |
| 7\. | Scroll down the list and select **PxPlus**.<br>![](https://manual.pvxplus.com/migration-assets/ef04018804633936d2cf4b7eced1cf5a7c170a158ec0b40b62b56cca1f65a21e.png) |
| 8\. | Under the **PxPlus Path** sub-heading, enter the path to the directory containing the ***activated*** PxPlus or WindX Plug-in, ***excluding the filename*** (e.g. C:\\PVX Plus Technologies\\PxPlus-64 2026 or C:\\PVX Plus Technologies\\WindX Plugin 2026).<br>![](https://manual.pvxplus.com/migration-assets/ca0b775cb6fa8459b7796715f1c80679d286bc5dda56a8a14fa586da765ed247.png) |
| 9\. | If you plan to work with text-based PxPlus programs, you ***must*** specify which file extensions Visual Studio Code should consider as text-based PxPlus programs by adding them one at a time.<br>Under the **Text Program File Extensions** sub-heading, click the **Add Item** button.<br>![](https://manual.pvxplus.com/migration-assets/3798b00bf31c4716b3a4fa54a57648f98cfa195991e52745a9c67d35199ed0bb.png)<br>Enter a ***.xxx*** file extension in the input box and then click **OK** to add it to the list. By default, the only extension in the list is ***.pxprg***.<br>To add more file extensions, repeat this step as many times as needed.<br>![](https://manual.pvxplus.com/migration-assets/8bdb4b1d2d598366e48f2ad18ca38a9987b5689e37756ecc9669f1d5a08034a1.png)<br>To ***edit*** a file extension after it is added, select it from the list and click the **Pencil** icon. Edit the extension in the input box and click **OK**. To discard your changes, click **Cancel**.<br>To ***delete*** a file extension, select it from the list and click the **X** icon. The extension is removed from the list.<br>![](https://manual.pvxplus.com/migration-assets/bf206e071d31de113721dbe772f16e6b11bc470e4d83cb7f846ae7c1d781bd28.png) |
| 10\. | If pointing to a **WindX** Plug-in, you ***must*** also set up the WindX connection.<br>*(Support for WindX connections was added in PxPlus 2026.)*<br>Under the **WindX** sub-heading, specify what type of WindX connection to use and then provide the WindX server IP address or hostname, the port, and whether the host is using SSL/TLS.<br>Important Note:<br>The port is not automatically set based on WindX connection type, so you *must* set it manually.  <br>  <br>The default ports are:  <br>  <br>· 4093 for Simple Client Server  <br>· 10000 for NTHost or the Application Server  <br>· 22 for SSH<br>![](https://manual.pvxplus.com/migration-assets/db5d4d7aa171256538dac41b5ce7c3cdc3999aee8615c41af48812bb8677238a.png) |
| 11\. | If using **WindX SSH**, you ***must*** also set up the SSH connection information.<br>Under the **WindX-SSH** sub-heading, enter the **Username** and then click **Set password** to securely save the SSH password. You will also need to specify the full path to the remote PxPlus executable on the WindX SSH host, ***including the filename*** (e.g. /home/user/pxplus2026/pxplus).<br>![](https://manual.pvxplus.com/migration-assets/36bedd7bf89699a8fc3e386184e3a5f9048392e854c39e74726ecf1599fb5b1f.png) |
| 12\. | If you plan to **[Compile or List PxPlus Programs](https://manual.pvxplus.com/visual-studio#compilelist)**, then you ***should*** also specify the output directories and file extensions.<br>Under the **Conversion** sub-heading, enter the **Compiled Output Directory** and/or the **Listed Output Directory**. You can also optionally specify a file extension to be added to the output file for both *compile* and *list*.<br>![](https://manual.pvxplus.com/migration-assets/c9db45de13b058369b5675e8d63feb24ee14a447f2f9cbe7f916eac2e40cbdca.png) |
| 13\. | Review the other **[PxPlus Extension Settings](https://manual.pvxplus.com/visual-studio#settings)** and select those that apply to your needs.<br>![](https://manual.pvxplus.com/migration-assets/3e35663b063043c8f83f8f2691e4655ed507344956f73661d90d5f258f2531ea.png) |

With the PxPlus extension now set up, you are ready to edit or create a PxPlus program. Refer to the steps below.

## How to Edit a PxPlus Program

To start editing PxPlus programs, you first need to add a PxPlus folder to the workspace. See **[Open and Edit Existing PxPlus Programs](https://manual.pvxplus.com/visual-studio#edit)**.

These steps show you how to edit a PxPlus program:

|  |  |
| --- | --- |
| 1\. | Select the directory where the program to edit is located.<br>For this example, click the **Explorer** icon on the **Activity Bar** on the left side of Visual Studio Code. This displays the **Explorer** view. Click the **Open PxPlus Folder** button.<br>![](https://manual.pvxplus.com/migration-assets/b426a88ef04af76affff6caf58f69c7ecade499031c675eb233dc9499c6b7f06.png) |
| 2\. | The **Select Folder** window is displayed. Select the directory where the program to edit is located and click **Select folder**.<br>![](https://manual.pvxplus.com/migration-assets/98e41fd3f36e19d7b20e5814764a1e90e0cecca5a5e13a539946fed2a490f143.png) |
| 3\. | The selected directory is displayed in the **Explorer** view on the left where you can select the program to edit.<br>Note:  <br>If the program has a password, you will be asked to enter it.<br>![](https://manual.pvxplus.com/migration-assets/427248fe7a86be884d8520787dc0c8dce5662f52470fff2ea4e59cc5d3e04af4.png) |
| 4\. | Syntax errors are identified with a wavy line, and the number of errors is displayed beside the program name.<br>In addition, hovering over the error displays a dialog with additional details about the error.<br>![](https://manual.pvxplus.com/migration-assets/69831cf3516677eec9ea697482ac0d0fb8dd330f02fe3545fdef1a95bf3f1cce.png) |

## How to Create a New PxPlus Program

These steps show you how to create a new PxPlus program:

|  |  |
| --- | --- |
| 1\. | To create a new program and add it to your directory, see **[Create New PxPlus Programs](https://manual.pvxplus.com/visual-studio#create)**.<br>For this example, click the **PxPlus** icon in the upper right corner. From the displayed list, select **Create a PxPlus Program**.<br>![](https://manual.pvxplus.com/migration-assets/6b046baf1d8ada56350b065905357b38e6b09822867108eadfc654d58b4868d3.png) |
| 2\. | The **Create a new PxPlus program** window is displayed. Enter the **File name** of the new program and click **Save**.<br>![](https://manual.pvxplus.com/migration-assets/42ca86491578798ff032d54265dba8cc2e885af6babd9a0bc0ed4024698fa58e.png) |
| 3\. | You can now create the new PxPlus program.<br>![](https://manual.pvxplus.com/migration-assets/18b020e4b7025c850f0ae564e647223cedf000a2eb494588b04342626c4d747f.png)<br>For example, you can simply start typing:<br>![](https://manual.pvxplus.com/migration-assets/22a581c991dde0ba52354da31c184887a82197551c09dfb6cf675c21fe02e412.png) |

## See Also

**[PxPlus Visual Studio Code Extension](https://manual.pvxplus.com/visual-studio)**
