User forums > General (but related to Code::Blocks)
code completion with function prototypes
jarro_2783:
Whenever I start typing in parameters to a function it has a little box that pops out giving the function parameters, that is all good, that is what I would expect. But whenever it recognises the name of the variable I am typing in it tries to code complete the variable and forgets about the function parameters. So if I have 3 or 4 parameters they are lost forever after it attempts to complete the first one.
Another problem is it can't find some header files to check the function prototypes. Would it be possible to make it check all the directories and -I options specified in the project options when it sees an angle bracket include?
mandrav:
--- Quote ---Would it be possible to make it check all the directories and -I options specified in the project options when it sees an angle bracket include?
--- End quote ---
It sees what your project sees, through #includes. If you don't ever #include a file (directly or indirectly), it will not be parsed.
Alturin:
He means, to give a list of possible include files when you typed:
"#include <"
tiwag:
--- Quote from: mandrav on September 07, 2006, 02:34:16 pm ---
--- Quote ---Would it be possible to make it check all the directories and -I options specified in the project options when it sees an angle bracket include?
--- End quote ---
It sees what your project sees, through #includes. If you don't ever #include a file (directly or indirectly), it will not be parsed.
--- End quote ---
are the include files "seen" , which are included by a compiler option like
--- Code: --- -include "wx_pch.h"
--- End code ---
as used in the wx project wizards projects ?
if not, any plan to do so ?
mandrav:
--- Quote ---are the include files "seen" , which are included by a compiler option like
--- End quote ---
they 're seen no because it recognized the -include command, but because it's part of the project. Any file that is part of the project is "seen", no matter if it is #included by other files or not.
--- Quote ---He means, to give a list of possible include files when you typed:
"#include <"
--- End quote ---
This works (try it). But only for parsed files...
Navigation
[0] Message Index
[#] Next page
Go to full version