Enabling PHP-GTK2 code completion in Eclipse PDT for a project is very simple. The following example is given on Windows, but the steps should be the same on any supported platform:
Gtk_Dumper.php extractor as described on the previous page, and save the generated skeleton file to some stable directory, say e:\src\php\php-gtk\stubs-2.0.1.php for code completion on the PHP-GTK 2.0.1 version.Note that code completion in Eclipse PDT shows:
Gtk::BUILDER_ERROR_*)/* or NULL */) on optional method parametersIt also depends on the tuning you could have done in your eclipse.ini file. In all cases, raising the-Xmsand-Xmxsettings to a reasonable amount should cut off most theOutOfMemoryException. You might also want to raise the-XX:PermSizeand-XX:MaxPermSizesettings to a higher amount than default one. You can also activate the-Dide.gc=trueoptions if you are funky. I currently use this settings, and it works really fine:
--launcher.XXMaxPermSize 256m -vmargs -Dosgi.requiredJavaVersion=1.5 -XX:PermSize=256m -XX:MaxPermSize=256m -Xms512m -Xmx512m -Dide.gc=true
Recent comments
47 weeks 3 days ago
48 weeks 2 days ago
48 weeks 6 days ago
51 weeks 2 days ago
1 year 19 weeks ago
1 year 23 weeks ago
1 year 27 weeks ago
1 year 27 weeks ago
1 year 27 weeks ago
1 year 44 weeks ago