I cannot imagine the native beautify solution does not work for you.
i encourage you to verify again these points:
1-beautify.app is the defaut beautifying app
_beautify=home(1)+"beautify.app"
messagebox(_beautify)
2-vfp menu---tools--beautify menu item---fires a dialog box (even if nothing is selected on code)
see the photo and fill it as well.(if you check no modify your code does not beautify).
the vfpx link i gave for yu iis the same code of native beautify (author:Graig Boyd) (to confirm).
and its all.
in principe its works as expected.
note: -verify the 3 files i pointed above if exists(beautify.app work with them)
-beautify fails always if there is some encoded strings in the code (blob for ex.)
-the vfp resource file foxuser.dbf (/fpt) stores beautify as record (memo not readable)
can delete the correspondant records to try:
SET RESOURCE OFF
USE FOXUSER
BROWSE
use
set resource on