vscode-factoriomod-debug icon indicating copy to clipboard operation
vscode-factoriomod-debug copied to clipboard

`feature_flags` global not recognized

Open alterae opened this issue 9 months ago • 1 comments
trafficstars

see https://lua-api.factorio.com/latest/types/FeatureFlags.html

the feature_flags global is made available in the prototype stage (unsure about the runtime stage), but sumneko is unaware of this (it appears to be missing from the api json? unclear; i only skimmed it)

alterae avatar Jan 29 '25 21:01 alterae

on some experimenting the FeatureFlags type does exist! so this can be worked around with a type annotation but it's super annoying

alterae avatar Jan 30 '25 13:01 alterae

done in 2.0.6

justarandomgeek avatar Jun 12 '25 17:06 justarandomgeek