Difference between revisions of "VMS IDE Project Configuration"
(→SSH Configuration) |
|||
Line 1: | Line 1: | ||
=Workspace= | =Workspace= | ||
− | When starting working | + | When starting working on an OpenVMS project in '''VMS IDE''', you need to configure your workspace, set project folders, and select the type of configuration that will be used. |
==Project folder== | ==Project folder== | ||
Line 19: | Line 19: | ||
==End of line== | ==End of line== | ||
− | Specify the End of Line character that will be used across all source files. You must use <code>LF</code>. | + | Specify the End of Line character that will be used across all source files. '''You must use <code>LF</code>'''. |
# Open Visual Studio Code settings (<code>Ctrl+,</code>) | # Open Visual Studio Code settings (<code>Ctrl+,</code>) | ||
− | # Navigate to Text Editor > Files > Eol (The default end of line character) and set it to ''\n'' | + | # Navigate to ''Text Editor > Files > Eol'' (The default end of line character) and set it to ''\n''. |
==Type of configuration== | ==Type of configuration== | ||
Select type of configuration for your project. Recommended type is '''FS'''. | Select type of configuration for your project. Recommended type is '''FS'''. | ||
# Open Visual Studio Code settings (<code>Ctrl+,</code>) | # Open Visual Studio Code settings (<code>Ctrl+,</code>) | ||
− | # Navigate to Extensions > VMS-IDE > Config-helper › Settings: Using, and select one of the options | + | # Navigate to ''Extensions > VMS-IDE > Config-helper › Settings: Using'', and select one of the options: |
#* '''FS''' - save settings in local JSON files. | #* '''FS''' - save settings in local JSON files. | ||
#* '''VFS''' - save setting in VS Code virtual file system. | #* '''VFS''' - save setting in VS Code virtual file system. | ||
#* '''VCS''' - manage settings using VS Code provided API. | #* '''VCS''' - manage settings using VS Code provided API. | ||
− | # Press <code>F1</code> and run | + | # Press <code>F1</code> and run ''Reload window'' command or close Visual Studio Code and open it again. |
{| style="border-style: none;" | {| style="border-style: none;" | ||
Line 46: | Line 46: | ||
=SSH Configuration= | =SSH Configuration= | ||
− | The SSH connection to an OpenVMS machine is required for syncing source files, building and debugging projects. There are two ways of | + | The SSH connection to an OpenVMS machine is required for syncing source files, building and debugging projects. There are two ways of managing SSH connection settings. |
; Command : Press <code>F1</code> and run <code>VMS-IDE: Edit ssh-helper settings</code> command. | ; Command : Press <code>F1</code> and run <code>VMS-IDE: Edit ssh-helper settings</code> command. | ||
Line 53: | Line 53: | ||
:# Open [[VMS_IDE_Project_Explorer|'''Project Explorer''']] | :# Open [[VMS_IDE_Project_Explorer|'''Project Explorer''']] | ||
:# Select your project from the list | :# Select your project from the list | ||
− | :# In the ''PROJECT DESCRIPTION'' section, right-click ''SSH > host'' and select Edit. | + | :# In the ''PROJECT DESCRIPTION'' section, right-click ''SSH > host'' and select ''Edit''. |
==SSH Settings description== | ==SSH Settings description== | ||
− | See [[VMS_IDE_SSH_Configuration|SSH settings]] for more details | + | See [[VMS_IDE_SSH_Configuration|''SSH settings'']] for more details. |
=Project Configuration= | =Project Configuration= | ||
Line 69: | Line 69: | ||
==Settings description== | ==Settings description== | ||
The settings are split into two sections: | The settings are split into two sections: | ||
− | * [[Project_Configuration|Project]] - general project settings | + | * [[Project_Configuration|''Project'']] - general project settings |
− | * [[Synchronize_Configuration|Synchronize]] - synchronizer specific settings | + | * [[Synchronize_Configuration|''Synchronize'']] - synchronizer specific settings |
Revision as of 07:06, 31 March 2019
Contents
Workspace
When starting working on an OpenVMS project in VMS IDE, you need to configure your workspace, set project folders, and select the type of configuration that will be used.
Project folder
Use Explorer view to manage source code, resources, and settings files of your projects.
Project folder will store project settings and source files. To add a project folder
|
End of line
Specify the End of Line character that will be used across all source files. You must use LF
.
- Open Visual Studio Code settings (
Ctrl+,
) - Navigate to Text Editor > Files > Eol (The default end of line character) and set it to \n.
Type of configuration
Select type of configuration for your project. Recommended type is FS.
- Open Visual Studio Code settings (
Ctrl+,
) - Navigate to Extensions > VMS-IDE > Config-helper › Settings: Using, and select one of the options:
- FS - save settings in local JSON files.
- VFS - save setting in VS Code virtual file system.
- VCS - manage settings using VS Code provided API.
- Press
F1
and run Reload window command or close Visual Studio Code and open it again.
FS and VFS | VCS |
---|---|
Settings are stored in a JSON file that can be easily modified in the editor. | Settings can be adjusted using Visual Studio Code settings page. |
NOTE: Changing the type of configuration does not copy existing settings from one location to another.
SSH Configuration
The SSH connection to an OpenVMS machine is required for syncing source files, building and debugging projects. There are two ways of managing SSH connection settings.
- Command
- Press
F1
and runVMS-IDE: Edit ssh-helper settings
command.
- Project Explorer
-
- Open Project Explorer
- Select your project from the list
- In the PROJECT DESCRIPTION section, right-click SSH > host and select Edit.
SSH Settings description
See SSH settings for more details.
Project Configuration
To open the project settings, press F1
and run VMS-IDE: Edit OpenVMS project settings
command or use Project Explorer view.
Adjusting Settings
The project configuration procedure varies depending on the selected type of configuration.
- FS or VFS
- The Edit command loads current settings from memory and saves it to vmssoftware.synchronizer-settings.json file, then opens the file for editing.
- VCS
- The Edit command opens Workspace settings. Navigate to Synchronizer section and adjust the settings.
Settings description
The settings are split into two sections:
- Project - general project settings
- Synchronize - synchronizer specific settings