Skip to content

Implement command autocomplete #22

Description

@limoka

With current free form command system autocomplete is essentially impossible, because parsing anything requires full command to be already present.
Only solution I came up with:

  • Force command arguments to follow strict format.
  • For any arguments with spaces introduce quotes (" or similar) to indicate beginning and end

This would entail the following approach

  1. Parse arguments (On the client)
  2. Preprocess any arguments that need it. For example (Command Localized names don't work when host is dedicated server #21)

At this point we also could use current parsed representation to provide autocomplete to users

  1. Send command in parsed form
  2. Execute the command

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions