Sign in to follow this  
Followers 0
JLogan3o13

Question about SciTE Config

4 posts in this topic

I just wanted to confirm some behavior for SciTe Config. I added a User Includes folder, and added several UDFs in there (OutlookEX, AD, etc.). After doing so, the autocomplete comes up just fine when calling functions within these UDFs. I have tried adding some others, however (RecFileListToArray, ChooseFileFolder, _WinSplit) do not show the autocomplete after added to this directory and reloading AutoIt.

Just curious if it is in the way the UDF is written, or some other factor that causes this behavior?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites



I just saw Melba's reply to another post and think I answered my own question.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

JLogan3o13,

Each time you open the CallTip Manager it reads the user include folder(s) - if any - and if those folders are selected in the left-hand combo reads the .au3 files within them into the right-hand combo. When I add files to my User Include folder they certainly appear in the combo. :)

But you have to parse any UDFs with the app before the CallTips and AutoComplete appear in Scite - this does not happen automatically. Select the UDF to parse and presss the "Parse" button - the UDF then looks through all the functions and suggests which ones you might like to add. The new version that Jos has just uploaded to the Beta download page uses the following logic:

Header Mode:

 

Old-fashioned function headers: Looks for the # FUNCTION # ==== headers and ignores the # INTERNAL USE ONLY # ==== ones. It uses the Syntax and Description lines from the header.

New function headers without details: As above but then if it finds nothing looks for Func _Func_Name lines.

Direct Mode:

Just looks for Func _Func_Name lines.

Does that help? :huh:

M23

Edit: Oh well, it might help someone else! :D

Edited by Melba23

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Thanks, as usual, no sooner did I post than I saw JohnOne's thread. It's been so long I forgot I have to parse through them one by one :)


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
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
Sign in to follow this  
Followers 0