You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: COBOL Programming with VSCode.md
+19-17Lines changed: 19 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,9 +82,9 @@ Left-to-right: Ilicena, Suzy, Makenzie, Martin, Paul, and Tak
82
82
83
83
### [Chapter 1. Why COBOL?](#1-Why-COBOL)
84
84
85
-
### [Chapter 2. VSCode with Z Open Editor and ZOWE extensions](#-2.-VSCode-with-Z-Open-Editor-and-ZOWE-extensions)
85
+
### [Chapter 2. VSCode with Z Open Editor and ZOWE extensions](#2.-VSCode-with-Z-Open-Editor-and-ZOWE-extensions)
86
86
87
-
### [Chapter 3. Installation of VSCode and extensions](#-3.-Installation-of-VSCode-and-extensions)
87
+
### [Chapter 3. Installation of VSCode and extensions](#3.-Installation-of-VSCode-and-extensions)
88
88
89
89
# 1. Why COBOL?
90
90
@@ -197,14 +197,16 @@ The IBM Z Open Editor can be installed into VS code by searching the Extensions
197
197
198
198
## 2.2 Basic editing
199
199
200
-
For the rest of this chapter we will use the CBL001.cobol sample program to demonstrate how rich of an experience editing COBOL in VSCode can be. So, let's fire up VSCode, install IBM Z Open Editor (if it's not already) open up CBL001.cobol and get started.
200
+
For the rest of this chapter we will use the CBL0001 sample program to demonstrate how rich of an experience editing COBOL in VSCode can be. So, let's fire up VSCode, install IBM Z Open Editor (if it's not already) open up CBL001.cobol and get started.
201
201
202
202
### 2.2.1 Known file extensions
203
203
204
204
For VSCode to use the capabilities of the IBM Z Open Editor, it needs to know that the file we are editing is in fact COBOL type. VSCode accomplishes this by comparing the location and name of the file being opened against a list of known extensions to map the file to a known language. For COBOL the following associations are used:
205
205
206
206
-\*.COBOL\*
207
207
208
+
-\*.CBL\*
209
+
208
210
-\*.COB\*
209
211
210
212
-\*.COBCOPY\*
@@ -503,23 +505,23 @@ In this chapter you have been introduced to VSCode and some of the extension too
503
505
504
506
# Part 2 - Learning COBOL
505
507
506
-
### [Chapter 4. Basic COBOL](#-4.-Basic-COBOL)
508
+
### [Chapter 4. Basic COBOL](#4.-Basic-COBOL)
507
509
508
-
### [Chapter 5. Data division](#-5.-Data-division)
0 commit comments