Jump to content

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 :) 

AutoIt.png

Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

Link to comment
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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
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! 

Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

Link to comment
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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Maybe Jos chimes in and sheds some light onto this subject ;)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

  • Developers

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

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

  • Developers

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

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

  • Developers

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

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

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. 

Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

Link to comment
Share on other sites

Remove old SCITE_USERHOME
Add SCITE_USERHOME to registry
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: License.txt
Extract: luaCOPYRIGHT
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: ada.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: haskell.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: LoadSession.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: Scite_Reload_Props.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
Create folder: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\AutoIt v3\SciTE
Create shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\AutoIt v3\SciTE\SciTE.lnk
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
Extract: ReadMe.txt
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: About Box.kxf
Extract: Dialog with help (vertical).kxf
Extract: Dialog with help.kxf
Extract: Dual ListBox.kxf
Extract: Form.kxf
Extract: Password Dialog.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: License.txt
Extract: Monitor.au3
Extract: Readme.txt
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
Create shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\AutoIt v3\SciTE\Website.lnk
Create shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\AutoIt v3\SciTE\Uninstall.lnk
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
moved log in plain codebox

Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

Link to comment
Share on other sites

  • Developers

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

 

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

  • Developers

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

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

  • Developers

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...