Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion provider: Filter by type of context #996

Open
lars-reimann opened this issue Apr 5, 2024 · 0 comments
Open

Completion provider: Filter by type of context #996

lars-reimann opened this issue Apr 5, 2024 · 0 comments
Labels
enhancement 💡 New feature or request vscode 🔨 Issues regarding tools like the VS Code extension
Milestone

Comments

@lars-reimann
Copy link
Member

lars-reimann commented Apr 5, 2024

In the completion provider, we can filter suggested references by the type required by the context:

  1. Stream all types that are reachable from a suggestion (e.g. types of attributes of a class, types of function results, ...).
  2. If none of those types match, remove the suggestion.
@lars-reimann lars-reimann mentioned this issue Apr 5, 2024
19 tasks
@lars-reimann lars-reimann added this to DSL Apr 5, 2024
@github-project-automation github-project-automation bot moved this to Backlog in DSL Apr 5, 2024
@lars-reimann lars-reimann changed the title Filter completions based on types Completion provider: Filter by type of context Apr 5, 2024
@lars-reimann lars-reimann added enhancement 💡 New feature or request vscode 🔨 Issues regarding tools like the VS Code extension labels Apr 5, 2024
@lars-reimann lars-reimann added this to the Future milestone Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 💡 New feature or request vscode 🔨 Issues regarding tools like the VS Code extension
Projects
Status: Backlog
Development

No branches or pull requests

1 participant