# The autocomplete with #include doesn't work :/

## Recommended Posts

Hi guys! I've reinstalled the AutoIt Editor and so on, and when I tried to create a new program, I've always started with #include <...>, but I've noticed that the autocomplete ( the scrollbar that helps you completing the library ), it's not working :/ Can you help me out please? Thanks

Spoiler

I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

In case I am violating some pseudo Forum rule, or I am doing something wrong, I want let you know that I'm not doing this on purpose, and for this, I kindly ask you to send me a private message about the "bad content" I posted, in order to edit/remove it, and to not be warned wrongly.

##### Share on other sites

IIRC autocomplete only works for AutoIt keywords, functions and user defined variables.
I have never seen it work on libraries (just tested).
Are you sure it worked for you before?

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:

##### Share on other sites

BTW: AutoIt related editor functions only work after you have saved the file as au3.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:

##### Share on other sites

I swear it worked... I don't know how I can show it to you now, but I swear that it worked... The autocomplete was something like: #in => #include, #include-once... Then, when I type <, it gave me all the libraries installed... MsgBoxConstants.au3, AutoItConstants.au3... I swear!

Spoiler

I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

In case I am violating some pseudo Forum rule, or I am doing something wrong, I want let you know that I'm not doing this on purpose, and for this, I kindly ask you to send me a private message about the "bad content" I posted, in order to edit/remove it, and to not be warned wrongly.

##### Share on other sites

If you saved the file as e.g. test.au3 does it work then?

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:

##### Share on other sites

No, it doesn't work :/ I just saved as test ( .au3 ), and if I try to write #include <, the list shows itself, but it's empty!

Spoiler

I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

In case I am violating some pseudo Forum rule, or I am doing something wrong, I want let you know that I'm not doing this on purpose, and for this, I kindly ask you to send me a private message about the "bad content" I posted, in order to edit/remove it, and to not be warned wrongly.

##### Share on other sites

Maybe Jos chimes in and sheds some light onto this subject

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:

##### Share on other sites

Autocomplete should work since the last release and should work when the selected lexer is AU3.

Do you have a file called: includes.txt  in %Scite_UserHome%  ?

Jos

Edited by Jos

Live for the present,
Dream of the future,
Learn from the past.

##### Share on other sites

Jos, that honor  I just look for this file, and I didn't find anything... :/ Thanks for all your answers guys

Spoiler

I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

In case I am violating some pseudo Forum rule, or I am doing something wrong, I want let you know that I'm not doing this on purpose, and for this, I kindly ask you to send me a private message about the "bad content" I posted, in order to edit/remove it, and to not be warned wrongly.

##### Share on other sites

Could you try downloading the current version of that file from the Beta directory and copy it into the indicated directory?
Just looked at the NSIS Installer source and see I never added the file so makes sense it doesn't work with a clean install.

Jos

Edited by Jos

Live for the present,
Dream of the future,
Learn from the past.

##### Share on other sites

Now it works like a champ Great work Jos! Thank you! And thank you water too

Spoiler

I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

In case I am violating some pseudo Forum rule, or I am doing something wrong, I want let you know that I'm not doing this on purpose, and for this, I kindly ask you to send me a private message about the "bad content" I posted, in order to edit/remove it, and to not be warned wrongly.

##### Share on other sites

The includes.txt should have been created by installer as that runs at the very end this commandline:

"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\SciTEConfig\SciTEConfig.au3" /Installer

Sciteconfig reads the Registry entries for the standard and userdefined Include directories and then generate the file includes.txt.

Did you use the installer and did it actually shell that command? ( can be checked in install.log in the SciTE program directory).

Jos

Edited by Jos

Live for the present,
Dream of the future,
Learn from the past.

##### Share on other sites

I used this installer: https://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe, and in the path ( for me ) C:\Program Files (x86)\AutoIt3\SciTE ( is this, right? ), there's no install log. Just a .txt file named install.txt.

Spoiler

I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

In case I am violating some pseudo Forum rule, or I am doing something wrong, I want let you know that I'm not doing this on purpose, and for this, I kindly ask you to send me a private message about the "bad content" I posted, in order to edit/remove it, and to not be warned wrongly.

##### Share on other sites

What is the content of Install.txt?

Jos

Live for the present,
Dream of the future,
Learn from the past.

