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

Consider loose completions in the syntax server on unresolved/error types #39034

Open
DanielRosenwasser opened this issue Jun 12, 2020 · 0 comments
Labels
In Discussion Not yet reached consensus Suggestion An idea for TypeScript

Comments

@DanielRosenwasser
Copy link
Member

Assume that no type named Foo exists in the current project, and assume the current file.

export let x: Foo;

x./**/

When requesting completions at /**/, we should consider giving a list of identifiers in the current file, similar to what we do for any in JavaScript files. This contrived example isn't great, but when opening a larger file, this could be helpful.

This is somewhat related to

@DanielRosenwasser DanielRosenwasser added Suggestion An idea for TypeScript In Discussion Not yet reached consensus labels Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In Discussion Not yet reached consensus Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

1 participant