gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > better intellisense support in VS2k5?

#160273 - Holland - Sun Jul 13, 2008 6:23 am

I have a basic project template that I created a couple weeks ago that gives me a makefile and a main.c with a bit of "hello world" action.

I can use intellisense to tell me what a touchPosition is and what irqInit() is and such...but if i press f12 (basically a lookup) on something like BG0_CR or iprintf() or consoleInit() i get an error saying "Symbol 'iprintf' cannot be found."

Makes it kind of hard when I'm just learning how ndslib works.

Does anyone know what's up with this...is this as good as my intellisense will get? I'd sure like to be able to start typing "consoleInit" and then ctrl+space to see what the params are...or if it's a macro then f12-ing it would be nice so I could atleast see what the macro does.

#160278 - tepples - Sun Jul 13, 2008 1:58 pm

Perhaps your "intellisense" only searches the ANSI C headers and the Win32 headers, which came with your copy of Microsoft Visual Studio. You might need to tell intellisense where the devkitARM and libnds headers are.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#160283 - Holland - Sun Jul 13, 2008 4:58 pm

tepples wrote:
Perhaps your "intellisense" only searches the ANSI C headers and the Win32 headers, which came with your copy of Microsoft Visual Studio. You might need to tell intellisense where the devkitARM and libnds headers are.


I've added the libnds include and lib file to visual studio's paths...as well as the devkitARM's lib and include folders...

i'm assuming i've included the correct paths. :/

#160291 - dovoto - Sun Jul 13, 2008 7:19 pm

I am not entirely certain what f12 does to find information. The VS wizard sets up intellesense for you which should give you at least code completion on everything.

I will take a look at just what f12 is looking for and see about getting support for that into the wizard as well.

Edit: Just did a quick check and pressing f12 with the cursor on consoleDemoInit() it took me to the header file which defines it....
Have you tried this on 2k8 (an upgrade well worth the download) ?
_________________
www.drunkencoders.com

#160293 - Holland - Sun Jul 13, 2008 8:17 pm

dovoto wrote:
I am not entirely certain what f12 does to find information. The VS wizard sets up intellesense for you which should give you at least code completion on everything.

I will take a look at just what f12 is looking for and see about getting support for that into the wizard as well.

Edit: Just did a quick check and pressing f12 with the cursor on consoleDemoInit() it took me to the header file which defines it....
Have you tried this on 2k8 (an upgrade well worth the download) ?


Is the 2k5 to 2k8 upgrade free? lol..i'm just a poor student living off of student loans. unfortunately i don't have much extra cash to spend. :(

also...dovoto. I have tried to use your VS integration setup on this machine but it doesn't seem to work. Again, I'm using Visual Studio 2k5...XP Pro. Not sure why it didn't work..it just failed to make the project for some reason. :/

#160297 - dovoto - Sun Jul 13, 2008 8:31 pm

The express version is free...and its better than any non free version prior (and really just as good as pro or team of 2k8 unless you need some of the more advanced features of those versions)

Once you install the the express version the wizard will work on 2k5 (or you can change one line in the file as per the forum post to make it work on 2k5 stand alone).

I am not sure getting the wizard to work will have any effect on your current problem but pressing f12 on 2k8 works as expected.

Hope this was of some help.
_________________
www.drunkencoders.com

#160381 - tepples - Mon Jul 14, 2008 9:21 pm

dovoto wrote:
The express version is free...and its better than any non free version prior (and really just as good as pro or team of 2k8 unless you need some of the more advanced features of those versions)

What irks me is that compiling for Windows Mobile is one of those advanced features.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.