##### Share on other sites
Remove old SCITE_USERHOME
Tell Windows to Update Enviroment
===== Moving all users files into new Directory structure ===================
Create folder: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE
>Copy C:\Users\Portatile-60\SciTE.session to  C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\SciTE.session
Copy to C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\SciTE.session
Delete file: C:\Users\Portatile-60\SciTE.session
>Check C:\Users\Jos\AppData\Roaming\Scite jump\settings.ini
Create folder: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\Tidy
>Copy  C:\Program Files (x86)\AutoIt3\SciTE\Tidy\Tidy.ini to  C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\Tidy\Tidy.ini
Copy failed
Output folder: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE
!!!! SciTE Lite found so renaming directory to allow for un-install
Create folder: C:\Program Files (x86)\AutoIt3\SciTE\..\SciTE-AutoIt3Installer
Create folder: C:\Program Files (x86)\AutoIt3\SciTE\..\SciTE-AutoIt3Installer\api
Copy to C:\Program Files (x86)\AutoIt3\SciTE\..\SciTE-AutoIt3Installer\SciTE.exe
Copy to C:\Program Files (x86)\AutoIt3\SciTE\..\SciTE-AutoIt3Installer\au3.keywords.properties
Copy to C:\Program Files (x86)\AutoIt3\SciTE\..\SciTE-AutoIt3Installer\\api\au3.api
Copy failed
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\abbrev.properties
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\au3abbrev.properties
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\au3.keywords.user.abbreviations.properties
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\au3UserAbbrev.properties
Output folder: C:\Program Files (x86)\AutoIt3\SciTE
Extract: SciTEGlobal.properties
Extract: SciLexer.dll
Extract: SciTE4AutoIt3.chm
Extract: SciTE.exe
Extract: findstr.au3
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\Properties
Extract: Embedded.properties
Extract: abaqus.properties
Extract: asl.properties
Extract: asm.properties
Extract: asn1.properties
Extract: au3.keywords.abbreviations.properties
Extract: au3.keywords.properties
Extract: au3.pixmap.properties
Extract: au3.properties
Extract: au3_Old.properties
Extract: autoit3wrapper.keywords.properties
Extract: ave.properties
Extract: avs.properties
Extract: baan.properties
Extract: bcx.properties
Extract: blitzbasic.properties
Extract: bullant.properties
Extract: caml.properties
Extract: cmake.properties
Extract: cobol.properties
Extract: coffeescript.properties
Extract: conf.properties
Extract: cpp.properties
Extract: csound.properties
Extract: css.properties
Extract: d.properties
Extract: ecl.properties
Extract: eiffel.properties
Extract: erlang.properties
Extract: escript.properties
Extract: flagship.properties
Extract: forth.properties
Extract: fortran.properties
Extract: freebasic.properties
Extract: gap.properties
Extract: hex.properties
Extract: html.properties
Extract: inno.properties
Extract: json.properties
Extract: kix.properties
Extract: latex.properties
Extract: lisp.properties
Extract: lot.properties
Extract: lout.properties
Extract: lua.properties
Extract: matlab.properties
Extract: metapost.properties
Extract: mmixal.properties
Extract: modula3.properties
Extract: nimrod.properties
Extract: nncrontab.properties
Extract: nsis.properties
Extract: opal.properties
Extract: oscript.properties
Extract: others.properties
Extract: pascal.properties
Extract: perl.properties
Extract: pov.properties
Extract: powerpro.properties
Extract: powershell.properties
Extract: ps.properties
Extract: purebasic.properties
Extract: python.properties
Extract: r.properties
Extract: rebol.properties
Extract: registry.properties
Extract: ruby.properties
Extract: rust.properties
Extract: scriptol.properties
Extract: smalltalk.properties
Extract: sorcins.properties
Extract: specman.properties
Extract: spice.properties
Extract: sql.properties
Extract: tacl.properties
Extract: tal.properties
Extract: tcl.properties
Extract: tex.properties
Extract: txt2tags.properties
Extract: vb.properties
Extract: verilog.properties
Extract: vhdl.properties
Extract: yaml.properties
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\lua
Extract: AutoHScroll.lua
Extract: AutoItAutoComplete.lua
Extract: AutoItAutoCompletenew.lua
Extract: AutoItGotoDefinition.lua
Extract: AutoItIndentFix.lua
Extract: AutoItPixmap.lua
Extract: AutoItTools.lua
Extract: AutoItToolsUpd.lua
Extract: Class.lua
Extract: Common.lua
Extract: EdgeMode.lua
Extract: LUAAutoComplete.lua
Extract: SciTEStartup.lua
Extract: SciTE_extras.lua
Extract: SmartAutoCompleteHide.lua
Extract: Tools.lua
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\PersonalTools.lua
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\SciTEConfig
Extract: AbbrevMan.au3
Extract: Get_AU3_RegistrySettings.au3
Extract: SciteConfig.au3
Extract: StringSize.au3
Extract: UCTMan.au3
Output folder: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\SciTEConfig
Extract: MSDEV.SciTEConfig
Extract: MSDEV2.SciTEConfig
Extract: Monokai.SciTEConfig
Extract: OLD_LCD.SciTEConfig
Extract: Twilight.SciTEConfig
Extract: _OldSciTE4AutoIt3.SciTEConfig
Extract: __SciTE4AutoIt3.SciTEConfig
Output folder: C:\Program Files (x86)\AutoIt3\SciTE
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\api
Extract: iface.api
Extract: au3.autoit3wrapper.api
Skipped: au3.api
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\au3.user.calltips.api
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\au3.UserUdfs.properties
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\au3Stripper
Create folder: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\Au3Stripper
Extract: AU3Stripper.exe
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\au3Stripper\au3Stripper.dat
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\Tidy
Extract: Tidy.exe
Create folder: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\Tidy
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\tidy\TidyV2_Example.ini
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\tidy\UserFunctions.txt
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper
Extract: AutoIt3Wrapper.au3
Extract: Directives.au3
Create folder: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.ini.example
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\CodeWizard
Extract: CodeWizard.au3
Extract: CodeWizard.chm
Create folder: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\CodeWizard
Extract: C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE\CodeWizard\colors.ini
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\Koda
Extract: FD.chm
Extract: FD.exe
Extract: history.txt
Extract: styles.xml
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\Koda\Templates
Extract: Dialog with help (vertical).kxf
Extract: Dialog with help.kxf
Extract: Dual ListBox.kxf
Extract: Form.kxf
Extract: Standard Dialog (vertical).kxf
Extract: Standard Dialog.kxf
Extract: Tabbed Pages.kxf
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\Koda\Language
Extract: help_eng.chm
Extract: lang_bg.xml
Extract: lang_bra.xml
Extract: lang_cze.xml
Extract: lang_fra.xml
Extract: lang_ger.xml
Extract: lang_ita.xml
Extract: lang_pol.xml
Extract: lang_rus.xml
Extract: lang_spa.xml
Extract: lang_zhcn.xml
Extract: lang_zhtw.xml
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\SciTE Jump
Extract: HelpFile.chm
Extract: Monitor.au3
Extract: SciTE Jump.au3
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\SciTE Jump\Includes
Extract: WM_COPYDATA.au3
Extract: _CRC32ForFile.au3
Extract: _Functions.au3
Extract: _GUIDisable.au3
Extract: _Language.au3
Extract: _PreProcessor.au3
Extract: _SciTE.au3
Extract: _SciTE_GetSciTEDefaultHome.au3
Extract: _SciTE_Send_Command.au3
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\SciTE Jump\Languages
Extract: Dutch.lng
Extract: English.lng
Extract: Finnish.lng
Extract: French.lng
Extract: German.lng
Extract: Greek.lng
Extract: Hungarian.lng
Extract: Italian.lng
Extract: LangChanges.txt
Extract: Persian.lng
Extract: Polish.lng
Extract: Romanian.lng
Extract: Russian.lng
Extract: Translate.txt
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\Defs
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\Defs\Production
Extract: au3.keywords.properties
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\Defs\Production\api
Extract: au3.api
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\Defs\beta
Extract: au3.keywords.properties
Output folder: C:\Program Files (x86)\AutoIt3\SciTE\Defs\beta\api
Extract: au3.api
Created uninstaller: C:\Program Files (x86)\AutoIt3\SciTE\uninst.exe
===== Update settings in SciTEUser.properties. ===================
Execute: "C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\SciTEConfig\SciTEConfig.au3" /Installer
===== Install finished. ==========================================

