doxdocgen
doxdocgen copied to clipboard
Support comment for a function which after macro expansion
trafficstars
#define xheader(ret,name) \
template< \
inc::can_unified_seqlize seq_t, \
class item_t = inc::item_origin_of<seq_t>, \
class cmp_t = decltype(inc::default_compare<item_t>) \
> \
requires( \
inc::can_compare<cmp_t, item_t> == true \
) \
inline ret name( \
seq_t const & seq, \
inc::item_origin_of<seq_t> const & value, \
cmp_t const & compare = inc::default_compare<item_t>)
/**
* .......
* .......
*/
xheader(int, func_a){
...
}
/**
* .......
* .......
*/
xheader(int, func_b){
...
}
/**
* .......
* .......
*/
xheader(int, func_c){
...
}
I want use the macro function xheader to generate the redundant code, but it hint nothing when i put func_a( in vscode.
Thank you for your suggestion. This will be possible if/once the plugin supports a language server for parsing instead of a custom lexer which is not going to happen soon.