Question
· Apr 19, 2021

Custom 'Snippets' in '.mac' routines.

Today we have only 'Snippets' to classes:

how i can custom this Snippets to show my labels or variables of atual routine?

Product version: Caché 2018.1
$ZV: Cache for Windows (x86-64) 2018.1.2 (Build 309U) Mon Mar 4 2019 15:05:44 EST
Discussion (5)0
Log in or sign up to continue

The VS Code docs on IntelliSense and Code Snippets should help provide more information:

You may want to take a look at the IntelliSense features you have enabled in VS Code now. You can do that by searching your User and Workspace preferences for 'IntelliSense'. You can also hit Ctrl+Space while coding to get autocomplete suggestions.

Do you have a more specific example of the autocomplete feature you are looking for? When I am working in a routine that has been compiled with a HelloWorld entry point, I can see the following as I'm writing ObjectScript code:

 

After I set a variable I can see autocomplete options including that variable: