Download
(754Kb)
Download
Updated: 06-12-14 12:43 PM
Pictures
File Info
Updated:06-12-14 12:43 PM
Created:02-12-14 07:10 PM
Downloads:3,930
Favorites:8
MD5:

Lua Auto Indent

Version: 1.5
by: Spawnova [More]

Lua Auto Indent is a small program that can neatly indent large amounts of messy code that would normally be tedious work.

I've tested this on all my addons as well as many popular ones (over 60,000 lines) and have had no issues, with that being said this is still not 100% bug free so it's possible it might not indent correctly in some cases.

Please leave a comment if you have any suggestions, feedback or to report a bug.

v1.5 - Sorry for the all the recent updates found 2 new bugs that needed fixing and re-did all the regex patterns for much better optimization.

Do not edit the config.ini or rename the files.

Thank you for using my program. =)

1.5 Optimized all RegEx patterns for speed and fixed a few bugged ones.
Code inside of comment blocks now indent as well


1.4 Remade clunky icons, fixed an issue where certain words inside of quotes or after comments (brackets) caused wrong indenting, added a backup option (program shouldn't misplace any code, but added just to make people feel better.)
Also fixed an issue where blank lines were being added at the end of the new code.


1.3 Added more GUI elements for greater customization, added a quick indent program as well and fixed a few rare bugs.


1.2 Fixed an error where "else" was adding an extra tab in certain cases.


1.1 Fixed an issue where user tabbing after the start of the line was being removed.


1.0 program released
Post A Reply Comment Options
Unread 09-25-15, 07:43 AM  
Goldpaw
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 56
File comments: 17
Uploads: 21
Great tool, man!

After having pulled my hair out trying to get the auto indentation to function properly for Lua in Notepad++ and Sublime Text for hours, I finally came across this.

First thing ever that actually works properly!
Report comment to moderator  
Reply With Quote
Unread 06-16-14, 06:56 PM  
Spawnova
A Warpwood Thunder Caller
 
Spawnova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 96
File comments: 1
Uploads: 1
Re: hi

Originally Posted by Langepac
I do not know much English Tell Multiples: This program creates addons?
No this program does NOT create addons, it helps addon authors to organize large files fast and easy by automatically inserting tabs where they are needed.

Hope that helps. =)
Report comment to moderator  
Reply With Quote
Unread 06-16-14, 01:28 PM  
Langepac
A Kobold Labourer

Forum posts: 0
File comments: 134
Uploads: 0
Red face hi

I do not know much English Tell Multiples: This program creates addons?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: