Skip to content
QiTASC.com / intaQt Studio / IDE Features /
Go To Declaration and Finding Usages
/ .. / .. /
Go To Declaration and Finding Usages





Go To Declaration and Find Usages

The Go To Declaration and Find Usages enable finding variables and parameters in a local and global scope.

Find Usages

The Find Usages feature brings up a list of usages for a specific feature or parameter.

  • For Windows/Linux users, press: Ctrl + F7.

  • For Mac OS users, press: Alt + F7.

Alternately, right-click the highlighted declaration -> Find Usage from the menu:

alt text

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
stepdef "book credit value {}, for subscriber {}" / grade, phone /

    inputMap := {
        "Identity" : phone.prop.msisdn,
        "CreditType" : value
    }

    resultMap := customerdatabase.loan(inputMap)
    logData   := Tools.getMany(resultMap,
        ["CreditAmount", "CreditBalanceAmount"])

    CTX.set("loan", logData)

end

Highlight the declaration (such as phone) and pressCtrl + F7 (Windows/Linux user) or Alt + F7 (Mac OS user). All other usages of phone will be displayed in a window:

alt text

Go To Declaration

The Go To Declaration is used to retrieve a list of parameter or variable instances and then reference its usage:

alt text

By using Ctrl+ B (Windows/Linux user) or Command + B (Mac OS user), the cursor will reference back to the declaration. Alternatively, press Ctrl (Windows/Linux User) or Command (Mac OS user) while double clicking on the declaration. After clicking on the highlighted declaration, the cursor will automatically reference the usage.

Note: The reference cannot be resolved for Built-ins and declarations where the response is dynamic.