FrancescoDiMuro

The autocomplete with #include doesn't work :/

26 posts in this topic

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

Share this post


Link to post
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 2016-08-18 - Version 1.4.6.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2016-05-09 - Version 1.2.0.0) - 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
Tutorials:
ADO - Wiki

 

Share this post


Link to post
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 2016-08-18 - Version 1.4.6.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2016-05-09 - Version 1.2.0.0) - 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
Tutorials:
ADO - Wiki

 

Share this post


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

Share this post


Link to post
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 2016-08-18 - Version 1.4.6.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2016-05-09 - Version 1.2.0.0) - 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
Tutorials:
ADO - Wiki

 

Share this post


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

Share this post


Link to post
Share on other sites

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


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2016-08-18 - Version 1.4.6.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2016-05-09 - Version 1.2.0.0) - 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
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

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

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

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

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#11 ·  Posted

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

AutoIt.png

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

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

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

#16 ·  Posted

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

 


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#17 ·  Posted

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

Share this post


Link to post
Share on other sites

#18 ·  Posted

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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#19 ·  Posted

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

Share this post


Link to post
Share on other sites

#20 ·  Posted

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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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