SkaceKamen / vscode-sqflint

SQF Language server extension
MIT License
19 stars 9 forks source link

Support/bypass for "import" and "from" keywords in the processing of description.ext #128

Open mrCurry90 opened 1 year ago

mrCurry90 commented 1 year ago

This may be on the todo-pile already but raising it so it isn't missed for future versions.

The import call for description.ext import RscCredits from RscTitles; will result in an error

Expected "(", "=", "[]", comment, end of line, or whitespace but "R" found.

I guess since they are fairly new "import" and "from" are not being properly recognized. Biki: Link

I can see it being tricky to get it working proper without the full config reference to pull from but accepting the line as valid is a must since the error invalidates the parsing of the description.ext including CfgFunctions and all the problems that entails.