settings.json properties
You can control the characteristics of your environment by setting the following preferences in settings.json
by using the JSON editor. For more information, see Accessing settings for IBM Z Open Editor.
List of settings.json properties
Property | Description |
---|---|
[cobol] | Use "[cobol]": {"editor.rulers": [ array]} to set rulers for COBOL in the editor. array is an array of numbers representing the column numbers at which you want a ruler to appear. For more information, see Setting language specific tab stops and rulers. |
[hlasm] | Use "[hlasm]": {"editor.rulers": [ array]} to set rulers for HLASM in the editor. array is an array of numbers representing the column numbers at which you want a ruler to appear. For more information, see Setting language specific tab stops and rulers. |
[jcl] | Use "[jcl]": {"editor.rulers": [ array]} to set rulers for JCL in the editor. array is an array of numbers representing the column numbers at which you want a ruler to appear. For more information, see Setting language specific tab stops and rulers. |
[pl1] | Use "[pl1]": {"editor.rulers": [ array]} to set rulers for PL/I in the editor. array is an array of numbers representing the column numbers at which you want a ruler to appear. For more information, see Setting language specific tab stops and rulers. |
[rexx] | Use "[rexx]": {"editor.rulers": [ array]} to set rulers for REXX in the editor. array is an array of numbers representing the column numbers at which you want a ruler to appear. For more information, see Setting language specific tab stops and rulers. |
files.associations | Specifies file names, including data set and member names, that contain certain strings as the appropriate type of file. For detailed usage, see Setting file associations. |
zopeneditor.advancedCapabilities.enableRseApiActivationCheck | The zopeneditor.advancedCapabilities.enableRseApiActivationCheck setting is used to enable advanced capabilities activation using an RSE API server. To learn if you should enable this setting, read the documentation for advanced capabilities activation. |
zopeneditor.autoPreprocessor | The zopeneditor.autoPreprocessor setting is used to specify when the COBOL or PL/I preprocessor is invoked. |
zopeneditor.cobol.enableCodeFolding | Enable code folding support for this language. The default value is true. |
zopeneditor.cobol.enableUnreachableCodeWarnings | Enables unreachable code warnings in the COBOL programs. For more information, see Enabling and disabling unreachable COBOL code warnings. |
zopeneditor.cobol.disableProblems | Disables code problems in the Problems view and editor. It will keep other language features such as Outline view available if possible. It will also disable unreachable code warnings. The default value is false . For more information, see Enabling and disabling problems in IBM Z Open Editor. |
zopeneditor.cobol.includeFileExtensions | Specifies a list of file name extensions for COBOL include files. For more information, see Defining Include file associations. |
zopeneditor.cobol.maximumLineLength | Provides a maximum line length for the COBOL editor. This setting will allow the editor to truncate all text after the provided column number while saving a document. To disable truncation of characters, set maximum line length to -1. For more information, see Setting language-specific maximum line length. |
zopeneditor.cobol.sequenceNumbers | Choose which columns will have sequence numbers inserted and removed from a file by using the Renumber and Unnumber functions in the COBOL editor. The following values are allowed:
|
zopeneditor.cobol.tabstops | Adds custom COBOL tab stops in the editor. For more information, see Setting language specific tab stops and rulers. |
zopeneditor.datasets | Specifies data set names that should contain COBOL or PL/I programs, copybooks, include files, and JCL. For detailed usage, see Setting file associations. |
zopeneditor.encodings.filePatterns | The zopeneditor.autoPreprocessor settings maps filename glob patterns to an EBCDIC file encoding. Use this setting to specify the EBCDIC encoding to be used when it is placed back on z/OS. It only controls what encodings are passed to the language servers. To control encodings used for file conversions when uploading or downloading z/OS resources, use your ZAPP file or Zowe profile. The setting is evaluated with the following rule set:
|
zopeneditor.enforceCaseSensitiveIncludeFileNames | Enforce case-sensitive matching of local copybooks and include file names in property groups. Default is false to match files with all cases in the path. Set it to true to avoid ambiguous matching on case-insensitive file systems. |
zopeneditor.hlasm.disableProblems | Disables code problems in the Problems view and editor. It will keep other language features such as Outline view available if possible. The default value is false . For more information, see Enabling and disabling problems in IBM Z Open Editor. |
zopeneditor.hlasm.enableResolvingMacros | Enables the automatic resolution of SYS1.MACLIB macro files from MVS using your Zowe Explorer profiles. See the Remote Macros section for more details. The default value is false . To use this feature, you need to set it to true . |
zopeneditor.hlasm.enableCustomMacrosWarnings | Enables warnings under all custom macros that can not be found in your HLASM programs. The default value is true. For more information, see Custom Macros for HLASM. |
zopeneditor.hlasm.includeFileExtensions | Specifies a list of file name extensions for HLASM include files. For more information, see Defining Include file associations. |
zopeneditor.hlasm.instructionsFilePath | Allows you to specify a custom HLASM instructions file. Contact IBM Support for questions about the format of such a file or updates to our out of the box file, for example, for a new hardware versions. |
zopeneditor.hlasm.macrosFilePath | Allows you to specify a custom macro definitions file. This option is currently used internally only, but the schema for this format will be provided in a future release so that users can provide their own custom macro references. |
zopeneditor.hlasm.maximumLineLength | Provides a maximum line length for the HLASM editor. This setting will allow the editor to truncate all text after the provided column number while saving a document. To disable truncation of characters, set maximum line length to -1. For more information, see Setting language-specific maximum line length. |
zopeneditor.hlasm.reduceCustomMacroLogging | Reduces the amount of logs that are sent between the HLASM language server and the Z Open Editor client. This increases the performance for scanning and resolving custom macro libraries. The default value is false . For more information, see Custom Macros for HLASM. |
zopeneditor.hlasm.tabstops | Defines custom HLASM tab stops in the editor. For more information, see Setting language specific tab stops and rulers. |
zopeneditor.hlasm.zosMacrosVersion | Defines the version of z/OS to use for macro definitions. This allows for more accurate results for the hover and code completion features in HLASM. For more information, see Remote Macros. |
zopeneditor.JAVA_HOME | Specifies a different Java for IBM Z Open Editor other than the default of your computer. For more information, see section Selecting the Java installation to use in Getting started. |
zopeneditor.jcl.enableCodeFolding | Enable code folding support for this language. The default value is true. |
zopeneditor.jcl.includeFileExtensions | Specify the file extensions to be used for finding JCL include files on your local file system. To edit an include file locally, a file extension is required. |
zopeneditor.jcl.maximumLineLength | Provides a maximum line length for the JCL editor. This setting will allow the editor to truncate all text after the provided column number while saving a document. To disable truncation of characters, set maximum line length to -1. For more information, see Setting language-specific maximum line length. |
zopeneditor.jcl.tabstops | Defines custom JCL tab stops in the editor. For more information, see Setting language specific tab stops and rulers. |
zopeneditor.jcl.disableProblems | Disables code problems in the Problems view and editor. It will keep other language features such as Outline view available if possible. The default value is false . For more information, see Enabling and disabling problems in IBM Z Open Editor. |
zopeneditor.logger | Enables a logging output. See Troubleshooting using log files for details. |
zopeneditor.pl1.disableProblems | Disables code problems in the Problems view and editor. It will keep other language features such as Outline view available if possible. The default value is false . For more information, see Enabling and disabling problems in IBM Z Open Editor. |
zopeneditor.pl1.includeFileExtensions | Specifies a list of file name extensions for PL/I include files. For more information, see Defining Include file associations. |
zopeneditor.pl1.maximumLineLength | Provides a maximum line length for the PL/I editor. This setting will allow the editor to truncate all text after the provided column number while saving a document. To disable truncation of characters, set maximum line length to -1. For more information, see Setting language-specific maximum line length. |
zopeneditor.rexx.disableProblems | Disables code problems in the Problems view and editor. It will keep other language features such as Outline view available if possible. The default value is false . For more information, see Enabling and disabling problems in IBM Z Open Editor. |
zopeneditor.rexx.maximumLineLength | Provides a maximum line length for the REXX editor. This setting will allow the editor to truncate all text after the provided column number while saving a document. To disable truncation of characters, set maximum line length to -1. For more information, see Setting language-specific maximum line length. |
zopeneditor.server.memoryAllocation | Specifies the maximum value of the memory that language servers are allowed to allocate. For more information, see section Configuring the Java memory allocation in Getting started. |
zopeneditor.server.startupOptions | Configure additional startup parameters for Java virtual machines started for running language servers. These might have been provided by tech support for troubleshooting. Leave blank by default. |
zopeneditor.userbuild.enabled | Enable User Build capabilities that utilize IBM Dependency Based Build. When enabled, you can run a user build to compile and link programs during coding and unit testing simply by right-clicking inside a COBOL, PL/I, or HLASM file. |
zopeneditor.userbuild.userSettings | Settings for IBM User Build. See the IBM Documentation for details. |
zopeneditor.watsonx.watsonxCodeAssistantForZ.enable | Enables and disables the IBM watsonx Code Assistant for Z feature. |
zopeneditor.watsonx.watsonxCodeAssistantForZ.authenticationURL | Overrides the IBM Cloud IAM Identity Services URL. Leave it unassigned to use the default service. |
zopeneditor.watsonx.watsonxCodeAssistantForZ.URL | Overrides the URL to the IBM watsonx Code Assistant for Z service. Leave it unassigned to use the default service. |
zopeneditor.watsonx.watsonxCodeAssistantForZ.logLevel | Sets the logging level for IBM watsonx Code Assistant for Z. Technical support might instruct you to change this value for problem analysis. |
zopeneditor.watsonx.watsonxCodeAssistantForZ.timeout | Overrides the timeout value in milliseconds for requests sent to IBM watsonx Code Assistant for Z. |
zopeneditor.welcomePage.show | Show the welcome page on VS Code startup. |
zopeneditor.zapp.useDefaultOnlineZappSchema | Z Open Editor comes with the built-in ZAPP JSON schema. It can be used for YAML files using Red Hat's YAML VS Code extension, and for JSON files with the built-in editor. If you encounter issues locating this built-in schema on deployments like Eclipse Che, such as being unable to see syntax errors with the Red Hat YAML extension, enable this option to load the schema from the internet. |
zopeneditor.zapp.customZappSchemaLocation | When you work offline but have to provide a path to the ZAPP schema yourself, such as in a custom Che deployment, specify a valid HTTP or file URL to the location of the ZAPP JSON schema. If specified, the Use Default Online Zapp Schema option will be ignored. |
zopeneditor.zapp.generateZappOnDemand | When you open a COBOL, PL/I, HLASM, or REXX program and none is found in all the open workspaces, a generic ZAPP file is automatically generated. This file will search for include files in all workspaces and folders. |
zopeneditor.zapp.variables | Use to specify variable names with values that will be substituted in your ZAPP files. To reference a variable defined here in a ZAPP file, write ${variable-name} . For example, define a variable here called HLQ with a value that represents your personal high-level qualifier on z/OS MVS. In your ZAPP file, reference the variable in a property group's location entry like this: ${HLQ}.COBOL.COPYBOOKs . Do not use single or double-quote characters for variable names and values. Note that all users need to define all the variables in their user settings that are used by the ZAPP file to avoid errors. You can place these properties in VS Code user and workspace settings. |
zopeneditor.zcodeformat.useDefaultOnlineZCodeFormatSchema | Z Open Editor comes with the built-in zCodeFormat JSON schema. It can be used for YAML files using Red Hat's YAML VS Code extension, and for JSON files with the built-in editor. If you encounter issues locating this built-in schema on deployments like Eclipse Che, such as being unable to see syntax errors with the Red Hat YAML extension, enable this option to load the schema from the internet. |
zopeneditor.zcodeformat.customZCodeFormatSchemaLocation | When you work offline but have to provide a path to the zCodeFormat schema yourself, such as in a custom Che deployment, specify a valid HTTP or file URL to the location of the zCodeFormat JSON schema. If specified, the Use Default Online zCodeFormat Schema option will be ignored. |
zopeneditor.zowe | The zopeneditor.zowe setting can be used at a user or workspace level. Typically every user specifies these in their user settings using their personal profile names. If defined in workspace settings then it is assumed that all users of this workspace have defined the same standardized profile names on their systems. If set at both levels, the user and workspace level, the workspace level will override the user level.
|
zowe.files.temporaryDownloadsFolder.cleanup | The zowe.files.temporaryDownloadsFolder.cleanup setting is adopted from Zowe Explorer settings to support the use of multiple VS Code windows showing the same files opened via Zowe Explorer so you can see different parts of the same program on two different screens. Note that disabling the cleanup will result in files downloaded from z/OS not being removed when the editor is closed or restarted, so when you open a file via Zowe Explorer you may be viewing an outdated local version. Use the right-click "Pull from Mainframe" command to ensure you are working with the latest files. |