Skip to content

feat: target annotations #14

Description

@JeanJPNM

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions