RE: Problems Using VFP Beautify...

Author: Kurt Wendt

Posted: 2011-12-12 at 15:19:17

I think I have to agree w/Lou & Dan Covill - about Beautify being more

like Uglify!

I tried your suggestion (which, for the most part, the way you suggested

to run it is how I normally do it) - except I normally do Tabs as the

Indents instead of Spaces. So - I tried Spaces - but, I still got

problems. I then looked down thru the code - and was trying to match up

an Enddo with the Do While WAY Above it - only to find out that things

were NOT line up starting at a particular point in the code. So - I

tried doing some realignment myself - but, it's a BIG program - and it's

a bit of a difficult task! Oh well...

-K-

-----Original Message-----

From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com]

On Behalf Of kamcginnis@gmail.com

Sent: Saturday, December 10, 2011 1:25 PM

To: profoxtech@leafe.com

Subject: Re: Problems Using VFP Beautify...

If you have a mixture of tabs and spaces you can get some strange

indentations.

For Keywords: Mixed case,

Symbols: match first occurance

Type of indentation change to spaces and change the number to 3 click

all the 'text to indent', 'extra indent beneath'

Don't highlight any text and this will beautify the entire file.

----- Original Message -----

From: "Kurt Wendt" <kurtwendt@waitex.com>

To: <profox@leafe.com>

Sent: Friday, December 09, 2011 12:44 PM

Subject: Problems Using VFP Beautify...

I tend to use this tool in VFP a good bit - especially since a lot of

the code where I work tends to be REALLY SLOPPY - making it harder to

read.

One of the problems - is that they all make one long code - instead of

making things more procedural. The problem then becomes matching up the

tops and bottoms of loops - when trying to review code and look for a

problem. So - I use Beautify to clean up the Indentation - which then

generally makes it MUCH easier to see Loop structures.

However, the problem I have is that Beautify doesn't always work. So -

even after doing it - I go to the beginning of a Do While - and if I

then scroll directly down in the code - it all generally indents in

farther - then comes back out. Except - instead of an Enddo matching up

with the same indentation - I may find like an Endif.

Anybody know why it doesn't always work right? Is there Bugs in

Beautify?

Thanks,

-K-

Senior Developer

Waitex Information System, Inc.

P Save a tree. Don't print this e-mail unless it's really necessary.

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/289EA162F5642645B5CF64D624C66A140B7CE67B@us-ny-mail-002.waitex.net

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Kurt Wendt