What do you call this box ? :
And why is it that when i use an object class from another object class i dont get this box?, how do i make it that this box exploration can go deeper into the code?
[code::blocks]How do i achieve this box for...
-
- Posts: 212
- Joined: Sun Jul 19, 2009 4:24 am
- Location: Netherlands Antilles, Curacao
it's called "IntelliSense" !!!
well, C::B has some little problems with it...
sometimes it's enough to save the file and C::B parses the code for it...
but sometimes you'll need to close the project and reload it so C::B parses the code...
well, C::B has some little problems with it...
sometimes it's enough to save the file and C::B parses the code for it...
but sometimes you'll need to close the project and reload it so C::B parses the code...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 212
- Joined: Sun Jul 19, 2009 4:24 am
- Location: Netherlands Antilles, Curacao
As mentioned before, the code completion in CodeBlocks is a bit tempermental. Generally, if you need to access some data type within Irrlicht, you can type the name of the namespace its in (ex: core::) and that box will pop up.
I hope I understood your question correctly.
I hope I understood your question correctly.
The Open Descent Foundation is always looking for programmers! http://www.odf-online.org
"I'll find out if what I deleted was vital here shortly..." -d3jake
"I'll find out if what I deleted was vital here shortly..." -d3jake
-
- Posts: 212
- Joined: Sun Jul 19, 2009 4:24 am
- Location: Netherlands Antilles, Curacao
Hmmm thats not exactly what i ment :/
Lets say i defined the irrlicht device inside a selfmade class called device.h (and implemented in device.cpp)
And then i include the device.h in my main.cpp and use it in my while loop like this
for some reason i dont get the code completion box/intellisense when i type
and that puts that i have to write the manualy.
I hope i could of explain better (english isnt my first neither my main language but i gues you figured by now )
Lets say i defined the irrlicht device inside a selfmade class called device.h (and implemented in device.cpp)
And then i include the device.h in my main.cpp and use it in my while loop like this
Code: Select all
while (mydevice.return_device()->run())
Code: Select all
mydevice.return_device()->
Code: Select all
->run()
I hope i could of explain better (english isnt my first neither my main language but i gues you figured by now )
d3jake's method works (for me). I switched from "using irr" to "irr::", so that I have to write "irr::core::vector3f v" instead of "vector3df v", but this way Code::Blocks seems to get code completion done.
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames