NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Tabbing before "ending" a line
Veteran

Joined: 22 May 2008
Posts: 141
Reply with quote
I am wondering if anyone knows of a setting I can change that allows me to "tab" before terminating a string with a semi-colon in PHP.

Example.. (tab) represents me hitting the tab key.
Code:

<?
$string    = "abc";
$test(tab)
?>

..when I press tab, it doesn't work.


However, when I insert a semi-colon to terminate the string, press the backarrow key, then tab, it works..
Code:

<?
$string    = "abc";
$test(tab)(tab); // semi-colon was inserted before I tabbed
?>
View user's profileFind all posts by simshaunSend private message


Joined: 03 Jun 2008
Posts: 76
Location: Bavaria, Germany
Reply with quote
you might try to check 'Cursor beyond EOL' in Tools/Settings/Editor/Editor settings
View user's profileFind all posts by bitseekerSend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
If you have the "code completion on tab"-option checked (in options under Code Insight > Settings) it will attempt to do code insight, fail and eat the TAB key.
Disabling that option should solve your problem.
View user's profileFind all posts by BlizzSend private messageVisit poster's website
Veteran

Joined: 22 May 2008
Posts: 141
Reply with quote
Thankyou. That solved my problem.
View user's profileFind all posts by simshaunSend private message
[resolved] Tabbing before "ending" a line
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic