Skip to content

'Go to declaration' does not work for parameters inside string interpolation if parameters are declared before string interpolation  #79

Open
@danchanka

Description

@danchanka

Parameters recognize the declaration, but 'Go to declaration' function does not work correctly. This occurs because it tries to navigate to the parameter declaration within the virtual file created during injection creation. When we call registar.addPlace, we pass the beginning of the current statement as a prefix. And this prefix contains the parameter declaration.

Example:

FOR iterate(INTEGER i, 1, 3) DO
    MESSAGE 'message ${i}';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions