Opened 4 years ago
Closed 4 years ago
#3878 closed Bug (Fixed)
Tidy corrupts user defined include lines..
| Reported by: | wimhek11@… | Owned by: | Jos | 
|---|---|---|---|
| Milestone: | Component: | SciTE4AutoIt | |
| Version: | 3.3.14.0 | Severity: | None | 
| Keywords: | Cc: | wimhek11@… | 
Description
Tidy changes the #include lines pointing to own includes 
from 
#include <Process.au3>
#include <C:\Users\wimhek\Documents\Projects\Includes\MyUdf.au3>
#include <C:\Users\wimhek\Documents\Projects\Includes\ExtMsgBox.au3>
#EndRegion INCLUDES
to 
#include <Process.au3>
#include <C : \Users\wimhek\Documents\Projects\Includes\MyUdf.au3>
#include <C : \Users\wimhek\Documents\Projects\Includes\ExtMsgBox.au3>
#EndRegion INCLUDES
As you see 2 spaces are added.
Following lines is the logging.
"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /Tidy /in "C:\Users\wimhek\Documents\Projects\GenAutoit\DocAutoit.au3"
+>15:27:40 Starting AutoIt3Wrapper (21.316.1639.1) from:SciTE.exe (4.4.6.0)  Keyboard:00020409  OS:WIN_10/2009  CPU:X64 OS:X64  Environment(Language:0413)  CodePage:0  utf8.auto.check:4
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => C:\Users\wimhek\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\wimhek\AppData\Local\AutoIt v3\SciTE 
Running Tidy (21.316.1639.1) from:C:\Program Files (x86)\AutoIt3\SciTE\tidy C:\Users\wimhek\Documents\Projects\GenAutoit\DocAutoit.au3
Documentation file:C:\Users\wimhek\Documents\Projects\GenAutoit\DocAutoit_tidy.txt
Showing:C:\Users\wimhek\Documents\Projects\GenAutoit\DocAutoit_tidy.txt
+>15:27:45 Tidy ended.rc:0
+>15:27:46 AutoIt3Wrapper Finished.
Exit code: 0 Time: 8.465
Attachments (0)
Change History (1)
comment:1 Changed 4 years ago by Jos
- Resolution set to Fixed
 - Status changed from new to closed
 
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
 - In-depth discussions should take place on the forum.
 
For more information see the full version of the ticket guidelines here.

Funny that nobody ever had this issue before. Guess that is mainly because when using a user defined UDF file one mainly uses this syntax: #include "c:\xyz\file.au3".
This is definitely an bug and should be fixed in the current Tidy beta version 21.316.1639.14
https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/Tidy.exe
Jos