I use fedora 22, and dnf install -y anjuta.
I create a new C++ project and write the following code:
int hello(int a, int b);
int main()
{
hello(
// After I have typed '(', the calltips window popped up,
// but the background color and text are too dark to tell.
// The calltips window cannot be captured through screenshot.
return 0;
}
int hello(int a, int b)
{
return a + b;
}
How to change the color of calltips in Anjuta?
Anjutauses a plugin to implement the editor. Actually, the preferred plugin is agtkmodule calledGtkSourceView, but you could have chosenScintillawhen you started your project. Though some aspects of GtkSourceView can be edited from inside Anjuta, other aspects are managed 'system-wide' (you can find the configuration files probably in/usr/share/gtksourceview-3.0(or-2.0).On a vanilla (= unmodified) system, the calltips will probably be ok, but if you use an alternative system theme (particularly 'dark' themes, like I do), then all bets are off. Some themes change color details in harmony. Others only change some aspects which can then clash with changes you made in the Anjuta/gtksourceview settings (setting for themes are in
/usr/share/themes/<your theme>/<your gtk>.Theming in
gtk3is in a state of continuous change at the moment. Latestgtk3.20.xchanged things once again. So, if you're audacious, have a look around in the above files. It's quite an adventure. The simplest solution is to try some of the alternative 'Color schemes', (inEdit|Preferences|GtkSourceView Editor|Font), the definition of each of which is in theusr/share/gtksourceviewdirectory mentioned above.This problem is not unique to
Anjuta, most, if not all, other IDEs suffer from very similar issues.