我刚刚运行了这段代码,它对我来说看起来是不错的语言。
但是当我在 NetBeans IDE 中尝试时,我没有看到任何 Vala,也没有看到任何自动完成可用性。
知道如何让 NetBeans IDE 支持 Vala 吗? (特别要自动完成)
例如:
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;
}
我从这里试过:https://github.com/carbonfx/netbeans-valaproject/downloads 但不起作用。
跟进:
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/
最佳答案
您可以使用 Anjuta IDE ,或使用 Valencia 将 Gedit 变成 Vala IDE .
关于c - 如何使 Vala 在我的 NetBeans IDE 中可用于自动完成或 Vala 还可以使用什么来实现自动完成?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8019226/