Kohr Posted December 3, 2006 Share Posted December 3, 2006 When I run TidyIt from my work pc the functions get updated with something like "EndFunc ;==>Results" but when I run it from home pc I am not getting the added comments after the EndFunc line. What do I need to do to get this feature to work at home? Kohr AutoIt LinksAutoIt CrapsGrid_PixelSearchAdvancedPixelGrab Link to comment Share on other sites More sharing options...
MHz Posted December 3, 2006 Share Posted December 3, 2006 Did you check the ini file in the tidy folder? Link to comment Share on other sites More sharing options...
nitekram Posted December 3, 2006 Share Posted December 3, 2006 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%" 2¢ 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." 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 More sharing options...
MHz Posted December 3, 2006 Share Posted December 3, 2006 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 More sharing options...
Kohr Posted December 3, 2006 Author Share Posted December 3, 2006 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 AutoIt LinksAutoIt CrapsGrid_PixelSearchAdvancedPixelGrab Link to comment Share on other sites More sharing options...
MHz Posted December 3, 2006 Share Posted December 3, 2006 I have the example ini file "TidyV2_Example.ini" but I also have "tidy.ini". Link to comment Share on other sites More sharing options...
Kohr Posted December 3, 2006 Author Share Posted December 3, 2006 That did it. I needed Tidy.ini and "endfunc_comment=1" to turn it on. I tried it with a 0 and then it stopped working. I wonder why tidy.ini did not exist. Thanks for the help. Kohr AutoIt LinksAutoIt CrapsGrid_PixelSearchAdvancedPixelGrab Link to comment Share on other sites More sharing options...
MHz Posted December 3, 2006 Share Posted December 3, 2006 JdeB may answer about the missing ini as I am unsure of the setup but I am just glad to help. Link to comment Share on other sites More sharing options...
Developers Jos Posted December 3, 2006 Developers Share Posted December 3, 2006 (edited) 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 December 3, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now