TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: w64bit on December 11, 2020, 07:39:56 AM
-
Hi,
I am very new to LISP and I want to know if there is any tool to automatically fix indenting in existing lsp files (not something like parinfer when writing new code).
I am asking this because the content in some of my files is left aligned.
It seems I am asking too much but I want some order in my files and I think I'll learn faster if I first I can correct the indenting of my existing code.
Maybe there are several ways to indent lisp code but I'll take any simpler method you can suggest.
Thank you very much
-
See the ancient lisp beautifier tool lb.exe
http://www.theswamp.org/index.php?topic=37924.0 (http://www.theswamp.org/index.php?topic=37924.0)
You'll need to use DOSBox to run it
https://www.dosbox.com/ (https://www.dosbox.com/)
-
Thank you very much.
-
Why not just load it into the Visual LISP Editor and use the "Format code in Editor" under the "tools" menu?
-
Or in VS Code: <Ctrl-k Ctrl-f>
-
Or in Bricscad BLADE (Reformat Beautify)
-
Beautiful!
Thank you very much.