User forums > Using Code::Blocks

Enabling auto-completion for files not included in the project

<< < (2/2)

mandrav:

--- Quote from: Takeshi Miya on June 15, 2006, 02:36:37 pm ---Little question: how much feasible is to parse the output from backticks looking for a -I and feed it to the CodeCompletion plugin?

--- End quote ---

That would require more effort than it's worth. What would be more feasible though, with the new Extensions node in the project file, is allow adding additional search paths for the CC plugin per-project.

takeshimiya:

--- Quote from: mandrav on June 15, 2006, 03:01:22 pm ---
--- Quote from: Takeshi Miya on June 15, 2006, 02:36:37 pm ---Little question: how much feasible is to parse the output from backticks looking for a -I and feed it to the CodeCompletion plugin?

--- End quote ---

That would require more effort than it's worth. What would be more feasible though, with the new Extensions node in the project file, is allow adding additional search paths for the CC plugin per-project.

--- End quote ---

But that wouldn't be hardcoding the paths in the project file (in linux for example)?

ptruog:
I wonder if the ability to create another directory in the management view where you can add external header files for the purpose of code-completion would be a relatively painless short term fix.  A user created directory called say "external headers", where the user can then add any/all header files they wish, but would not 'dirty' the project tree with all these external headers.

EX:
- workspace
  - hello world
    + sources
    + headers
    + "external headers"

by being able to 'right click' on "external headers" the user can add any/all external headers they wish.  -- Whereas now, you can add more files to the project tree, but these would get populated in the "headers" tree.

Many thanks!

I can add this to the bug base for FR tracking purposes, if anyone wishes??


ptruog:
P.S. I noticed you guys have changed the behaviour of these forums whereby I can no longer use an arbitrary user name to make 'anonymous' postings.   :?  -- I now _HAVE_ to actually log in.   :(

Michael:

--- Quote from: ptruog on June 15, 2006, 11:29:33 pm ---P.S. I noticed you guys have changed the behaviour of these forums whereby I can no longer use an arbitrary user name to make 'anonymous' postings.   :?  -- I now _HAVE_ to actually log in.   :(

--- End quote ---

Because:

http://forums.codeblocks.org/index.php?topic=3334.0

Best wishes,
Michael

Navigation

[0] Message Index

[*] Previous page

Go to full version