I just ran this code, and it looks like nice language for me.
But when i was trying in NetBeans IDE i do not see any Vala nor i see any autocomplete availability.
Any idea how to make NetBeans IDE to allow Vala? (to get auto-complete specially)
e.g:
using Gtk;
int main (string[] args)
{
Gtk.init (ref args);
var window = new Window ();
window.title = "First GTK+ Program";
window.border_width = 10;
window.window_position = WindowPosition.CENTER;
window.set_default_size (350, 70);
window.destroy.connect (Gtk.main_quit);
var button = new Button.with_label ("Click me!");
button.clicked.connect (() => {
button.label = "Thank you";
});
window.add (button);
window.show_all ();
Gtk.main ();
return 0;
}
I have tried from here: https://github.com/carbonfx/netbeans-valaproject/downloads But does not work.
Follow up:
NetBeans IDE i could not make it someone can update it later!
I installed Anjuta IDE using yum -y install anjuta, and simply Vala works
I will try this too: http://yorba.org/valencia/
You could use the Anjuta IDE, or turn Gedit into a Vala IDE using Valencia.