Skip to content

Consider differentiating these two *CompletionContext scenarios using fewer public types #1929

Closed

Description

@jonsequitur
    public class TextCompletionContext : CompletionContext 
    {
        public string CommandLineText { get; }
        public int CursorPosition { get; }
        public TextCompletionContext AtCursorPosition(int position);
    }
 
    // Does this class need to be public?  (Could some other library instantiate one meaningfully?)
    public class TokenCompletionContext : CompletionContext 
    {
    }

Activity

  1. added
    Area-Completions
    on Nov 2, 2022
  2. self-assigned this
    on Nov 8, 2022
  3. added this to the 2.0 GA milestone on Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area-APIArea-Completions

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions