
IntelliSense has helped you specify the exact elementary item to use in your code: Space which offers to insert the TO clause. Surname of StudentRecord, and insert it in your code.

IntelliSense qualifies the elementary items as follows: Both group items includeĪ number of PIC X elementary items with the same names - for example, FirstName, Surname, Phone and so on. If variable names are not unique, IntelliSense qualifies the names.Ĭonsider the example of a program that defines two group items - StudentRecord and TeacherRecord. Tools > Options > Text Editor > Micro Focus COBOL > IntelliSense section). You can turn off this option from the change the behavior from the IDE If a completion list includes a single suggestion, pressingĬtrl+space automatically inserts that suggestion in the code. Tools > Options > Text Editor > Micro Focus COBOL > IntelliSense section. System copybooksĪre ones that are not included in the project but are defined using the COBCPY variable. One of the clauses IN, OF, REPLACING or SUPPRESS.īy default, suggestions for COPY statements only include the copybooks that are part of the current project or are found inĬopybooks tab of the project's properties, but you can change this so that the suggestions also include system copybooks. The completion list that appears gives you the option of terminating the statement with a period (.) or continuing it with You need to choose a copybook from the list for IntelliSense to insert after the COPY statement. Space, the first completion list that appears includes any copybooks.

When you are entering a statement, IntelliSense
.png)
IntelliSense provides intelligent assistance for completing COBOL statements. Completion lists are available both in a program and in copybooks in the program that are shown in the expanded copybook view.Completion lists include the COPY statement.
VISUAL STUDIO 2015 INTELLISENSE COMPLETE WHEN PRESS ENTER CODE
Suggestions may include COBOL verbs, clauses and words ( ), copybooks ( ) in the completion lists for the COPY statement, code snippets ( ), variables ( ), 78 level items ( ), or sections and paragraphs ( ).Suggestions start with the letters you entered with the best match highlighted in the IntelliSense pop-up.Suggestions are context sensitive - the completion lists only include suggestions that are relevant to the position of theĬursor in the code and the type of project.įor example, completion lists only show COBOL verbs in the Procedure Division section and not in the Working-Storage section,Īnd the verbs are only relevant to native code.The following list summarizes how completion lists work: You can do this if you have not started typing yet or if the automatic display of completion lists is disabled. The completion list if it does not pop up automatically, pressĬtrl+Space to show it. IntelliSense only offers assistance for the data items that are in scope based on the current position of the cursor.īy default, IntelliSense displays a completion list (a pop-up with suggestions) immediately after you start typing. IntelliSense provides editing features to help you write syntactically correct code. The following describes the writing assistance that IntelliSense provides in native COBOL.
