jet-client-support icon indicating copy to clipboard operation
jet-client-support copied to clipboard

Being able to navigate from source code to request, and vice versa

Open lserni opened this issue 1 year ago • 1 comments

Is your feature request related to a problem?

The examples given in the video only apply to Kotlin. I have found no way to go from a PHP source code to the API call (or vice versa).

This forces me to write comments such as,

/** * JETClient: see Tracking:/permissions/{user} */

to do the navigation manually.

To have a way of going back, I have to add a fake parameter such as "source": "/lib/cust/api/permissions/Handler.php@1285"

Describe the solution you'd like

In the PHPDoc of a method, I might have either a "@jetclient pointer-to-api-call" or a "@see jetclient:pointer-to-api-call", directly sending me to the relevant API call.

Having a way to go back would also be great (possibly offering a choice of all the places where a @jetclient pointer-to-THIS-api-call is present).

Additional context

No response

lserni avatar Sep 06 '23 08:09 lserni