Jump to content

  • Log In with Google      Sign In   
  • Create Account

Missing ' suggestions' VS feature in Code::Blocks


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 vleugel   Members   -  Reputation: 252

Like
0Likes
Like

Posted 09 February 2012 - 12:14 PM

Hello all,

I always used to program in Visual Studio, but now I am playing around in Linux and I need a programming environment.
So I downloaded Code::Blocks but I really miss the features of automatically showing all class members and variables after pressing the class(.), class(->) or class(::). In VS, after you press either the . :: or the ->, VS shows a list of members that you can choose. I got used to this so much that I'm really feeling lost without it. It both saves time and informs you about all possible functions.

Is there an IDE in Linux that has a similar functionality?
The problem is that I don't know the word for this functionality so I cant realy google it :)

Greetings,
Rob

Sponsor:

#2 OmarShehata   Members   -  Reputation: 205

Like
0Likes
Like

Posted 09 February 2012 - 01:25 PM

It's called code hinting as far as I know and Code::Blocks does have it I believe, at least it's working in my windows version. Perhaps you need additional settings to make it work in the linux version? Hopefully providing you with the keywords "Code hinting" was of some help!

#3 ColinDuquesnoy   Members   -  Reputation: 1125

Like
0Likes
Like

Posted 09 February 2012 - 02:38 PM

There is a code completion plugin in Code::Blocks and it works fine under linux (at least with a recent nightly build, not sure about the official release)

You might need to use a recent version of codeblocks(10.05 version is really outdated) and/or trying to play arround with the code completion settings (settings->editor->cc plugin)

#4 vleugel   Members   -  Reputation: 252

Like
0Likes
Like

Posted 10 February 2012 - 12:02 AM

I checked the code completion plugin amd as far as I know its already installed and enabled by default. Atleast according to the plugin manager. Ill check it out further when i get home. Thanks.

Rob

#5 vleugel   Members   -  Reputation: 252

Like
0Likes
Like

Posted 10 February 2012 - 01:52 PM

Ok so it seems I have code completion installed. It auto adds the second ' " ' or ' }' after you typ the first one. But still no code hinting Posted Image
Am I the only one without this function? Or is the rest just not missing this feature? Posted Image

Greetings,
Rob



Edit:
My guess is that it has something to do with OpenGL not running smoothly on my laptop. Windows 7 runs fine but Ubuntu seems to be really laggy. I dont understand why, but after disabling OpenGL vsync my system like someone advised me to do it isn't lagging anymore. This also seemed to cause Code::Blocks working fine again.

#6 ScoreX   Members   -  Reputation: 344

Like
0Likes
Like

Posted 13 February 2012 - 09:41 AM

Its been a while now since I used Code::Blocks, but if I remember correctly, you need to press Ctrl+Space to open up the code hinting feature

#7 blurmonk   Members   -  Reputation: 107

Like
0Likes
Like

Posted 14 February 2012 - 07:41 PM

I have used CB for a while. Then I have tried Eclipse(CDT) and I am extremely happy with Eclipse code sensing featuress so far. It is much more bloated but if you need to scramble through complex libraries and headers with macros, Eclipse is much better than CB. Eclipse can expand C macros in place as well.
Which is really really helpful with C. On the other hand CB is great for smaller projects in my view.

I liked that I can just open a single .c file and write and compile with CB. In Eclipse one needs to create a project for it which is overkill.

CB also provides nice project wizards, with Eclipse choices are limited. For example CB Opengl project works out of the box, in Eclipse the setup is not such straight forward as far as I can tell.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS