Skip to content

Config file

chriscamicas edited this page Jul 15, 2019 · 4 revisions

The .openedge.json file is a configuration file used by this extension. It's located at the root of your workspace, so it's configurable independently for each project.

The file structures looks like this:

{
    "workingDirectory": "${workspaceFolder}\\Home",
    "proPath": [
        "c:\\temp",
        "${workspaceFolder}"
    ],
    "dlc": "C:/Progress/OpenEdge", //optional override
    "proPathMode": "append", // overwrite, prepend
    "parameterFiles": [ // -pf
        "default.pf"
    ],
    "startupProcedure" : "${workspaceFolder}/vsc-oe-startup.p"
}

None of the different parameters is mandatory, nor is this file. However, it is highly recommended to create this file as you may need to setup some variables to enhance your experience (for example: code completion, and syntax checking may not work).

Entry Description
workingDirectory working directory used to run the _progres binary. You probably don't need to change that.
proPath an array of folders used to change the PROPATH value in the ABL session. See What is the PROPATH ?
dlc Path to the OpenEdge installation folder, useful if you don't have the DLC environment variable
proPathMode You can choose to append (or prepend) the folders defined in your .openedge.json file to the default PROPATH value, or overwrite the entire value. The default value is append
parameterFiles an array of .pf files used by the different commands to define startup parameters and configure the ABL Session (database connections, code page, formatting ...)
startupProcedure a procedure to execute before running the command (before syntax checking, or run)
Clone this wiki locally