5.2 and TAB code compleion |
Guru master
|
TAB key works perfectly here, you didn't override it or assigned it to something else mistakenly?
|
||||||||||||
|
|
Something is different. Code completion now kicks in.
Inside of docblocks i can no longer tab to get some spaces between the @something and the value. It seems impossible to get a correct tab in comments now anyway. Also, how are we supposed to get something like this in the editor?
I cant get a tab in code any longer. |
||||||||||||||
Last edited by kreischweide on Fri Oct 19, 2007 2:33 am; edited 1 time in total |
Guru master
|
I'm glad I don't have that problem, the TAB key mainly and the backwards bracket matching are irritating enough already sigh.
Hopefully they fix all of those pretty quick. On a positive note I have to say that I really like the expanded code folding I also upgraded over build 5031 btw. |
||||||||||||
|
Site Admin
|
If enabled, TAB is used for inline code completion. See Tools->Settings->Code Insight settings->Code Completion On Tab checkbox.
Under "inline" I mean for example if you have SOMELONGNAME partially typed, it will try to complete without invoking popup. If no common sequence is found it will invoke popup. |
||||||||||||
_________________ The PHP IDE team |
|
Thank you! Disabling that setting made atleast my TAB-button work as usual.
But it still doesn't solve my other problem, where I can't use TAB when the code completion window is open. In versions prior to 5.0 I could. I like the new Code Explorer en code folding btw, good job. |
||||||||||||
|
Site Admin
|
I'm not sure what you mean. Please try the following file: <?php define('A_LONG1_CONST', 'some test'); define('A_LONG2_CONST', 'some test2'); define('A_LONG3_CONST', 'some test3'); ?> Then type A_ and invoke code completion, then press TAB, it's supposed to complete up to A_LONG, then if you type 1 and press TAB one more time it will finish. Do you see any other behaviour? |
||||||||||||||
_________________ The PHP IDE team |
Site Admin
|
We made it a bit "smarter" and tab will work as usual in most cases, except when code completion request is "predicted". In this case TAB works like command line completion in unix shell http://en.wikipedia.org/wiki/Command_line_completion
Still you can turn Code Complation On Tab off on the Code Insight settings page. |
||||||||||||||
_________________ The PHP IDE team |
Guru master
|
What I don't get is why it also pops up when you aren't typing code.
Small example is that you just typed a line, finished it with ; and then want to TAB a few times to add comments on that line that are on the same column. It still pops up the code completion dialog which made me deactivate it directly, even if it's the most handy accessory there is, I need my TABs in whitespaces. Is there any reason it doesn't listen to the "min characters" option? FYI, the tooltip for the code completion check box is identical to the Limit scope option above it, seems like a small copy/paste bug Edit: Seems the TAB thingy was also fixed in build 5210, nice The tooltip copy is still there though |
||||||||||||
|
Veteran
|
Is this something new in 5.2? The reason I ask is because I was writing some PHPdoc and did not understand why the TAB would not work I wrote /** * VAR String */ And I tried to press TAB after String, and nothing happened. If I moved the cursor one space after String, I could use TAB again. So I was about to report it as a bug, when I saw this thread, changed the settings suggested and TAB then started to work again. I can see some people finds this new tab thing useful, however PHPed would be the first editor to do that I think. All other editors I have tried use ctrl + space for code completion. |
||||||||||||||||
|
Site Admin
|
it would work if you updated to 5210 |
||||||||||||||
_________________ The PHP IDE team |
Veteran
|
It was on build 5210 I discovered the problem?
Reading about all the problems there was with installation of 5209 I waited to the latest release before updating. I really like the new features and the speed of the new version, just though it was funny that the Tab key did nothing, when I pressed it during PHPdoc writing. |
||||||||||||
|
5.2 and TAB code compleion |
|
||
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