Jump to content

TidyIt function comments


Kohr
 Share

Recommended Posts

Did you check the ini file in the tidy folder?

;)

This what I have - and mine is doing the same thing. The only INI I have is called - TidyV2_Example.ini

[ProgramSettings]

*** (tabchar)Indent setting: 0=Tabs >0=Number of Space

tabchar=0

*** Update Functions/Keywords/Macros/UDFs to Proper case

proper=1

*** Update Variables to: 1=LowerCase; 2=UpperCase; 3=First Dim/Local/Global or "First_Seen" Case (Only in combination with Proper=1)

vars=3

*** Update Spaces around Delimiters (Only in combination with Proper=1)

delim=1

*** Added comment to EndFunc statement e.g. "EndFunc ;==>UDF_Name"

endfunc_comment=1

*** Generate Documentation file for the Program With Func and Variable X-ref report

*** and optionally Display it with Notepad at the end of the Tidy run.

Gen_Doc=0

Gen_Doc_Show=0

*** Keep x Version of the File before the Tidy run and optionally store them in SubDirectory "\Backup"

KeepNVersions=5

backupDir=1

*** Remove Empty lines from Script Source

Remove_Empty_Lines=0

*** 1=Show Tidy Errors in Console 9=Debug Output

ShowConsoleInfo=1

*** Run DIFF program at the end of the Tidy run to show the difference between original and new program.

ShowDiffPgm=C:\Progra~1\WinMerge\winmerge.exe "%new%" "%old%"

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Link to comment
Share on other sites

This is mine

CODE

[ProgramSettings]

*** (tabchar)Indent setting: 0=Tabs >0=Number of Space

tabchar=0

*** Update Functions/Keywords/Macros/UDFs to Proper case

proper=1

*** Update Variables to: 1=LowerCase; 2=UpperCase; 3=First Dim/Local/Global or "First_Seen" Case (Only in combination with Proper=1)

vars=3

*** Update Spaces around Delimiters

delim=1

*** Added comment to EndFunc statement e.g. "EndFunc ;==>UDF_Name"

endfunc_comment=0

*** Generate Documentation file for the Program With Func and Variable X-ref report

*** and optionally Display it with Notepad at the end of the Tidy run.

Gen_Doc=0

Gen_Doc_Show=0

*** Keep x Version of the File before the Tidy run and optionally store them in SubDirectory "\Backup"

KeepNVersions=5

backupDir=1

*** Remove Empty lines from Script Source

Remove_Empty_Lines=0

*** 1=Show Tidy Errors in Console 9=Debug Output

ShowConsoleInfo=1

*** Run DIFF program at the end of the Tidy run to show the difference between original and new program.

;ShowDiffPgm=C:\Progra~1\WinMerge\winmerge.exe "%new%" "%old%"

I prefer no comment on that setting and it works ;).

Link to comment
Share on other sites

I found the following but it doesn't matter if it is set to 0 or 1. It never adds the comments to the end of functions. Mine also is called "TidyV2_Example.ini". No other ini files exist in the folder.

*** Added comment to EndFunc statement e.g. "EndFunc ;==>UDF_Name"

endfunc_comment=1

Kohr

Link to comment
Share on other sites

  • Developers

I elected not to override the Tidy.ini with the rollout of the new Tidy release but added an example tidy file to explain the possible options with the new Tidy program ...

Will see if i can have it created when none is there yet ...

;)

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...