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

Hints appear immediately after comma in object literal #35

Closed
njx opened this issue Apr 17, 2013 · 3 comments
Closed

Hints appear immediately after comma in object literal #35

njx opened this issue Apr 17, 2013 · 3 comments

Comments

@njx
Copy link

njx commented Apr 17, 2013

At the top level of a file in a JS project that will generate some heuristic hints, type: { foo: bar,

Result: Code hints pop up after the comma. There are two problems with this: (1) it's not clear to me that hints are appropriate here since I'm about to type another key, so there should be no completions; (2) the first item in the hint is selected, so when I hit Return it inserts that item, which is not what I want here since I usually create a newline after a comma.

@njx
Copy link
Author

njx commented Apr 17, 2013

I've seen this happen in other comma contexts as well--for example, after typing a comma in a var list.

@dloverin
Copy link

I have a fix for this issue.

@dloverin
Copy link

Fix with f6a073c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants