Skip to content

Improve "<lang> not implemented yet" error output to indicate if it's a missing scope or missing language #1905

Open
@fidgetingbits

Description

I'm testing adding new language support and I have one scope type (comment) supported, so if I say take comment it works fine. However, if I try to use any other syntactic scope it says roughly language 'nix' not supported. My thinking is it would be clearer in a case where the language is partially supported to instead say something like scope 'x' not yet supported for language 'nix'. This would be less confusing to the user and may also help with development a bit (assuming underlying scope names differ from spoken form sometimes).

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