Lonami / uniffi-dl

Unofficial IntelliJ plugin for Mozilla's UniFFI Definition Language (UDL)

Home Page:https://plugins.jetbrains.com/plugin/20527-uniffi-dl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Callback interface can't be resolved when used as parameter

danielgranhao opened this issue · comments

First of all, thank you for creating this project 😃

I'm experiencing an issue where callback interfaces (like the one that follows) can't be resolved when used as parameters in either top-level functions or interface methods.

callback interface CallbackXyz {
     ...
};

Example:

interface ExampleInterface {
    constructor(CallbackXyz callback_xyz);
};

CallbackXyz can't be resolved in this last code snippet.

commented

Oh no! People are using my project!

Thanks for the report! When I created this plugin I focused on addressing my needs, which admittedly, were not a lot for the little subset of features I was using from UDL (and work on the project I needed it for has halted as a whole anyway).

Considering I last touched this codebase 4 months ago and no longer have a need for it, I'm not sure if I'll resolve this issue any time soon. But! You're more than welcome to send a pull request, and I will gladly review it and publish a new version. Same goes for the other issue you've opened.

@Lonami Actually the project is in good niche. Please go on.

I barely have any energy left after work, specially for a project I'm not actively using.

So I'm happy to review PRs and I encourage others to make improvements. But I'm unlikely to make any progress on it myself, unless I actually need it (and this is true for all my projects).