IBM Z® Open Editor
Docs
News and Blogs
IBM Downloads
VS Code Marketplace
GitHub
Docs
News and Blogs
IBM Downloads
VS Code Marketplace
GitHub
  • Overview

    • Introduction
    • Updates and user feedback
  • Getting Started

    • Getting started with IBM Z Open Editor
    • Setting up integrations to interact with z/OS
    • Getting started with Zowe 3.0
  • Configuration

    • Setting preferences
    • Configuring your applications with ZAPP files
    • Setting property groups
    • Setting compiler options
    • Setting file associations
    • Setting language-specific tab stops and rulers
    • Enabling and disabling problems in IBM Z Open Editor
    • Enabling and disabling unreachable COBOL code warnings
    • Customizing the Outline view
    • Setting language-specific maximum line length
    • EBCDIC code pages and mappings files
    • Experimental: Formatting COBOL source code
  • Tutorials

    • Tutorial overview
    • Exploring the user interface
    • Exploring the sample files
    • COBOL editing tutorial
    • COBOL, PL/I Preprocessor tutorial
    • HLASM editing tutorial
    • REXX editing tutorial
    • Managing z/OS resources with IBM RSE API Plug-in for Zowe CLI tutorial
    • Submitting JCL to compile, link, and run jobs tutorial
  • Editing program files

    • Language References
    • Making COBOL and PL/I code changes
    • Making High Level Assembler code changes
    • Making REXX code changes
    • Making JCL code changes
    • Using and managing code snippets
    • Using the integrated Git
    • Searching for COBOL, PL/I, HLASM, and REXX components
  • Interacting with z/OS using Zowe

    • Interacting with z/OS
    • Creating a configuration profile in Zowe Explorer v3.0.0
    • Migrating your old Zowe yaml profiles for Zowe v3.0
    • Supported methods of authentication for z/OS using Zowe
    • Sharing team configuration files
    • Connecting to z/OS with Zowe Explorer walk through
    • Using the Zowe Explorer views
    • Using Zowe profiles in Z Open Editor
    • Connecting to z/OS using Zowe CLI walk through
    • Using command line to interact with z/OS
    • Interact with RSE Common Properties
  • Advanced Capabilities

    • Overview
    • Activating advanced capabilities
    • Launching a 3270 emulator from Zowe Explorer
    • z/OS Resources Table
    • Data Elements View
    • Program Control Flow Browser
    • Data Flow Browser
    • Preprocessor support
    • Custom Macros for HLASM
    • Language Detection
    • Linting with IBM ZCodeScan
    • User build with IBM Dependency Based Build (DBB)
    • Agent Mode
    • Line Hex Editor
  • Cloud-based Editing

    • Overview to using Cloud and Browser-based platforms
    • Try Z Open Editor in the Red Hat Developer Sandbox
    • Configuring Red Hat OpenShift Dev Spaces
    • Managing Developer Workspaces
    • Managing secrets
    • Create and use custom images
    • Migrating from IBM Wazi for Dev Spaces
    • Using Z Open Editor on GitHub Codespaces
    • Using Z® Open Editor with Dev Containers
  • Troubleshooting

    • Known issues and limitations
    • Troubleshooting using log files
    • Troubleshooting for User Build
    • Uninstalling CLI plugins and VS Code extensions
  • Reference

    • IBM RSE API Plug-in for Zowe CLI commands
    • IBM RSE API Plug-in for Zowe CLI as nodejs SDK package
    • IBM RSE API Plug-in for Zowe CLI as nodejs SDK reference
    • Example Zowe configuation setups
    • IBM Z Open Editor MCP Tools
    • Accessibility and Keyboard Shortcuts
    • settings.json properties
    • Message ID Reference
    • Other Visual Studio Code extensions
  • Legal information

    • Notices
    • Trademarks
    • Privacy policy considerations

Setting language-specific tab stops and rulers

With VS Code, you can add tab stops and rulers in the editor depending on the language that you are using. You can customize the IBM Z Open Editor settings based on your own personal perference or organization standards.

Setting tab stops for COBOL and HLASM

You can set tab stops for COBOL, HLASM and JCL program files with IBM Z Open Editor so that the cursor stops when you press the Tab key.

To configure COBOL tab stops, add zopeneditor.cobol.tabstops in settings.json and provide an array of 0-based column numbers to your user or workspace settings:

"zopeneditor.cobol.tabstops": [
    0,
    6,
    7,
    11,
    15,
    19,
    72
]

The default tab stops setting for COBOL is 0, 6, 7, 11.

For HLASM program files, use zopeneditor.hlasm.tabstops.

For JCL program files, use zopeneditor.jcl.tabstops.

Setting language-specific rulers

You can set rulers for COBOL, PL/I, HLASM, REXX, and JCL, which are shown as grey lines, in the editor.

See the following example to set rulers for COBOL in settings.json:

"[cobol]": {
    "editor.rulers": [
        0,
        6,
        7,
        11,
        15,
        19,
        72
    ]
}

You can also set the following rulers:

  • PL/I: "[pl1]": {"editor.rulers": [array]}
  • HLASM: "[hlasm]": {"editor.rulers": [array]}
  • REXX: "[rexx]": {"editor.rulers": [array]}
  • JCL: "[jcl]": {"editor.rulers": [array]}

where array is an array of numbers representing the column numbers at which you want a ruler to appear.

Last Updated: 6/16/24, 11:57 PM
Contributors: Prasang-A-Prajapati, Lauren Li, Peter Haumer, Min Huang, Shi Kun Li, Greg Lambert, Bradley Knaysi, kmaselli, Prasang Prajapati, Hestia Zhang, phaumer
Prev
Setting file associations
Next
Enabling and disabling problems in IBM Z Open Editor