openmultiplayer / vscode-pawn

VS-Code extension for pawn language
https://open.mp
MIT License
16 stars 4 forks source link

What kind of nonsense is this? #14

Closed Vladik01-11 closed 1 month ago

Vladik01-11 commented 1 month ago

Code_kC94VNBjk6

AmyrAhmady commented 1 month ago

looks like the extension is reading from YSI and retrieving those macros for auto complete https://github.com/pawn-lang/YSI-Includes/blob/fa673344659bce16fc13f0c11151eafbdf7c890f/YSI_Coding/y_inline/y_inline_impl.inc#L2166

You can use this YSI files I guess: https://github.com/openmultiplayer/vscode-pawn#usage-of-pawnignore

Vladik01-11 commented 1 month ago

You can use this YSI files I guess: https://github.com/openmultiplayer/vscode-pawn#usage-of-pawnignore

it looks like a crutch, not a solution... 😕

AmyrAhmady commented 1 month ago

And what would the solution be? YSI defines macros using #define the extension lists #define defines for user to use imagine you have #define MAX_CUSTOM_GANGZONES 100

What am I supposed to do with these YSI defines??