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
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -553,6 +553,8 @@ The COBOL Language Support extension checks for mistakes and errors in COBOL cod
553
553
554
554

555
555
556
+
*Figure 1. The syntax and semantic check feature highlights an error.*
557
+
556
558
## Navigation of Code
557
559
558
560
The Code4z package enables several features for ease of navigation through code.
@@ -563,6 +565,8 @@ The breadcrumb view across the top of the editor shows where the current line of
563
565
564
566

565
567
568
+
*Figure 2. Breadcrumb view.*
569
+
566
570
### Outline View
567
571
568
572
The Code4z package enables the outline view tab in the sidebar. Outline view enables you to easily navigate through sections and individual variables and paragraphs.
@@ -585,12 +589,16 @@ While your cursor is placed on a variable or paragraph name, you can press **F12
585
589
586
590

587
591
592
+
*Figure 3. Go To Definition shows the point at which the USER-STREET variable is first defined.*
593
+
588
594
### Find All References
589
595
590
596
The **Find All References** functionality (**SHIFT+ALT+F12**) highlights all references to a variable or paragraph and displays them in a list in the sidebar, so that you can easily navigate between them.
591
597
592
598

593
599
600
+
*Figure 4. Find All References lists all references to the USER-STREET variable in the code.*
601
+
594
602
## Copybook Support
595
603
596
604
Copybooks are pieces of source code stored in separate data sets which are referenced in a program. The COBOL Language Support extension enables you to download all copybooks referenced in your program from the mainframe to a folder on your machine. In order for this feature to work, you need to set up and configure a Zowe CLI `zosmf` profile.
@@ -605,11 +613,13 @@ The COBOL Language Support extension provides live suggestions while you type fo
605
613
606
614

607
615
616
+
*Figure 5. Autocomplete lists possible variables and keywords beginning with the typed string in a list.*
617
+
608
618
## Summary
609
619
610
620
In this chapter you have been introduced to all the COBOL language support features of the Code4z package of open-source extensions for VS Code.
611
621
612
-
/newpage
622
+
\newpage
613
623
614
624
# Zowe CLI and Zowe CLI Plug-ins
615
625
@@ -927,7 +937,7 @@ Open VSCode and in the left side tool menu select **Extensions**. From there, i
927
937
928
938
## Summary
929
939
930
-
In this chapter you have been introduced to VSCode and some of the extension tools available to it. We have walked through the process of installing the pre-requisite software, Node.js and Java SDK, as well as VSCode, Zowe Explorer and IBM Z Open Editor. You have also been briefly introduced to the utility of these extensions in VSCode. In the subsequent chapters we will delve deeper into how and when to use them and get some practice through lab assignments.
940
+
In this chapter you have been introduced to VSCode and some of the extension tools available to it. We have walked through the process of installing the pre-requisite software, Node.js and Java SDK, as well as VSCode, Zowe Explorer, IBM Z Open Editor and Code4z. You have also been briefly introduced to the utility of these extensions in VSCode. In the subsequent chapters we will delve deeper into how and when to use them and get some practice through lab assignments.
0 commit comments