Skip to content

Object literals in an assignment pattern do not get completions #3758

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

Closed
DanielRosenwasser opened this issue Jul 6, 2015 · 1 comment · Fixed by #40976
Closed

Object literals in an assignment pattern do not get completions #3758

DanielRosenwasser opened this issue Jul 6, 2015 · 1 comment · Fixed by #40976
Labels
Bug A bug in TypeScript Domain: Completion Lists The issue relates to showing completion lists in an editor Help Wanted You can do this
Milestone

Comments

@DanielRosenwasser
Copy link
Member

As mentioned by @JsonFreeman in #3698 (comment), completion at the cursor in the following example should list a and b (and I believe with no builder allowed).

let x, y;
let z = { a: 10, b: "20" };
let k = (100, { /**/ } = z, 300);
@danquirk danquirk added the Bug A bug in TypeScript label Jul 7, 2015
@mhegazy mhegazy added this to the TypeScript 1.7 milestone Aug 12, 2015
@mhegazy mhegazy modified the milestones: TypeScript 2.0, TypeScript 1.7 Oct 6, 2015
@mhegazy mhegazy modified the milestones: TypeScript 1.8, TypeScript 2.0 Dec 1, 2015
@DanielRosenwasser DanielRosenwasser added the Domain: Completion Lists The issue relates to showing completion lists in an editor label Jan 4, 2016
@mhegazy mhegazy added the Help Wanted You can do this label May 4, 2016
@mhegazy mhegazy modified the milestones: Community, TypeScript 2.1 May 4, 2016
@RyanCavanaugh RyanCavanaugh modified the milestones: Community, Backlog Mar 7, 2019
@DanielRosenwasser
Copy link
Member Author

Thanks @a-tarasyuk!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: Completion Lists The issue relates to showing completion lists in an editor Help Wanted You can do this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants