Re: Problems Using VFP Beautify...

Author: <kamcginnis@gmail.com>

Posted: 2011-12-10 at 13:25:08

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/033e01ccb769$0cdd4aa0$7a00a8c0@w2k3s02

** 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 <kamcginnis@gmail.com>