I’m debugging why my ParameterInfoHandler is not working in split-mode.
It’s currently implemented on the backend.
But I’m wondering if that’s correct. I’m not sure because it needs to fetch data from the backend and also updates UI (which would be frontend).
I’m seeing calls to com.intellij.lang.parameterInfo.ParameterInfoHandler#updateUI on the backend, but nothing shows up. I can’t debug the IDE’s frontend part of this because I don’t know how to attach a debugger to the frontend
The last I can see is a call to BackendParameterInfoController.showHint(requestFocus: false, singleParmaterInfo: false), which does not have sources available. After that nothing is shown and I’m unable to find out why.
First of all, if you are struggling with debug, please see the Split Mode (Remote Development) | IntelliJ Platform Plugin SDK . TLDR convenient debug is available starting 2.14 gradle plugin version, kindly update and generate run configurations via a dedicated task.
as for the specific API, I see there is an existing bridge in the platform that assumes your implementation is on the backend, and it is transferred automatically. Yet it seems to be really dated. May I ask to file an issue in our youtrack for that please?