sublime-jsdocs icon indicating copy to clipboard operation
sublime-jsdocs copied to clipboard

Callback functions not being documented

Open croemheld opened this issue 8 years ago • 0 comments

First of all: nice plugin!

I noticed it today when trying to add a documentation to a function in C which goes:

void foreach_data_node_callback(struct data_node **head, void (*callback_function)(struct data_node *))

As you can see, the second argument is a callback function. When navigating to the line above the function and typing /** and then pressing the TAB key, a simple multi-line comment shows up:

/**
 *
 */

Not even the first parameter is being listed. In all other functions which do not have a callback function as an argument, it works perfectly fine. Maybe you could add this recognition too.

croemheld avatar Sep 28 '17 23:09 croemheld