Edited by Jos

Spoiler

I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

In case I am violating some pseudo Forum rule, or I am doing something wrong, I want let you know that I'm not doing this on purpose, and for this, I kindly ask you to send me a private message about the "bad content" I posted, in order to edit/remove it, and to not be warned wrongly.

##### Share on other sites

So that's the install.log file.  you are sure it's extension is .txt for you?

There is no includes.txt in directory:  C:\Users\Portatile-60\AppData\Local\AutoIt v3\SciTE ?

Jos

Live for the present,
Dream of the future,
Learn from the past.

##### Share on other sites

Sorry! The install file has the .log extension! I read wrong! By the way, there is includes.txt in that folder ( now I'm sure )

Spoiler

I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

In case I am violating some pseudo Forum rule, or I am doing something wrong, I want let you know that I'm not doing this on purpose, and for this, I kindly ask you to send me a private message about the "bad content" I posted, in order to edit/remove it, and to not be warned wrongly.

##### Share on other sites

Ok, was that put in there by you manually or by the installer and isn't that you own user directory? ( in other words: was the installer ran under different credentials?)

Jos

Live for the present,
Dream of the future,
Learn from the past.

##### Share on other sites

That's my user directory, and I didn't put anything manually... I didn't change nothing during the setup... I launched the installer, and anything else...

Spoiler

I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

In case I am violating some pseudo Forum rule, or I am doing something wrong, I want let you know that I'm not doing this on purpose, and for this, I kindly ask you to send me a private message about the "bad content" I posted, in order to edit/remove it, and to not be warned wrongly.

##### Share on other sites

Now I am lost ...  thought it wasn't working and you downloaded the file includes.txt from the beta directory?

Live for the present,
Dream of the future,
Learn from the past.

## Create an account

Register a new account