Author Topic: IntelliSense-like behavior doesn't work in my case  (Read 12925 times)

rhino

  • Guest
IntelliSense-like behavior doesn't work in my case
« on: June 15, 2010, 11:06:30 am »
Hi!
Some time ago I have talked to my friend, who also uses C::B 10.05.
He told me that he can see the variable types by placing the cursor over them.
That confused me... because I've never noticed behavior like this in Code::Blocks.
I was really surprised so I've asked him if he changed the default configuration.
He told me he didn't change the configuration at all!
Now, is this a problem with my OS or something?
I'm using MS Windows 7 (32-bit), and my friend uses Win XP. Does that really make a big difference?
Please help me.
I know I can see the variables types by choosing Symbols->Global variables, but I really want to know, why doesn't the first way work for me.
P.S.I've also looked for it in the settings, but I failed, I didn't find it.
« Last Edit: June 25, 2010, 08:16:50 pm by rhino »

rhino

  • Guest
Re: IntelliSense-like behavior doesn't work in my case
« Reply #1 on: June 25, 2010, 08:19:48 pm »
Does really no one know, how to solve my problem? :?
It seems the topic has been viewed many times, however no one replied and it has been automatically placed on the second page, where people look rarely.
That's why I created a double-post, I'm sorry for it, but I had no other choice to "refresh" the topic.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: IntelliSense-like behavior doesn't work in my case
« Reply #2 on: June 25, 2010, 11:11:31 pm »
Do you use the same source (for the project), same libs, same compilers?

Test with a simple project no external libs or anything more complex.
Stay away from macros and templates...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

rhino

  • Guest
Re: IntelliSense-like behavior doesn't work in my case
« Reply #3 on: June 27, 2010, 08:55:43 pm »
Well, I've found it. On some forum they said the plugin which supports the IntelliSense-like behavior is called Code Completion. In fact I've previously disabled that plugin, because I had no idea it could be linked to the info-displaying while hovering the cursor over an item (plus I didn't want to auto-complete my code).
I've enabled that plugin, so the checkbox with "Display info while hovering the cursor over a token" came white (able to select) so I've checked it. Then, I've disabled again the Code Completion plugin, but left the checkbox checked. Now it works perfectly.
Anyway, thanks for your help. ;)
EDIT: Ah wait! Just one more thing. :D Can I decrease in some way the time which I have to wait until the info is shown? It shows up after about 2.5 seconds and I want it to be shorter. I couldn't find it anywhere in the settings, help would be greatly appreciated.
« Last Edit: June 27, 2010, 09:02:55 pm by rhino »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: IntelliSense-like behavior doesn't work in my case
« Reply #4 on: June 28, 2010, 12:12:27 am »
Have you looked in Settings -> Editor -> Code completion & symbols browser?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

rhino

  • Guest
Re: IntelliSense-like behavior doesn't work in my case
« Reply #5 on: June 28, 2010, 12:28:50 am »
Of course I did, that's why I managed to turn this setting on. :)
At the bottom of the window there's a trackbar to set the time value and I've already tried it but it didn't work, it is only for code completion I guess. I couldn't find any other time-settings.
« Last Edit: June 28, 2010, 12:30:24 am by rhino »

Offline blueshake

  • Regular
  • ***
  • Posts: 458
Re: IntelliSense-like behavior doesn't work in my case
« Reply #6 on: June 28, 2010, 04:02:17 am »
Quote
Stay away from macros and templates...

@oBFusCATed

ccbranch has support macro parse now. :lol: :lol: :lol:
like
#define MYCLASS(x) class x { x();int x;};
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: IntelliSense-like behavior doesn't work in my case
« Reply #7 on: June 28, 2010, 09:44:47 am »
blueshake: I know that, but normal users don't use this version :)
In the normal version there is no support for templates and macros.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]