Edited by MvGulik, 07 February 2011 - 12:16 PM.
Organize Includes in SciTE4Autoit3
#21
Posted 16 March 2010 - 03:45 PM
#22
Posted 19 March 2010 - 01:20 PM
Certainly not! I' working on a new version which has got some bugfixes and new featues.Bummer. I seems to have lost Xenobiologist interest on the subject. No point. Dropping subject.
To answer your question. The problem you discuss is not really a problem, because the source held in that variable is really only for getting the needed info from it. And do get all the needed info.
Besides, the line break stuff dosen't come from the Regex pattern - it belongs to StringStripWS.
This line $noComment_source = StringStripWS($noComment_source, 7) ; doppelte Leerzeichen/Umbrüche entfernen
leads to the linebreak stuff you mentioned. But as I said before, it is no problem for me, because my following functions in the source code can work with that.
Thanks for your effort!
Mega
#23
Posted 19 March 2010 - 03:09 PM
Edited by MvGulik, 07 February 2011 - 12:16 PM.
#24
Posted 25 March 2010 - 11:38 PM
#25
Posted 08 May 2010 - 07:34 PM
#26
Posted 09 May 2010 - 08:55 PM
A simple little improvement would be to insert the includes after the directives. Autoit directives are always supposed to be at the top. Great tool. I use this countless times every day.
Hi,
this is already implemented you can set a "keyword" after which OI should insert the includes.
Bytheway, I'm going on a little vacation this week and after that I'll upload a new version with some bugfixes and new features.
Thank for your comment.
Mega
#27
Posted 11 July 2010 - 07:49 PM
Now I get this error message: Line 0 (File "C:\Program Files (x86)\AutoIt3\Scite\OrganizeIncludes\OI_1.0.0.50.au3"): Error: Error opening the file."
Previously I got an error message about not having a certain .ini but I didn't write that message down.
Does anyone have any idea what might be the problem? I'm running Windows 7 64bit with the latest version of autoit. I extracted the zip into the Scite directory and then I copied those lines into scite user properties. The only thing that I am doing different is that I recently reinstalled windows which seems to correspond with the problem. Maybe I should just reinstall again?
RegisterDeviceNotifications | FunctionNameLister | SciTE Customization GUI | MouseHover --> CallTips
#28
Posted 11 December 2010 - 12:47 AM
Let me make one proposition:
could you add such function as creating a list of functions-exceptions?
The matter is: when I use your tool, some functions, which not placed in "C:\Program Files\AutoIt3\Include",always removed from my scripts. It would be very nice,imho, if user could create a directory with such kind of functions and your program ignore all of them, placed in this directory.
Excuse my bad English, comrade...
#29
Posted 16 December 2010 - 03:02 PM
Hi, I'm suddenly having some trouble using Organize Incudes. OI worked fine for me until just recently.
Now I get this error message: Line 0 (File "C:\Program Files (x86)\AutoIt3\Scite\OrganizeIncludes\OI_1.0.0.50.au3"): Error: Error opening the file."
Does anyone have any idea what might be the problem? I'm running Windows 7 64bit with the latest version of autoit. I extracted the zip into the Scite directory ...
The original instruction line reads
, which is wrong.1) Extract the zip here (ProgramsDIR) ..\AutoIt3\SciTE\
It should read
1) Extract the zip here (ProgramsDIR) ..\AutoIt3\SciTE\OrganizeIncludes\
After that, there'll be no more Line 0 (File "C:\Program Files (x86)\AutoIt3\Scite\OrganizeIncludes\OI_1.0.0.50.au3"): Error: Error opening the file."
#30
Posted 17 December 2010 - 03:39 AM
Hi! Thanks guwguw, I eventually realized that the PDF has some outdated info but the forum post is up to date. If I remember correctly anyways. Well, I appreciate that you've taken the time to reply to my plea for help.The original instruction line reads
, which is wrong.
It should read
1) Extract the zip here (ProgramsDIR) ..\AutoIt3\SciTE\OrganizeIncludes\
After that, there'll be no more Line 0 (File "C:\Program Files (x86)\AutoIt3\Scite\OrganizeIncludes\OI_1.0.0.50.au3"): Error: Error opening the file."
RegisterDeviceNotifications | FunctionNameLister | SciTE Customization GUI | MouseHover --> CallTips
#31
Posted 17 December 2010 - 09:09 AM
I'll have a look, whether I can finifsh a new version with some bugfixes and addons this year.
Mega
#32
Posted 04 July 2011 - 03:07 PM
You can set it so that you do not get a file open dialog by moving the second line in the user options to sit next to the first line like so:
command.36.*.au3="$(autoit3dir)autoit3.exe" "$(autoit3dir)SciTEOrganizeIncludesOI_1.0.0.50.au3" "$(FilePath)"
Also, you can set the script so that it does not read the includes (on line 846) like so:
or preferably,
You can set it so that the settings tab opens up the settings.ini file on click instead of using the file open dialog, by changing the code to the following, on line 1096 to the following:
Next, the more annoying part.
When I open a file, it detects perfectly. But when I select "Organise Includes", it does not remove the includes that I have already got. So I just end up with a whole bunch on unnessecary includes.
But as a whole, I have got to say that this is an excelent utility.
Thanks for making such a great tool for the community.
EDIT
Tried to change the script a little to delete the includes already in there... Too tired... will do it tomorrow... working around about line 1180 or something like that... Goodnight world hahaha.
EDIT
Nope... to busy sorry, not going to bother for now. maybe some time in the future I will take a look at it.
Edited by Mikeman27294, 21 January 2012 - 08:49 AM.




