Skip to content

[LS] Support more code-suggestions/auto-completions #99

Open

Description

Issue To Be Solved

It would be really nice to have code-suggestions and auto-completions for more prominent use cases.

Suggest A Solution

  • Can support auto-completions at different levels. e.g: Top-level, statement-level, expression-level, etc.
  • Filter the results based on the context. e.g:
    • At the top-level, statements shouldn't be provided as suggestions.
    • Similarly, when the cursor is inside a contract, it should only provide suggestions of the constructs that are allowed within a contract.
  • Support completions/suggestions when there are syntax errors.
  • May require to introduce resilient parsing to support these.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions