It would be useful to allow users to declare in their scripts whether or not the code will run on:
- a privileged environment
- a processor or in another environment (such as in map objectives)
- a bleeding edge version of the game
This will allow the language server to warn about using features that are not available on the target environment and will also prevent
the current issue of suggesting privileged instructions and variables when the user is not targetting world processors.
To keep things manageable, I only plan to support the latest stable and bleeding edge versions of Mindustry.
It would be useful to allow users to declare in their scripts whether or not the code will run on:
This will allow the language server to warn about using features that are not available on the target environment and will also prevent
the current issue of suggesting privileged instructions and variables when the user is not targetting world processors.
To keep things manageable, I only plan to support the latest stable and bleeding edge versions of Mindustry.