Re: Is there a way to do this in the IDE?
- From: Steve Troxell <steve_troxell@xxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 10:42:17 -0400
do_not@xxxxxxxxx wrote:
I'm new to Delphi but there is one feature I can't seem to find (if it
exists). In Visual basic, once you declare a variable, you can type it
in later in your code and the editor will automatically change the
case to reflect the way it was declared. For example:
Dim A as string
a="hi" typed in would become A="hi"
I got very used to relying on that feature to catch typing mistakes.
Is there a way to do that in Codegear 2007?
By "typing mistakes" do you mean getting the case wrong, or typing the wrong variable name and noticing it's wrong because it didn't uppercase itself?
If you're using that to catch wrong variable name mistakes, the equivalent feature in Delphi is Error Insight. This will draw a red squiggly line underneath identifiers it doesn't understand in the current context.
In BDS 2006 you turn it on/off under Tools | Options | Editor Options | Code Insight | Error Insight.
Steve Troxell
.
- References:
- Is there a way to do this in the IDE?
- From: do_not
- Is there a way to do this in the IDE?
- Prev by Date: Re: [ANN] Gnostice PDFViewer Demo
- Next by Date: Re: Open letter re: TNT Unicode components redistribution
- Previous by thread: Re: Is there a way to do this in the IDE?
- Next by thread: [Embedded 2.x] Compiling statically with Delphi?
- Index(es):