I type "send" the procedure doesn't show up in the AutoComplete list.
Editor: AutoComplete for IncludeFile items
Editor: AutoComplete for IncludeFile items
I've got an IncludeFile with various procedures such as SendKeys(), but if
I type "send" the procedure doesn't show up in the AutoComplete list.
I type "send" the procedure doesn't show up in the AutoComplete list.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Include statements cannot be reliably tracked without compiling the whole code,
as you can use macros, constants and CompilerIf statements to modify which
file will be included. The IDE cannot track this reliably.
There is a plan to one day have a sort of project management in the IDE where
you can tell the IDE which files to look in for autocompletion, but i cannot give
you a time for that as it is not a very high priority.
as you can use macros, constants and CompilerIf statements to modify which
file will be included. The IDE cannot track this reliably.
There is a plan to one day have a sort of project management in the IDE where
you can tell the IDE which files to look in for autocompletion, but i cannot give
you a time for that as it is not a very high priority.
quidquid Latine dictum sit altum videtur
- Arctic Fox
- Enthusiast

- Posts: 609
- Joined: Sun Dec 21, 2008 5:02 pm
- Location: Aarhus, Denmark
Re: Editor: AutoComplete for IncludeFile items
Sorry for bumping this thread, I just want to know if there is any progress with this for files which are not a part of a project.
- Kaeru Gaman
- Addict

- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Re: Editor: AutoComplete for IncludeFile items
a possible workaround for today:
open all included files in tabs of the IDE, and activate the checkboxes "... of all open sources" in the preferences.
you can safe an own .prefs for these opened tabs within the PB-directory and start it with /portable if you want to work on these files.
open all included files in tabs of the IDE, and activate the checkboxes "... of all open sources" in the preferences.
you can safe an own .prefs for these opened tabs within the PB-directory and start it with /portable if you want to work on these files.
oh... and have a nice day.
- Arctic Fox
- Enthusiast

- Posts: 609
- Joined: Sun Dec 21, 2008 5:02 pm
- Location: Aarhus, Denmark
Re: Editor: AutoComplete for IncludeFile items
But doesn't that approach show the AutoComplete for other files which have nothing to do with the original file (files which are not included)?
Re: Editor: AutoComplete for IncludeFile items
Just use a project. This is exactly what they were created for.
quidquid Latine dictum sit altum videtur
- Arctic Fox
- Enthusiast

- Posts: 609
- Joined: Sun Dec 21, 2008 5:02 pm
- Location: Aarhus, Denmark
Re: Editor: AutoComplete for IncludeFile items
Creating a project for a file with one or two includes just seems a bit 'complicated' - if you know what I mean
- having to name the project, add the files etc. (lazy me, hehe)
Should I copy-paste the include files into the main source file at their IncludeFile-place instead?
Should I copy-paste the include files into the main source file at their IncludeFile-place instead?
