Jump to content

how to remove extra space in auolisp code


Recommended Posts

Posted
(defun make_toolbox (menulist   /		 n	    num_nobut
		   num_button nn	 nnn	    menuname
		   val_lst    add_dclrow tt	    order_lst
		   in	      num_image
		  )

 

how to remove extra space in auolisp code

 

Untitled.png

Posted

I think that in VLIDE you have option to format code, or in BricsCAD make pretty...

Posted (edited)

I have used ChatGBT for similar issues:
like when you encounter code that is a formatting nightmare..

 

(defun make_toolbox (menulist / n num_nobut num_button nn nnn menuname
                             val_lst add_dclrow tt order_lst in num_image)
)

 

Edited by ILoveMadoka
Posted

i found some vs code option 

 

 

1.png

2.png

3.png

Posted

A macro in Notepad++ replace "      " with " " etc Oh yeah "\t" " ".

  • Agree 1
Posted
2 hours ago, BIGAL said:

A macro in Notepad++ replace "      " with " " etc Oh yeah "\t" " ".

Dear Sir,

 

Thanks ..............

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...