[DUG] Delphi 2005 IDE and naming conventions.

John Bird johnkbird at paradise.net.nz
Mon Jun 27 14:33:41 NZST 2005


I have always wondered why Delphi doesn't provide an option somewhere in the
IDE to rename default variable names...
When I drop a component on the page the first thig I do is rename it
according to what most people recommend...

Eg
button1 to btnStart etc
Label1 to lblHeader
Editbox1 to edtCode
Stringgrid1 to strgrdCodes  etc

Its mainly handy to remember what a type of component is called, I always
know a button will start with btn etc, so in the middle of coding I have to
think less.  And the word button at the beginning is simply too verbose.

It would be cool if there were an option somewhere in the IDE I could tick
and it would always do this naming convention.

John B
 
 


-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Phil Middlemiss
Sent: Monday, 27 June 2005 11:02 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Delphi 2005 IDE and naming conventions.


We are revisiting our naming conventions and I have read a few of the 
previous posts on the subject, along with suggested articles, and I have 
a question about the latest IDE for Delphi (we still use Delphi 6 but 
will probably upgrade with the next release... if it is stable). After using
Eclipse with Java for a little while now, one of the things 
I really appreciate in that IDE is that any documentation for a field 
etc appears in it's hint when the mouse is held over it. Having that 
feature makes some aspects of naming conventions less important I think.

My question is, does the latest Delphi IDE also have this feature? Where 
the code-insight hint that shows for something includes any 
documentation for that item? If it does then that will probably affect 
any changes we make to our naming conventions.

Cheers,
Phil.
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi




More information about the Delphi mailing list