Eclipse IDE Help!

David Lloyd lloy0076 at adam.com.au
Sat Dec 2 10:50:22 CST 2006


Adz,

> It's actually worth getting used to IMHO.

No, it's a buggy feature that is just crap.

> Did you realise that the second auto-inserted quote will also be
> auto-overtyped when you get to it?

I know very well what it is meant to do. I forgot to mention that I'm 
experiencing most of my difficulties rewriting crap PHP code.

print "<center><a 
href=\"javascript:popUp('popup.php?gid=$row[galleryID]');\"><img 
gallery=\"gallery\" src=$row[galleryImageThumb]></a><br /><a 
class=\"friend\" href=\"#\" 
onclick=\"window.open('send_to_friend.php?gid=$row[galleryID]', 
'stfphp', 'scrollbars=yes,width=500, height=350');\">Send to a 
Friend</a>&nbsp;<br /></center>";

Trust me - if some mentally retarded tool adds one, two or more quotes 
in that, you'll end up losing yourself especially when '' looks like ".

> You can speed it up by typing "A<ENTER>
> Which'll give: "|", then "A|" then "A"|

Actually, that makes it worse.

> Of course, it falls down when you like to type the two quotes/brackets
> yourself FIRST.  Then the insertion point moves past the second quote.

I made no mention of brackets; auto complete "features" are fine except 
when they don't work.

In my case, adding the closing apostrophe or double quote doesn't work.

Given that Eclipse can determine when there's a parsing error, it 
shouldn't be too difficult to do:

  1. They added a double quote
  2. Crap, adding ANOTHER double quote causes a parse error
     - DO NOT ADD THE EXTRA DOUBLE QUOTE	
  3. If the extra double quote DOES NOT cause a parse error, add it

You really are suggesting that I get used to a FEATURE that INTRODUCES 
bugs into my code...given that I'm feeling a little 'feisty' at the 
moment I really won't say what I want to say.

My third party asbestos suit insurance is not paid atm.


DSL


More information about the linuxsa mailing list