multiplier icon indicating copy to clipboard operation
multiplier copied to clipboard

Force token category for unknown identifiers that are logically parameter names in type definitions

Open pgoodman opened this issue 2 years ago • 2 comments

image

Here, the parameter names, e.g. write, offset, etc. end up being basically unparsed junk in the type, not associated with anything in particular. It would be nice to special case a token category for these.

pgoodman avatar Mar 24 '23 01:03 pgoodman

This can't purely be solved in the API, or not without some ugliness of having the API inspect the token contexts, so I've added some of that logic into the indexer. But the logic is incomplete, due to inconsistencies between how parameters sometimes link to the function prototype, or to one of the parameter types.

pgoodman avatar Jul 21 '23 21:07 pgoodman

Still happening: image

pgoodman avatar Feb 13 '24 18:02 pgoodman