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

Bracketed property completions starting with whitespace #42572

Closed
gushuro opened this issue Jan 30, 2018 · 1 comment
Closed

Bracketed property completions starting with whitespace #42572

gushuro opened this issue Jan 30, 2018 · 1 comment
Assignees
Labels
*as-designed Described behavior is as designed editor-autoindent Editor auto indentation issues

Comments

@gushuro
Copy link
Contributor

gushuro commented Jan 30, 2018

Regarding #42370
When an object has a property with a whitespace at the beginning, it doesn't show up as a suggestion when using dot.

It does appear if you trigger autocomplete inside [''] using ctrl+space

@vscodebot vscodebot bot added editor editor-autoindent Editor auto indentation issues labels Jan 30, 2018
@mjbvz mjbvz added the *as-designed Described behavior is as designed label Jan 31, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Jan 31, 2018

A little weird but actually by-design for backwards compatibility. See microsoft/TypeScript#20547 (comment)

@mjbvz mjbvz closed this as completed Jan 31, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed editor-autoindent Editor auto indentation issues
Projects
None yet
Development

No branches or pull requests

2 participants