Hi, don't wanna sound like I'm wining or anything... I really appreciate the new C::B IDE!
I would like to report 2 bugs with the codecompletion component (don't know if you already knew it, just say if you do):
- Doesn't parse std::vector class
If you included <vector> and type "std::" , it will come up with all the std associated stuff but type in "vector" and it won't be found. Looks like its only "vector" that it is not finding. Otherwise, all the other classes and includes are parsed. - Gives wrong member item because of it.
Lets say you have a structure (block_info_t) and a variable (block) of that structure and you do:
"block."
then sometimes it puts a '0' after the dot. Weird.
I have the following structure for an OpenGL project:
struct block_info_t
{
float tex_u; /** X-coord on Texture */
float tex_v; /** Y-coord on Texture */
float x1; /** Top Left X-coord in World */
float z1; /** Top Left Z-coord in World */
float x2; /** Bottom Right X-coord in World */
float z2; /** Bottom Right Z-coord in World */
float sec_width; /** How wide is this block? */
float sec_height; /** How long is this block? */
float one_over_width; /** Cached for vertex shader */
float one_over_height; /** Cached for vertex shader */
float scale_val; /** Scale value of this block */
int lod_val; /** LOD level of this block */
int vertex_count; /** Amount of verticies in this block */
GLuint gl_buf_id; /** OpenGL Buffer ID reference for block */
};
Now I have the following declaration of it:
std::vector<block_info_t> mClipmap[LEVELS];
If I type:
"mClipmap[0][0]."
it puts a '0' afterwards like so:
"mClipmap[0][0].0"[/li]
Hope this is useful.