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 parenthesis after type assertion #5563

Closed
tinganho opened this issue Nov 8, 2015 · 1 comment
Closed

Autocomplete parenthesis after type assertion #5563

tinganho opened this issue Nov 8, 2015 · 1 comment
Labels
API Relates to the public API for TypeScript Revisit An issue worth coming back to Suggestion An idea for TypeScript

Comments

@tinganho
Copy link
Contributor

tinganho commented Nov 8, 2015

Is it possible if TS could autocomplete type assertion?

When typing this:

html as HTMLAreaElement)

it autocompletes to this:

(html as HTMLAreaElement)

Really painful to go back and type that left parenthesis.

@mhegazy
Copy link
Contributor

mhegazy commented Nov 13, 2015

TypeScript does not do any thing now with brace completion. the brace completion you get in sublime/atom/vscode are built in to the editors and TS is not contributing to them. we have an issue tracking adding support for it in VS in #1484, i expect when we do this we will add some service APIs around it. this issue would be something we should revisit then.

@mhegazy mhegazy closed this as completed Nov 13, 2015
@mhegazy mhegazy added Suggestion An idea for TypeScript Revisit An issue worth coming back to API Relates to the public API for TypeScript labels Nov 13, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API Relates to the public API for TypeScript Revisit An issue worth coming back to Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

2 participants