# PxPlus Visual Studio Code Extension

> Source: https://manual.pvxplus.com/visual-studio

The PxPlus Visual Studio Code extension is an extension for Visual Studio Code to enable working with PxPlus programs.

Important Note:

*A local PxPlus 2024 or a WindX PxPlus 2026 (or newer) that is properly activated with any license type is required.*  
  
(Support for WindX connections was added in PxPlus 2026.)

It provides the following functionality:

- **[Create](https://manual.pvxplus.com/visual-studio#create)** new PxPlus programs
- Open and **[Edit](https://manual.pvxplus.com/visual-studio#edit)** existing PxPlus programs
- Work with binary PxPlus programs
- Work with text-based PxPlus programs
- PxPlus syntax highlighting
- **[Code Navigation](https://manual.pvxplus.com/visual-studio#codenavigation)**
- PxPlus program error diagnostics
- **[Compiling or Listing](https://manual.pvxplus.com/visual-studio#compilelist)** of PxPlus programs
- **[Auto Complete](https://manual.pvxplus.com/visual-studio#autocomplete)** based on PxPlus language elements (directives, mnemonics, system functions, system parameters, system variables) and the current document
- **[Compare](https://manual.pvxplus.com/visual-studio#compare)** binary PxPlus programs
- **[View Properties](https://manual.pvxplus.com/visual-studio#properties)** for binary PxPlus programs

See the tutorial **[How to Set Up PxPlus Visual Studio Code Extension](https://manual.pvxplus.com/how-to/how-to-use-pxplus-vs-code-ext)**.

*(The PxPlus Visual Studio Code extension was added in PxPlus 2024.)*

![](https://manual.pvxplus.com/migration-assets/75908161f71f8fa090190cd029eb146de08bac0e99b33dd68bd7e49ac4e44949.png)

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

Important Note:

*A local PxPlus 2024 or a WindX PxPlus 2026 (or newer) that is properly activated with any license type is required.*

|  |  |
| --- | --- |
| 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**. |
| 3\. | Find the PxPlus extension by entering *PxPlus* in the **Search Extensions in Marketplace** input box. |
| 4\. | In the displayed list, click on **PxPlus** and then click the **Install** button to install the PxPlus extension. |

Before you can use the PxPlus Visual Studio Code extension, you ***must*** tell the extension where PxPlus or a PxPlus WindX Plug-in is installed:

|  |  |
| --- | --- |
| 5\. | Open the Visual Studio Code settings. To do this, click the **Gear** icon in the bottom left corner and select **Settings**. |
| 6\. | Expand the **Extensions** node and select **PxPlus**. |
| 7\. | 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). |

If you plan to work with text-based PxPlus programs, you ***must*** specify which file extensions Visual Studio Code should recognize as text-based PxPlus programs:

|  |  |
| --- | --- |
| 8\. | Under the **Text Program File Extensions** sub-heading, add a file extension to the list by clicking the **Add Item** button. Enter a ***.xxx*** file extension and then click **OK**.<br>To add more than one file extension, repeat this step as many times as needed. By default, the only extension in the list is ***.pxprg***. |

If pointing to a WindX Plug-in, you ***must*** also set up the WindX connection:

|  |  |
| --- | --- |
| 9\. | Under the **WindX** sub-heading, you can 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 |

If using WindX SSH, you ***must*** also set up the SSH connection information:

|  |  |
| --- | --- |
| 10\. | Under the **WindX-SSH** sub-heading, you can 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). |

If you plan to compile or list PxPlus programs, then you ***should*** also specify the output directories and file extensions:

|  |  |
| --- | --- |
| 11\. | 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*. |

For a description of these and other settings, see **[PxPlus Extension Settings](https://manual.pvxplus.com/visual-studio#settings)**.

*(Support for WindX connections was added in PxPlus 2026.)*

## Workspace-Specific Settings

If you work on multiple projects, you may want different settings for different projects. For example, for one project, you may want **Suppress LET** *On*, and for another project, you want it *Off*. This can be accomplished with workspace-specific settings, which override global settings.

Click the **PxPlus >** **Edit Workspace Settings** menu item from the Explorer right click menu. This will create or open an existing ***pxpvsc.ini*** file in the workspace root directory. Within this file, you can uncomment the settings you want to override and specify the value you want to use for this project.

The settings name in the INI file match the settings name without spaces from within the Settings screen. If you hover over the setting in the Settings screen, you can see a tooltip with the name without spaces.

*(Support for workspace-specific settings was added in PxPlus 2026.)*

## How to Use the Extension

Once the extension is set up, you can work with PxPlus programs. You can:

- **[Create](https://manual.pvxplus.com/visual-studio#create)** new PxPlus programs.
- Open and **[Edit](https://manual.pvxplus.com/visual-studio#edit)** existing PxPlus programs.
- **[Compile or List](https://manual.pvxplus.com/visual-studio#compilelist)** PxPlus programs.
- Use **[Code Navigation](https://manual.pvxplus.com/visual-studio#codenavigation)** to save time and work more efficiently.
- **[Compare](https://manual.pvxplus.com/visual-studio#compare)** binary programs.
- **[View Properties](https://manual.pvxplus.com/visual-studio#properties)** for binary programs.

***Create New PxPlus Programs***

To create a new PxPlus program, use ***one*** of the following methods:

- Click the PxPlus icon in the top right corner of an Edit window and select **Create New PxPlus Program**.
- From the **File** menu or from the **Welcome** screen, select **New File**.
- Right click in the Explorer and select **PxPlus** > **Create New PxPlus Program**.
- A list of possible file types to create will display. From the list, select **Create a PxPlus Program**.
- Use the **Save** dialog to choose a pathname for your new program.

***Open and Edit Existing PxPlus Programs***

To start editing PxPlus programs, you first need to add a PxPlus folder to the workspace. This is initiated by using ***one*** of the following methods:

- Click the PxPlus icon in the top right corner of an Edit window and select **Add PxPlus Folder to Workspace**.
- Click the **Open PxPlus Folder** button in the Explorer window when no folders are open.
- Click the **PxPlus > Add PxPlus Folder to Workspace** menu item from the Explorer right click menu.

This will allow you to select a PxPlus folder to add to the workspace.

Any PxPlus programs or text-based PxPlus programs that are opened via this workspace will be recognized as a PxPlus program by Visual Studio Code. This enables all the features and allows PxPlus programs to be edited.

***Compile or List PxPlus Programs***

To compile a text-based PxPlus program or to list a binary/tokenized PxPlus program, use ***one*** of the following methods:

- Click the PxPlus icon in the top right corner of an Edit window and select **Compile** or **List**. This will allow you to select a folder (or folders) to perform the operation on the contents.
- Click the **PxPlus > Compile** or the **PxPlus > List** menu item from the Explorer right click menu. This will take the current selection of file and folders in the Explorer and perform the operation on the contents.

Any PxPlus programs or text-based PxPlus programs that are selected or in the selected directories (or their sub-directories) will be compiled or listed.

*(Support for compiling or listing PxPlus programs was added in PxPlus 2026.)*

***Use Code Navigation***

To navigate to different sections within a PxPlus program, use ***one*** of the following methods:

- Use the breadcrumb menu at the top of the editor tab. Click the **...** (*ellipsis*) to display a list of possible selections.

  ![](https://manual.pvxplus.com/migration-assets/d2a645672430ed05648639ee8361720c82fabe7c7de73ae7a0c5939845f4ce08.png)
- Select the **OUTLINE** section in the Explorer view to display a list of possible selections.

  ![](https://manual.pvxplus.com/migration-assets/326db48d4f94e7f38c042f8b7422dc08c05714853640173ef8d8af9ed974c12b.png)

The list includes all labels, functions, classes and methods defined in the program. Select an item in the list to jump to its location in the code.

*(Support for code navigation was added in PxPlus 2026.)*

***Compare Binary Programs***

To compare binary programs:

Important Note:

*PxPlus 2026 (or newer) is required.*

|  |  |
| --- | --- |
| 1\. | Open a binary PxPlus program in the editor. |
| 2\. | Right click anywhere in the editor. |
| 3\. | Select the **PxPlus** sub-menu. Select the **Compare Programs** option. |
| 4\. | The PxPlus **[Program Compare Utility](https://manual.pvxplus.com/toolkit1/program-compare)** is launched. |

*(Support for comparing binary programs was added in PxPlus 2026.)*

***View Properties for Binary Programs***

To view binary program properties:

Important Note:

*PxPlus 2026 (or newer) is required.*

|  |  |
| --- | --- |
| 1\. | Open a binary PxPlus program in the editor. |
| 2\. | Right click anywhere in the editor. |
| 3\. | Select the **PxPlus** sub-menu. Select the **Program Properties** option. |
| 4\. | The PxPlus **[Program Properties Utility](https://manual.pvxplus.com/toolkit1/sect1-1/c)** is launched. |

*(Support for viewing binary program properties was added in PxPlus 2026.)*

## Auto Complete

When a PxPlus program is open and you begin typing, Auto Complete displays suggestions for all PxPlus language components (directives, mnemonics, system functions, system parameters, system variables) and the current document.

Click the arrow to the far right of a suggestion to expand it and view its description. To manually trigger Auto Complete, press **Ctrl** + **Spacebar**.

![](https://manual.pvxplus.com/migration-assets/e0617bd806d8f1c6981a372dd3e501eb4ba8f06a493d550d442ec60e5aba7326.png)

*(Support for Auto Complete based on PxPlus Language elements was added in PxPlus 2026.)*

## PxPlus Extension Settings

The PxPlus extension settings are described below, grouped by category: **[PxPlus](https://manual.pvxplus.com/visual-studio#set_pxplus)**, **[WindX](https://manual.pvxplus.com/visual-studio#set_windx)**, **[WindX-SSH](https://manual.pvxplus.com/visual-studio#set_windxssh)**, **[Conversion](https://manual.pvxplus.com/visual-studio#set_conversion)** and **[Language Preferences](https://manual.pvxplus.com/visual-studio#set_language)**.

***PxPlus***

| **Setting** | **Description** |
| --- | --- |
| *Pxplus Path* | Enter the path to the directory containing the ***activated*** PxPlus or WindX Plug-in, ***excluding the filename***.<br>***Example:***<br>C:\\PVX Plus Technologies\\PxPlus-64 2026  <br>  <br>***OR***  <br>  <br> C:\\PVX Plus Technologies\\WindX Plugin 2026<br>Important Note:<br>Requires a PxPlus 2024 (Version 21) license or PxPlus 2026 (Version 23) WindX server. |
| *Text Program File Extensions* | Specify which file extensions Visual Studio Code should recognize as text-based PxPlus programs. ***(Default:*** ***.pxprg)***<br>To ***add*** a new extension, click the **Add Item** button.<br>To ***edit*** an existing extension, click the Pencil button beside the item.<br>To ***delete*** an extension, click the **X** button beside the item. |
| *Maximum Number Of Problems* | Controls the maximum number of problems reported for PxPlus programs. ***(Default:*** ***100)*** |

***WindX***

| **Setting** | **Description** |
| --- | --- |
| *Using Windx* | Specify the WindX connection type. Available selections are *No*, *Simple CS*, *NThost*, *SSH*. ***(Default: No)*** |
| *Server* | Specify the IP address or hostname of the WindX host (ignored if **Using Windx** is set to ***No***). |
| *Port* | Specify the port of the WindX host (ignored if **Using Windx** is set to ***No***).<br>Important Note:<br>Default port 4093 is used by Simple Client Server.  <br>Default port 10000 is used by NTHost or the Application Server.  <br>Default port 22 is used for SSH. |
| *Secure* | Specify whether WindX host is using SSL/TLS (ignored if **Using Windx** is set to ***No*** or ***SSH***). ***(Default: Off)*** |

***WindX-SSH***

| **Setting** | **Description** |
| --- | --- |
| *User* | Specify the operating system login username of the WindX host (ignored unless **Using Windx** is set to ***SSH***). |
| *Password* | Securely manage the operating system login password of the WindX host (ignored unless **Using Windx** is set to ***SSH***).<br>Click **Set password** to save an SSH password securely.<br>Click **Clear password** to remove a saved SSH password. |
| *Pxplus Path* | Specify full remote path to the PxPlus executable on the WindX host, ***including the filename*** (ignored unless **Using Windx** is set to ***SSH***).<br>***Example:***<br>/home/user/pxplus2026/pxplus |

***Conversion***

Note:  
These settings can be overridden by [Workspace-Specific Settings](https://manual.pvxplus.com/visual-studio#wkspace).

| **Setting** | **Description** |
| --- | --- |
| *Compiled Output Directory* | Specify the path where compiled programs are created. |
| *Compiled File Extension* | Specify the file extension used for compiled programs. |
| *Listed Output Directory* | Specify the path where listed programs are created. |
| *Listed File Extension* | Specify the file extension used for listed programs. |

***Language Preferences***

Note:  
These settings can be overridden by [Workspace-Specific Settings](https://manual.pvxplus.com/visual-studio#wkspace).

| **Setting** | **Description** |
| --- | --- |
| *Lowercase Directives* | Displays the code with lowercase directives. ***(Default:*** ***Off)*** |
| *Lowercase Variables* | Displays the code with lowercase variables. ***(Default:*** ***Off)*** |
| *Mixed Case Variables* | Displays the code with mixed case variables. ***(Default:*** ***On)*** |
| *Suppress LET* | Displays the code without LET directives. ***(Default:*** ***Off)*** |

## See Also

**[How to Set Up PxPlus Visual Studio Code Extension](https://manual.pvxplus.com/how-to/how-to-use-pxplus-vs-code-ext)**
