Closed caxanga334 closed 1 year ago
Thank you for reporting this. The preprocessor needs some rework, and I am currently writing a new version of the parser over here.
I will make sure to address this problem there 👍
Assumed everything is fixed. Feel free to reopen if needed!
Basic informations
Further Information
This extension fails to parse the include files of the CBaseNPC extension. So autocomplete doesn't include anything from those files.
To Reproduce
Code to reproduce the behaviour
Expected behaviour
The autocomplete should list all available functions, methodmaps, enums, etc from the CBaseNPC extension.
Error messages
No error message related to this extension appears.
Possible cause of the issue
While testing things I found something. The CBaseNPC extention include files are written like this:
While sourcemod default includes are written like this:
If I modify the CBaseNPC extension to follow the style of sourcemod default includes, autocomplete start working as normal.
The files are being parsed but it fails to read them properly because only the #define DEFNAME are listed for autocomplete.