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

Autocomplete: Prefer matches with the same capitalisation #29140

Open
5 tasks done
AlCalzone opened this issue Dec 24, 2018 · 0 comments
Open
5 tasks done

Autocomplete: Prefer matches with the same capitalisation #29140

AlCalzone opened this issue Dec 24, 2018 · 0 comments
Labels
Domain: Completion Lists The issue relates to showing completion lists in an editor In Discussion Not yet reached consensus Suggestion An idea for TypeScript

Comments

@AlCalzone
Copy link
Contributor

Suggestion

When there are autocomplete matches with the same or similar name but different capitalisation, the matching capitalisation should be preferred. Or the match should be at least consistent - currently, there is no clear behavior.

Examples

How it looks when it doesn't work:
unbenannt

How it looks when it works:
unbenannt2

Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.
@weswigham weswigham added Suggestion An idea for TypeScript In Discussion Not yet reached consensus Domain: Completion Lists The issue relates to showing completion lists in an editor labels Dec 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Domain: Completion Lists The issue relates to showing completion lists in an editor In Discussion Not yet reached consensus Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

2 participants