[DUG] Delphi 2005 IDE and naming conventions.

Allan, Samuel S.A.Allan at massey.ac.nz
Mon Jun 27 15:30:27 NZST 2005


We have a thing installed into Delphi (6&7) that re-names all the
components according to our naming conventions giving us btn1, btn2 etc.
Someone here wrote it. Email me off the list if you want it and I will
ask for you.

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of David Brennan
Sent: Monday, June 27 2005 2:58 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: RE: [DUG] Delphi 2005 IDE and naming conventions.


Better still it should be done by registration. So you could use
Borlands
registered prefixes or you could register your own prefixes for the
various
components in your own design time package. 

However Delphi still needs to come up with unique names so you would get
btn1, btn2, etc. 

David.

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On
Behalf Of John Bird
Sent: Monday, 27 June 2005 2:34 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: RE: [DUG] Delphi 2005 IDE and naming conventions.

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


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

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



More information about the Delphi mailing list