doxdocgen icon indicating copy to clipboard operation
doxdocgen copied to clipboard

Does not work properly with UE4 macros

Open avikbis opened this issue 4 years ago • 1 comments
trafficstars

Description

I am using this with unreal engine 4 and if i put a macro before the function then it should ignore the macro and generate the doc.

image

Code example

	UFUNCTION(BlueprintPure)
	static FVector TestFunction(int8 Stuff);

Expected result

	/**
	 * @brief 
	 * 
	 * @param Stuff 
	 * @return FVector 
	 */
	UFUNCTION(BlueprintPure)
	static FVector TestFunction(int8 Stuff);

Actual result

	/**
	 * @brief 
	 * 
	 */
	UFUNCTION(BlueprintPure)
	static FVector TestFunction(int8 Stuff);

avikbis avatar Dec 09 '20 04:12 avikbis

This would probably be possible by adding a regex filter option. There are already keywords you can remove from the input that will be processed but I guess this won't suffice for this use case.

cschlosser avatar Dec 13 '20 17:12 cschlosser