Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Tab no longer inserts code hints #4963

Closed
iwehrman opened this issue Aug 27, 2013 · 10 comments
Closed

Tab no longer inserts code hints #4963

iwehrman opened this issue Aug 27, 2013 · 10 comments

Comments

@iwehrman
Copy link
Contributor

Pull #4916 disabled use of the tab key for inserting the selected code hint, but I really like inserting code hints with the tab key! Dreamweaver, Sublime Text, WebStorm, Ace and the TypeScript web editor also allow hints to be inserted with tab key. (Eclipse, however, does not support inserting hints with the tab key.)

I say we bring back the tab key. Who's with me!?

@peterflynn
Copy link
Member

Sure sounds like we need a preference for this! I still hate using Tab for code hints because it interferes with snippet expansion (in extensions like Emmet). (It's possible to have both features work at once, as evidenced by IDEs like Webstorm/IntelliJ, but we'd have to do a bunch of architectural changes first -- #4660 -- and in the meantime I still wouldn't be able to use Tab for snippets).

@pthiess
Copy link
Contributor

pthiess commented Aug 28, 2013

@peterflynn - we are awaiting feedback for the recent changes so to me at this point its not a priority.

@iwehrman
Copy link
Contributor Author

Another data point: the Chrome Dev Tools only use tab for committing hints, while enter dismisses the hint list.

@peterflynn
Copy link
Member

...which is why I hate the code hints in Chrome Dev Tools :-)

(that and I can never quite get the behavior for multiple results / ambiguous prefix to feel predictable)

@peterflynn
Copy link
Member

@iwehrman Can I close this since your PR landed?

@iwehrman
Copy link
Contributor Author

iwehrman commented Sep 6, 2013

I'll close it!

@iwehrman iwehrman closed this as completed Sep 6, 2013
@njx
Copy link

njx commented Feb 5, 2014

Someone asked for this on Twitter. We should remember to make this a preference eventually...not sure the best way to track that.

@peterflynn
Copy link
Member

@njx I've added a note in the Common settings as preferences user story.

@njx
Copy link

njx commented Feb 6, 2014

Oh cool, didn't know we had that story.

@Wikunia
Copy link

Wikunia commented Nov 11, 2016

A user asked me to support this in my extension. Is there any way at the moment for an extension developer to call function x on enter and y on tab?
Would be great!
Wikunia/brackets-jQuinter#11 (comment)

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

No branches or pull requests

5 participants