Re: [Vala] Newbie need help
Or try this: First, install packages: sudo apt install tcc libgtk-vnc-2.0-dev Second, try this VNC client script: #!/usr/bin/vala --Xcc=-w --cc=tcc --pkg gtk+-3.0 --pkg gtk-vnc-2.0 int main (string[] args) { Gtk.init (ref args); var window = new Gtk.Window (); window.destroy.connect(Gtk.main_quit); var vncDisp = new Vnc.Display(); window.add(vncDisp); vncDisp.open_host("your-vnc-host-name", "5900"); window.show_all(); Gtk.main(); return 0; } Cool, eh? ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
> valac -> compiler(ok) > vala -> interpreter what/how/usage As others said before, /usr/bin/vala is a command for using in Vala scripts. It compiles the embedded script code on the fly to a temporary binary and runs it afterwards. Additionally, I'm using tcc (Ubuntu: sudo apt install tcc) instead of the default gcc, because it compiles much faster (at the cost of bigger/slower binary, but scripts are usually not that large). Minimal Gtk example script (using tcc): #!/usr/bin/vala --Xcc=-w --cc=tcc --pkg=gtk+-3.0 using Gtk; int main(string[] args) { Gtk.init (ref args); var window = new Window (); window.destroy.connect (Gtk.main_quit); window.show_all (); Gtk.main (); return 0; } Save it into a file and use something like "sudo chmod a+x" on it and you may call it afterwards directly as a script. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Ok, thank's a lot! Von: Al Thomas astav...@yahoo.co.uk Gesendet: 23.10.2018 10:37 An: vala-list@gnome.org,wolfgang.ma...@kabelmail.de wolfgang.ma...@kabelmail.de Betreff: Re: [Vala] Newbie need help On Tuesday, 23 October 2018, 08:51:22 BST, wolfgang.ma...@kabelmail.de wolfgang.ma...@kabelmail.de wrote: what is the difference between valac and vala? (Compiler / Interpreter) valac - compiler(ok) vala - interpreter what/how/usage valac is the compiler. The command, vala, combines compiling with valac and then running the output.It allows a simple script like: #!/usr/bin/vala void main () { print ("compiled and run in one command!\n"); } Although you may reach its limits quickly if you try anything too complex, e.g. https://gitlab.gnome.org/GNOME/vala/issues/618The use of the --run-args switch may help - https://gitlab.gnome.org/GNOME/vala/commit/0e45b19dfabce1b2f04733d7ec6eb02d6692b549 All the best, Al ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
> On Tuesday, 23 October 2018, 08:51:22 BST, wolfgang.ma...@kabelmail.de wrote: > what is the difference between valac and vala? (Compiler / Interpreter) > valac -> compiler(ok) > vala -> interpreter what/how/usage valac is the compiler. The command, vala, combines compiling with valac and then running the output. It allows a simple script like: #!/usr/bin/vala void main () { print ("compiled and run in one command!\n"); } Although you may reach its limits quickly if you try anything too complex, e.g. https://gitlab.gnome.org/GNOME/vala/issues/618The use of the --run-args switch may help - https://gitlab.gnome.org/GNOME/vala/commit/0e45b19dfabce1b2f04733d7ec6eb02d6692b549 All the best, Al ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
valac - The standard Vala compiler Vala - A programming language. (Description, Specification,...) That isn't the complete truth, there is also vala, the "interpreter" that on-the-fly compiles the vala code and runs it - which works ok for simple files e.g. if you need to check something quickly ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
valac - The standard Vala compiler Vala - A programming language. (Description, Specification,...) It's as same as this relationship: GCC - A free compiler for C C - A programming language. (Description, Specification,...) מאת: wolfgang.ma...@kabelmail.de נשלח: יום שלישי, 23 באוקטובר, 10:51 נושא: [Vala] Newbie need help אל: vala-list@gnome.org Hi all, what is the difference between valac and vala? (Compiler / Interpreter) valac -> compiler(ok) vala -> interpreter what/how/usage ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Yes, downgrade as described and it works ... Thanks a lot Von: Al Thomas astav...@yahoo.co.uk Gesendet: 08.10.2018 12:30 An: vala-list@gnome.org,wolfgang.ma...@kabelmail.de wolfgang.ma...@kabelmail.de Betreff: Re: [Vala] Newbie need help On Monday, 8 October 2018, 00:41:45 BST, wolfgang.ma...@kabelmail.de wolfgang.ma...@kabelmail.de wrote: In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54:0,/usr/include/webkitgtk-4.0/webkit2 from /home/wolfgang/Projekte/TestSqlite/application.vala.c:10:/WebKitJavascriptResult.h:28:10: fatal error: jsc/jsc.h: Datei oder Verzeichnis nicht gefunden Is this not possible? Likely something to do with:https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/1795901 ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
> On Monday, 8 October 2018, 00:41:45 BST, wolfgang.ma...@kabelmail.de wrote: > In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54:0,/usr/include/webkitgtk-4.0/webkit2 > from > /home/wolfgang/Projekte/TestSqlite/application.vala.c:10:/WebKitJavascriptResult.h:28:10: > fatal error: jsc/jsc.h: > Datei oder Verzeichnis nicht gefunden > Is this not possible? Likely something to do with: https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/1795901 ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
>Does it run on any OS (Windows, Linux?)? Yes, runs on Linux, Windows AND Mac :-) But i need to increase performance... Von: Ulink ul...@gmx.at Gesendet: 03.10.2018 12:49 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help You can use mono without recompile anything on other cpu's, including ARM/MIPS !!! I have a project for SetTopBoxes witch runs on Arm32/Mips32 with the same dll's (AnyCPU) Of course, because it's managed (byte) code, something like java vm code. Does it run on any OS (Windows, Linux?)? No, maybe I'm too stupid to do that With Geany my project (4 files) compiles/build only one vala-file :-( Put something like this to "Build - Set Build Commands- Compile": valac --pkg gtk+-3.0 *.vala -o mybinary You may/should use a makefile for bigger projects. Please PM (private email, german) me and i will send you a generic makefile. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
> You can use mono without recompile anything on other cpu's, including > ARM/MIPS !!! > I have a project for SetTopBoxes witch runs on Arm32/Mips32 with the same > dll's (AnyCPU) Of course, because it's managed (byte) code, something like java vm code. Does it run on any OS (Windows, Linux?)? > No, maybe I'm too stupid to do that > With Geany my project (4 files) compiles/build only one vala-file :-( Put something like this to "Build - Set Build Commands- Compile": valac --pkg gtk+-3.0 *.vala -o mybinary You may/should use a makefile for bigger projects. Please PM (private email, german) me and i will send you a generic makefile. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Your arguments are correct! But not with mono! You can use mono without recompile anything on other cpu's, including ARM/MIPS !!! I have a project for SetTopBoxes witch runs on Arm32/Mips32 with the same dll's (AnyCPU) >One of our apps has approx. 300kLOC That's right, it's not that small :-( >But you have already managed it? No, maybe I'm too stupid to do that With Geany my project (4 files) compiles/build only one vala-file :-( Wolfgang Von: Ulink ul...@gmx.at Gesendet: 03.10.2018 07:40 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help I wanted to try porting a bigger C# project to vala (performance/etc.) but i think this is not a good idea. Indeed, it is. As long as I have to deal with buildsystem/ctags/plugins/autocomplete/whatever and not with my actual work It just wastes my time. But you have already managed it? So thank's a lot for help, but back to monodevelop ... :-( Mind that Vala code is MUCH smaller and faster (and don't need any byte of additional library code) and Vala is constantly evolving (regardless of the nonsense E. B. babbled). Also, Vala is an official Gtk3 language binding, Gtk# is not (see https://www.gtk.org/language-bindings.php). We switched from Qt to Vala/Gtk/Glib (not the other way around!) several years ago and it was the best decision we ever made. One of our apps has approx. 300kLOC and was intended to run on PCs, but now also runs unmodified (only recompiled for ARM) perfectly on a Raspberry Pi. Please don't try this using Mono because your Raspi will detonate ;-) ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
> I wanted to try porting a bigger C# project to vala (performance/etc.) but i > think this is not a good idea. Indeed, it is. > As long as I have to deal with > buildsystem/ctags/plugins/autocomplete/whatever and not with my actual > work > It just wastes my time. But you have already managed it? > So thank's a lot for help, but back to monodevelop ... :-( Mind that Vala code is MUCH smaller and faster (and don't need any byte of additional library code) and Vala is constantly evolving (regardless of the nonsense E. B. babbled). Also, Vala is an official Gtk3 language binding, Gtk# is not (see https://www.gtk.org/language-bindings.php). We switched from Qt to Vala/Gtk/Glib (not the other way around!) several years ago and it was the best decision we ever made. One of our apps has approx. 300kLOC and was intended to run on PCs, but now also runs unmodified (only recompiled for ARM) perfectly on a Raspberry Pi. Please don't try this using Mono because your Raspi will detonate ;-) ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Just to explain what I meant, see "https://drive.google.com/open?id=12yBaHwfpfHRIiJDr0wD_LA4xTh0ADD96; I believe that too much emphasis is placed on tools and not the development of applications... That's just my opinion, but i think all (C#) developers thinks so. Wolfgang Von: wolfgang.ma...@kabelmail.de Gesendet: 02.10.2018 21:10 An: Al Thomas via vala-list lt;vala-list@gnome.orggt;,lt;vala-list@gnome.orggt; Betreff: Re: [Vala] Newbie need help I do not want to say anything bad about vala I startet at "Vala for C# Programmers" and everything looks very easy at first glance. But .. Did any of you ever look at monodevelop? Api/autocomplete/debugging/etc. everything runs out of the box... How do you get a C# developer to use vala??? C# DEVELOPERS DO NOT USE COMMANDLINE TOOLS ! [sarcasm] DO YOU HAVE A CAR WITH POWER STEERING [sarcasm] I do not even know all the parameters of the C# compiler, because I do not need to know. I must know C# and gtk-sharp api, that's the importand thing... gt; Anyone using Vala needs to understand that development model. Maybe that's why a cant use is. Von: Al Thomas via vala-list amp;lt;vala-list@gnome.orgamp;gt; Gesendet: 02.10.2018 20:36 An: amp;lt;vala-list@gnome.orgamp;gt; Betreff: Re: [Vala] Newbie need help amp;gt; On Tuesday, 2 October 2018, 19:10:29 BST, wolfgang.ma...@kabelmail.de amp;lt;wolfgang.ma...@kabelmail.deamp;gt; wrote: amp;gt; So thank's a lot for help, but back to monodevelop ... amp;gt; Wolfgang amp;gt; PS. Maybe the vala-team should think about it The 'vala-team' is anyone using Vala. It is a community driven open source project. This discussion has brought out some really useful tips from developers using Vala, but there has already been significant work in this area. For example (with a nice screenshot): https://blogs.gnome.org/chergert/2017/11/11/code-indexing-in-builder/ That was backed by work done through Google Summer of Code: https://anoopchandu.wordpress.com/2017/08/24/code-search-for-gnome-builder-final-report/ Things could always be improved and in the Vala world that means developers fixing and improving their tools with the support of the rest of us by reviewing code and maintaining projects. Anyone using Vala needs to understand that development model. Al ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list amp;lt;/wolfgang.ma...@kabelmail.deamp;gt; ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
I do not want to say anything bad about vala I startet at "Vala for C# Programmers" and everything looks very easy at first glance. But .. Did any of you ever look at monodevelop? Api/autocomplete/debugging/etc. everything runs out of the box... How do you get a C# developer to use vala??? C# DEVELOPERS DO NOT USE COMMANDLINE TOOLS ! [sarcasm] DO YOU HAVE A CAR WITH POWER STEERING [sarcasm] I do not even know all the parameters of the C# compiler, because I do not need to know. I must know C# and gtk-sharp api, that's the importand thing... > Anyone using Vala needs to understand that development model. Maybe that's why a cant use is. Von: Al Thomas via vala-list vala-list@gnome.org Gesendet: 02.10.2018 20:36 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help On Tuesday, 2 October 2018, 19:10:29 BST, wolfgang.ma...@kabelmail.de wolfgang.ma...@kabelmail.de wrote: So thank's a lot for help, but back to monodevelop ... Wolfgang PS. Maybe the vala-team should think about it The 'vala-team' is anyone using Vala. It is a community driven open source project. This discussion has brought out some really useful tips from developers using Vala, but there has already been significant work in this area. For example (with a nice screenshot): https://blogs.gnome.org/chergert/2017/11/11/code-indexing-in-builder/ That was backed by work done through Google Summer of Code: https://anoopchandu.wordpress.com/2017/08/24/code-search-for-gnome-builder-final-report/ Things could always be improved and in the Vala world that means developers fixing and improving their tools with the support of the rest of us by reviewing code and maintaining projects. Anyone using Vala needs to understand that development model. Al ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list /wolfgang.ma...@kabelmail.de ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
> On Tuesday, 2 October 2018, 19:10:29 BST, wolfgang.ma...@kabelmail.de wrote: > So thank's a lot for help, but back to monodevelop ... > Wolfgang > PS. Maybe the vala-team should think about it The 'vala-team' is anyone using Vala. It is a community driven open source project. This discussion has brought out some really useful tips from developers using Vala, but there has already been significant work in this area. For example (with a nice screenshot): https://blogs.gnome.org/chergert/2017/11/11/code-indexing-in-builder/ That was backed by work done through Google Summer of Code: https://anoopchandu.wordpress.com/2017/08/24/code-search-for-gnome-builder-final-report/ Things could always be improved and in the Vala world that means developers fixing and improving their tools with the support of the rest of us by reviewing code and maintaining projects. Anyone using Vala needs to understand that development model. Al ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Well, I've tried a lot and what's closest to what I need is (for me) a vmbox with Ubuntu 14.04.5. LTE with valama > NP, ask as much as you want. We need new Vala warriors ;-) Now i know why looking for "warriors" and not for developers ;-) I wanted to try porting a bigger C# project to vala (performance/etc.) but i think this is not a good idea. As long as I have to deal with buildsystem/ctags/plugins/autocomplete/whatever and not with my actual work It just wastes my time. So thank's a lot for help, but back to monodevelop ... Wolfgang PS. Maybe the vala-team should think about it Von: Ulink ul...@gmx.at Gesendet: 02.10.2018 19:19 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help Hi, Works! Thank's a lot!!! You are welcome. Well, as coming from C# and VS2017/Monodevelop i tryed the following: Label label = new Label("mylabel"); label. Well I expected that after the "." the list of Label Methods/Props pop up Are there some settings to do this ? Don't think so, you have to type some characters after the dot, but you get ALL textually matching functions. You can tweak it a little bit at "Edit - Preferences - Editor - Completions" (e.g. I set "Characters to type for autocompletion" to 2) but I'm afraid that's it. The "real dot thing" IMHO works for vala structs, but not for classes/namespaces. Maybe YOU want to improve Geany to give it a better autocompletion ;-) ? Do I get this right, that there is no IDE just for vala like monodevelop for C# ? I don't know any better than Geany, at least the last time I checked this (approx 2016). Anyway, I will stay with Geany because it's cute, small and fast and good enough for (for me). ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Works! Thank's a lot!!! Well, as coming from C# and VS2017/Monodevelop i tryed the following: Label label = new Label("mylabel"); label. Well I expected that after the "." the list of Label Methods/Props pop up Are there some settings to do this ? Do I get this right, that there is no IDE just for vala like monodevelop for C# ? Wolfgang Von: Ulink ul...@gmx.at Gesendet: 02.10.2018 16:13 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help Hi, I used geany/geany-plugins from git, now debugger works fine ;-) Perfect. So maybe last problem/question ;-) NP, ask as much as you want. We need new Vala warriors ;-) "autocompletion" works with vala? If, i can't get it work Primary, geany does autocompletion based on opened files. So simply open all your project vala files within Geany. Secondary, install geany tags for autocompletion: * get from http://wiki.geany.org/tags/start * unzip to ~/.config/geany/tags * restart Geany ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Hi, > I used geany/geany-plugins from git, now debugger works fine ;-) Perfect. > So maybe last problem/question ;-) NP, ask as much as you want. We need new Vala warriors ;-) > "autocompletion" works with vala? If, i can't get it work Primary, geany does autocompletion based on opened files. So simply open all your project vala files within Geany. Secondary, install geany tags for autocompletion: * get from http://wiki.geany.org/tags/start * unzip to ~/.config/geany/tags * restart Geany ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
I used geany/geany-plugins from git, now debugger works fine ;-) So maybe last problem/question ;-) "autocompletion" works with vala? If, i can't get it work Wolfgang Von: Ulink ul...@gmx.at Gesendet: 02.10.2018 12:32 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help THERE IS NO DEBUGGER - Ubuntu 18.04 Calm down man, we will survive it ;-) Witch distri do you use? Mine is Ubuntu 16.04. Tried on 18.04 recently and unfortunately you are right: there is no package geany-plugin-debugger :-( Take a look at https://askubuntu.com/questions/1068430/geany-plugin-debugger-missing-in-ubuntu-18-04 Meanwhile, you may use nemiver (sudo apt-get install nemiver) started from Geany "Build - Set Build Commands - Execute Commans - Run" using "nemiver %f" or something. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
> THERE IS NO DEBUGGER -> Ubuntu 18.04 Calm down man, we will survive it ;-) > Witch distri do you use? Mine is Ubuntu 16.04. Tried on 18.04 recently and unfortunately you are right: there is no package geany-plugin-debugger :-( Take a look at https://askubuntu.com/questions/1068430/geany-plugin-debugger-missing-in-ubuntu-18-04 Meanwhile, you may use nemiver (sudo apt-get install nemiver) started from Geany "Build - Set Build Commands - Execute Commans - Run" using "nemiver %f" or something. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
THERE IS NO DEBUGGER -> Ubuntu 18.04 Vormals nicht ausgewähltes Paket geany-plugin-ctags wird gewählt. Vorbereitung zum Entpacken von .../08-geany-plugin-ctags_1.32+dfsg-3_amd64.deb ... Entpacken von geany-plugin-ctags (1.32+dfsg-3) ... Vormals nicht ausgewähltes Paket geany-plugin-defineformat wird gewählt. Vorbereitung zum Entpacken von .../09-geany-plugin-defineformat_1.32+dfsg-3_amd64.deb ... Entpacken von geany-plugin-defineformat (1.32+dfsg-3) ... Vormals nicht ausgewähltes Paket geany-plugin-doc wird gewählt. Vorbereitung zum Entpacken von .../10-geany-plugin-doc_1.32+dfsg-3_amd64.deb ... Entpacken von geany-plugin-doc (1.32+dfsg-3) ... Vormals nicht ausgewähltes Paket geany-plugin-extrasel wird gewählt. Vorbereitung zum Entpacken von .../11-geany-plugin-extrasel_1.32+dfsg-3_amd64.deb ... Entpacken von geany-plugin-extrasel (1.32+dfsg-3) ... Witch distri do you use? Wolfgang Von: Ulink ul...@gmx.at Gesendet: 02.10.2018 09:08 An: vala-list@gnome.org Betreff: [Vala] Newbie need help I tried, but ubuntu has no debugger plugin ☹ sudo apt-get install geany geany-plugins geany-plugin-addons devhelp Restart Geany and activate it via "Tools - Plugin Manager - Debugger". For the "HighlightSelectedPlugin", which is very convenient, try this: * Download http://sourceforge.net/projects/geanyhighlightselectedword * unzip to some directory and cd to it * make * sudo cp *.so `pkg-config --variable=libdir geany`/geany * Restart Geany and activate it via "Tools - Plugin Manager - GeanyHighlightSelectedWord" ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
I tried, but ubuntu has no debugger plugin ☹ -Ursprüngliche Nachricht- Von: vala-list Im Auftrag von Ulink Gesendet: Montag, 1. Oktober 2018 08:50 An: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help Hi Wolfgang, I'm using Geany and the "Debugger" and the "GeanyHighlightSelectedWord" plugins. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Hi: Check out my project "autovala", that greatly simplifies creating the CMake and Meson files for a project. http://www.rastersoft.com/programas/autovala.html With it, you can use any text editor while keeping the advantages of an IDE for the build part. El 30/9/18 a las 21:57, Wolfgang Mauer escribió: Hi all, I'm a C# developer (MS/MONO) and like to try vala. I'm wondering there is not a really useful IDE?! Current i use Monodevelop/VS2017 to develop C# programs and debug my application. This is very comfortable for writing and debugging. I tried glade-builder and anjuta, but both are not really usable. Does that mean that vala-dvelopers must use command-line tools? (Back to the 80's ;-)) Please give me a hand if there are some useful IDE's. / Wolfgang ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list -- Nos leemos RASTER(Linux user #228804) ras...@rastersoft.com http://www.rastersoft.com ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Hi Wolfgang, I'm using Geany and the "Debugger" and the "GeanyHighlightSelectedWord" plugins. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
I find Anjuta to be usable, good for setting up projects and ok for debugging (you have to have some understanding of the Gobject structure to use it though, and "this." is "self->"). Anjuta ctags understands Vala, so go to declaration works, etc. Symbol completion is pretty good, and generally understands the context of the completion. Mostly however, I use Sublime Text with the Vala package installed (Vala and Vala-TMBundle - not sure if the second helps, but I've had it installed from way back). Install the ctags package and make sure to set up ctags to use anjuta-ctags. Here are my ctags settings: { "debug": true, "autocomplete": true, "opts" : ["-V", "--languages=Vala", "--exclude='Make*'", "--exclude='Optimized/*'", "--exclude='Debug/*'"], "command": "/usr/bin/anjuta-tags" } Mostly I set up projects using Anjuta, and then use autogen.sh with suitable CTAGS options to regenerate the project, "make" to make it and gdb for debugging. In gdb ^X^A and ^XA are very useful keystrokes for going in to/out of visual mode. My gdb settings are: set print pretty on set confirm off set height 0 set width 0 set history save on def cl if $argc == 0 tbreak +1 continue else tb $arg0 continue end end def jb if $argc == 1 tbreak $arg0 jump $arg0 end end def fatalc set environment G_DEBUG = fatal-criticals end I have found Vala/glib and associated libraries to be a highly productive development tool, better than C++ in general despite a few peculiarities. It has simpler semantics more suitable for my typical work. It does take a bit of getting used to, but I hope you'll find it worthwhile. Good Luck! On Mon, Oct 1, 2018 at 8:13 AM Wolfgang Mauer wrote: > Well, for beginner's like me, I think auto-completion is very important and > a "must" > > Wolfgang > > -Ursprüngliche Nachricht- > Von: Vivien Kraus > Gesendet: Montag, 1. Oktober 2018 00:03 > An: Wolfgang Mauer > Cc: vala-list@gnome.org > Betreff: Re: [Vala] Newbie need help > > > Wolfgang Mauer writes: > > Hello, > > > Hi all, > > I'm a C# developer (MS/MONO) and like to try vala. > > I'm wondering there is not a really useful IDE?! > > > > Current i use Monodevelop/VS2017 to develop C# programs and debug my > > application. > > This is very comfortable for writing and debugging. > > > > I tried glade-builder and anjuta, but both are not really usable. > > > > Does that mean that vala-dvelopers must use command-line tools? (Back > > to the 80's ;-)) > > I like to use a text editor, but if you want an IDE then it seems that > GNOME > builder is the way to go: https://wiki.gnome.org/Apps/Builder > > Vivien > > > > Please give me a hand if there are some useful IDE's. > > > > / > > Wolfgang > > > > ___ > > vala-list mailing list > > vala-list@gnome.org > > https://mail.gnome.org/mailman/listinfo/vala-list > > > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list > ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Wolfgang Mauer writes: Hello, > Hi all, > I'm a C# developer (MS/MONO) and like to try vala. > I'm wondering there is not a really useful IDE?! > > Current i use Monodevelop/VS2017 to develop C# programs and debug my > application. > This is very comfortable for writing and debugging. > > I tried glade-builder and anjuta, but both are not really usable. > > Does that mean that vala-dvelopers must use command-line tools? (Back to the > 80's ;-)) I like to use a text editor, but if you want an IDE then it seems that GNOME builder is the way to go: https://wiki.gnome.org/Apps/Builder Vivien > > Please give me a hand if there are some useful IDE's. > > / > Wolfgang > > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
> On Sunday, 30 September 2018, 22:57:23 BST, Wolfgang Mauer wrote: > Does that mean that vala-dvelopers must use command-line tools? (Back to the> > 80's ;-)) > Please give me a hand if there are some useful IDE's. If you want to develop for the Linux platform then use GNOME Builder. It is important to understand from the beginning that tool is geared towards Flatpak distribution. For a more cross-platform approach then VS Code with the Vala language extension. There are also Vala language servers available. For more information read: https://wiki.gnome.org/Projects/Vala/Tools There is a lot of choice. Debugging with gdb/lldb can be a bit rough so contributions in that area are welcome. All the best, Al ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie need help
Well, for beginner's like me, I think auto-completion is very important and a "must" Wolfgang -Ursprüngliche Nachricht- Von: Vivien Kraus Gesendet: Montag, 1. Oktober 2018 00:03 An: Wolfgang Mauer Cc: vala-list@gnome.org Betreff: Re: [Vala] Newbie need help Wolfgang Mauer writes: Hello, > Hi all, > I'm a C# developer (MS/MONO) and like to try vala. > I'm wondering there is not a really useful IDE?! > > Current i use Monodevelop/VS2017 to develop C# programs and debug my > application. > This is very comfortable for writing and debugging. > > I tried glade-builder and anjuta, but both are not really usable. > > Does that mean that vala-dvelopers must use command-line tools? (Back > to the 80's ;-)) I like to use a text editor, but if you want an IDE then it seems that GNOME builder is the way to go: https://wiki.gnome.org/Apps/Builder Vivien > > Please give me a hand if there are some useful IDE's. > > / > Wolfgang > > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list