Autocomplete: current project AND all open files
Posted: Wed May 22, 2013 2:15 pm
I'm writing a library, the library is organized as a project, many files, etc.
Suppose my library is complete.
Now I want to write a program using that library.
I would like to be able to have this working configuration:
1) The project loaded, with ZERO files from it opened in the IDE, and some of the files in the project tagged as "Scan file for autocomplete".
2) Some tabs in the ide opened containing the sources of the new program calling code from the library.
3) If I type a procedure, macro, constant name in one of these tabs, the autocomplete WORKS for the names defined in the opened tabs AND in the opened project.
Now this is not possible, we have 4 options working as follow in my configuration:
Add Items from: the current source only
Autocomplete works only for what defined in the tab I'm editing..
Add Items from: the current project (if any)
Autocomplete does not works at all, I don't get autocompletion for what defined in the opened tabs or for what defined in the project.
Add Items from: the current project or all files (if none)
Autocomplete works only for what defined in the opened files, since the tabs I'm working on are not part of a project.
Add Items from: all open files
As above, autocomplete works only for what defined in the opened tabs, since the project files are not loaded.
The most close option is the last one, if I keep all the the files in the project opened in the ide.
That's what I would like to avoid. I would like to have only the files I'm working on opened (the NEW files for the NEW program USING the library), but I would like to use the "Scan file for autocomplete" feature from the project to get the benefit of autocomplete for what's defined inside it.
Another solution, horrid, for now is to duplicate the project, and add the new files I'm working on as part of the project, when they are not.
Suppose my library is complete.
Now I want to write a program using that library.
I would like to be able to have this working configuration:
1) The project loaded, with ZERO files from it opened in the IDE, and some of the files in the project tagged as "Scan file for autocomplete".
2) Some tabs in the ide opened containing the sources of the new program calling code from the library.
3) If I type a procedure, macro, constant name in one of these tabs, the autocomplete WORKS for the names defined in the opened tabs AND in the opened project.
Now this is not possible, we have 4 options working as follow in my configuration:
Add Items from: the current source only
Autocomplete works only for what defined in the tab I'm editing..
Add Items from: the current project (if any)
Autocomplete does not works at all, I don't get autocompletion for what defined in the opened tabs or for what defined in the project.
Add Items from: the current project or all files (if none)
Autocomplete works only for what defined in the opened files, since the tabs I'm working on are not part of a project.
Add Items from: all open files
As above, autocomplete works only for what defined in the opened tabs, since the project files are not loaded.
The most close option is the last one, if I keep all the the files in the project opened in the ide.
That's what I would like to avoid. I would like to have only the files I'm working on opened (the NEW files for the NEW program USING the library), but I would like to use the "Scan file for autocomplete" feature from the project to get the benefit of autocomplete for what's defined inside it.
Another solution, horrid, for now is to duplicate the project, and add the new files I'm working on as part of the project, when they are not.