vscode-factoriomod-debug
vscode-factoriomod-debug copied to clipboard
`feature_flags` global not recognized
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)
on some experimenting the FeatureFlags type does exist! so this can be worked around with a type annotation but it's super annoying
done in 2.0.6