alternate key for code insight selection |
|
I would also like to see this as well.
I can see several keys as options to auto complete for code insight: tab, comma, space, enter, open and close parenteses, etc. Imagine having a function:
It would be nice to be able to type:
and have it autocomplete the whole thing because of the matching. Breaking it down: - Typing "$x = foo" would cause codeinsight to present the match list showing the foobar() function. - Typing the "$" would autocomplete the function name with the open parenthesis, as well as printing the "$" that was typed. - Typing "firs" would present the match for firstInputValue. - Typing the "," would autocomplete the variable "firstInputValue", as well as printing the "," that was typed. - The space just types a space. - Typing "$seco" would present the match for "$secondValue" - Typing ")" would complete the variable "$secondValue", as well as printing the ")" that was typed. (unless the ")" is already on the screen) - of course, typing the ";" just types the semicolon. *POOF* you typed very few characters, but ended up with:
|
||||||||||||||||||
|
Site Admin
|
in 4633 you can autocomplete with tab, like below $x = foo<tab>$fir<tab>, $sec<tab><right arrow>; |
||||||||||||||
_________________ The PHP IDE team |
|
Nice addition, but version 4632 is the downloadable version. |
||||||||||||||||
|
Veteran
|
I'm running 4633 now, may I ask how to use the TAB for code completion? Hitting Tab still inserts a tab character.
|
||||||||||||
|
|
Is see that 4633 does in fact use tab to complete, but not in the same manner as the enter key.
The tab key won't complete anything unless it is a unique item in the auto-completion list.--- Looks like a bug |
||||||||||||
|
|
Rudder, it should insert a tab character, unless the code-insight auto-completion box is up with selections for you. For example:
When you type:
Code-insight will show you two options: $thing1 and $thing2. You SHOULD be able to cursor to either of them, and hit TAB or ENTER to have it finish writing the variable for you. The problem is that TAB will NOT autocomplete unless it is the only option in the box. ENTER will work though. |
||||||||||||||||||
|
|
good observation.. I'm on 4633 and was confused why TAB didn't do anything new for me, either.
Thanks for the clarification-- will patiently await a fix/update. |
||||||||||||
|
Veteran
|
Great report rgagnon! I'm hoping to see a quick fix if dmitri doesn't mind . I was looking forward to this update .
|
||||||||||||
|
|
Bug was opened in correct forum for tracking.
tab-not-same-as-enter-in-autocomplete-in-4-6-3-t2970.html Moderator: Can you lock this thread? |
||||||||||||
|
alternate key for code insight selection |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by