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

Autocompletion should not autocomplete parentheses on import clause #3660

Closed
tinganho opened this issue Mar 3, 2016 · 3 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) typescript Typescript support issues
Milestone

Comments

@tinganho
Copy link

tinganho commented Mar 3, 2016

I have the settings

"typescript.useCodeSnippetsOnMethodSuggest": true,

It current autocompletes on import clauses too. Which is not desired.

import { setRoutes(app)} from './Routes/Index';
@isidorn isidorn added the typescript Typescript support issues label Mar 3, 2016
@tinganho
Copy link
Author

tinganho commented Mar 5, 2016

I also find autocompletion of call expression to be strange when handling of overloads. It seems like it choose the wrong ones for me all the times. Maybe overloads should only be autocompleted with the least arguments?

@tinganho
Copy link
Author

tinganho commented Mar 5, 2016

It would be also awesome if it could autocomplete the arguments. If it finds assignable variables in scope and there exists only one assignable variable it should autocomplete it as an argument in a call expression.

function f(a: string) {
}

let b: string;
f(b) // autocompleted with b as an argument.

@dbaeumer dbaeumer added this to the Backlog milestone Mar 9, 2016
@dbaeumer dbaeumer added the bug Issue identified by VS Code Team member as probable bug label Mar 9, 2016
@dbaeumer dbaeumer added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 15, 2016
@dbaeumer
Copy link
Member

Dups #2092

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

3 participants