Visual Lisp IDE indent

Visual Lisp IDE indent

scott_bolton
Advocate Advocate
981 Views
3 Replies
Message 1 of 4

Visual Lisp IDE indent

scott_bolton
Advocate
Advocate

Chaps,

I've noticed that, in the last couple of days, the auto-indent format of the IDE has changed. Now instead of two spaces it is four, which means that a heavily nested block of code is VERY wide. Anybody have this or know of a solution? Have I inadvertently changed a setting?

S

0 Likes
Accepted solutions (1)
982 Views
3 Replies
Replies (3)
Message 2 of 4

roland.r71
Collaborator
Collaborator
Accepted solution

@scott_bolton wrote:

Chaps,

I've noticed that, in the last couple of days, the auto-indent format of the IDE has changed. Now instead of two spaces it is four, which means that a heavily nested block of code is VERY wide. Anybody have this or know of a solution? Have I inadvertently changed a setting?

S


I'm oldschool, so i use Textpad for all my scripting instead.

 

But, yeah, you probably changed a setting.

 

When in the editor, go to: Tools - Environment options - Visual LISP Format Options...

Check the value for: Narrow style indentation (should be 2, it probably says 4 for you)

0 Likes
Message 3 of 4

scott_bolton
Advocate
Advocate

Roland, thanks for that, but there is absolutely NO WAY that I accidentally executed a five-step action! Just one of those AutoCAD things I guess.

0 Likes
Message 4 of 4

roland.r71
Collaborator
Collaborator

I would be surprised if you did, without remembering doing so.

But for the moment i can't find an alternative way to set the value.

There doesn't seem to be a sysvar for it, or anything else you might have accidentally changed. At least, i haven't found one yet.

The important thing is, you now know how/where to look Smiley Wink