Difference between revisions of "VMS IDE how to"

From VSI OpenVMS Wiki
Jump to: navigation, search
Line 32: Line 32:
  
 
===Updating workspace settings===
 
===Updating workspace settings===
From the official page of VS Code:\n
+
From the official page of VS Code:<br>
 
A Visual Studio Code "workspace" is the collection of one or more folders that are opened in a VS Code window (instance). In most cases, you will have a single folder opened as the workspace but, depending on your development workflow, you can include more than one folder, using an advanced configuration called [https://code.visualstudio.com/docs/editor/workspaces#_multiroot-workspaces Multi-root workspaces].
 
A Visual Studio Code "workspace" is the collection of one or more folders that are opened in a VS Code window (instance). In most cases, you will have a single folder opened as the workspace but, depending on your development workflow, you can include more than one folder, using an advanced configuration called [https://code.visualstudio.com/docs/editor/workspaces#_multiroot-workspaces Multi-root workspaces].
  
 
[[Category:VMS IDE]]
 
[[Category:VMS IDE]]

Revision as of 10:12, 12 April 2021

Installing Visual Studio Code

To start working with VMS IDE you need to install Visual Studio Code editor.

  1. Go to https://code.visualstudio.com/
  2. Click the download dropdown button and select the build for your platform (Windows, Mac, or Linux). The installer will be downloaded.
  3. Run the installer and follow the instructions

Installing VMS IDE extension

  1. Select Extensions view in the Activity Bar
  2. Type “vms ide” into the search box
  3. Select VMS IDE extension
  4. Click the Install button in the Extensions view
Install VMS IDE

VS Code will install the extension. To verify that it is installed:

  1. Go to FilePreferencesSettings
  2. Type “vms ide” to the Search bar in the Settings tab

The extension will be displayed in the list of settings:

verify vms ide is installed

Creating and setting up a project

Creating a project folder

To start working on your project you need to open the folder that will be used as a project folder.

  1. Select the Explorer view in the Activity bar
  2. Click the Open Folder button
  3. Select a folder for the project in the dialog window and click the Select Folder button.
open project 2

The selected folder is shown in the Explorer tab. All project files and directories will be shown in this panel.

project is open

The alternative way to open the folder: FileOpen folder… → Select a folder for the project

Updating workspace settings

From the official page of VS Code:
A Visual Studio Code "workspace" is the collection of one or more folders that are opened in a VS Code window (instance). In most cases, you will have a single folder opened as the workspace but, depending on your development workflow, you can include more than one folder, using an advanced configuration called Multi-root workspaces.