2

I used to use Eclipse to develop Java and when I used the Ctrl+Space, Eclipse would prompt some tips for coding.

When it comes to Anjuta DevStudio, can it do the same job?

If not, anyone can introduce me to an IDE for C and C++ development on Linux?

BuZZ-dEE
  • 6,075
  • 12
  • 66
  • 96
kaiwii ho
  • 1,367
  • 7
  • 21
  • 40

2 Answers2

2

First question, according to the Eclipse Documentation 'Ctrl + /' maps to the source action Comment.

That doesn't look like auto suggest to me ?

That said, the GtkSourceView version of Anjuta appears to not support Comment / Uncomment for some unspecified reason according to a Mailing List post, apparently the Scintilla version does however. There was talk of working around this using a Python plugin but I don't think anything eventuated from that discussion.

Regarding code completion in Anjuta , it should automatically provide symbol completion , and call tips along with class members if it has indexed your symbols properly, this should be done as you are typing (code-ahead).

Regarding your If not clause, see the following relevant StackOverflow Posts

and various others that were closed for being duplicates.

Community
  • 1
  • 1
Appleman1234
  • 15,946
  • 45
  • 67
1

I would strongly suggest to forget about Anjuta and switch to KDevelop4 - it is much faster than Eclipse and it has much more "bells and wistles" than Eclipse. Once you try it I'm pretty sure that you will never look back on Anjuta :)

sirgeorge
  • 6,331
  • 1
  • 28
  • 33
  • 1
    That is my (and not only my) opinion. KDevelop is probably not the best choice for Java, but for C/C++/PHP definitely yes. Tooltips are much faster (and in Technicolor :)), not ot mention that syntax highlighting is better then Anjuta. I tried using Anjuta quite a few times and I always returned to KDevelop. – sirgeorge Mar 12 '12 at 08:30
  • 1
    Another good editor IMHO is Qt Creator, you can use it as code editor also for non QT projects. It's very fast and reactive, especially for the code hints. – linello Mar 12 '12 at 09:48
  • That was really a good tip, I just switched to KDevelop after I read your suggestion. It is much more convenient especially the code completition and the build in documentation function that allows to read the comments above a function. – lanoxx Jan 23 '13 at 15:39
  • KDevelop won't show GTK IDEs. Anjuta will. KDevelop is also focused on Qt. Anjuta is focused on GTK. That said, I agree KDevelop5 outdoes Anjuta by quite a bit. But what should those of us who need GTK use? Gnome Develop doesn't seem to have the features needed. ?? – Elliptical view Nov 09 '20 at 05:56