infosec-intern / vscode-yara

VSCode extension for the YARA pattern matching language
MIT License
63 stars 14 forks source link

private rules do not support goto definition, peek definition, ctrl+click #32

Closed manshantsingh closed 4 years ago

manshantsingh commented 4 years ago

Goto definition, peek definition, ctrl+click etc do not work with private rules.

Example below: ctrl+click on the condition my_private_rule will not take you to the definition of my_private_rule

private rule my_private_rule
{
    condition:
        true
}

rule my_public_rule
{
    condition:
        my_private_rule
}
infosec-intern commented 4 years ago

Thanks for filing an issue! I just pushed out a new version to address this. Closing this issue for now, but please feel free to reopen if I didn't fully address your use case.