Skip to content

Complete Structure not completing some structure properly #41

@rlalance

Description

@rlalance

On many occassion, the complete structure will try to complete end of the procedure when I was attempting to complete the end of if.

Example:
procedure toto(i : int )
if i = 0 then
if( i = 2 )
% position cursor here and attempt to complete twice

end toto

Result:
procedure toto(i : int )
if i = 0 then
if( i = 2 )
end if
end toto
end toto

Expected result:
procedure toto(i : int )
if i = 0 then
if( i = 2 )

end if
end if
end toto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions