Is it possible to obtain the plugin’s directory at runtime? Suppose I write a plugin that has supporting files in the same directory how do I access them dynamically, that is, without hardcoding the expected path in the plugin?
Example:
I expect DetectSyntax to live in Packages/DetectSyntax, but what if someone puts it in Packages/Detect Syntax (notice the space)?