vala-intellij-plugin icon indicating copy to clipboard operation
vala-intellij-plugin copied to clipboard

Vala SDK Setup

Open neumann89 opened this issue 9 years ago • 7 comments

Hello, how can I set up a project correctly?

After installing JDK8, I could install this plugin (your last release version). Then I created an "Empy Project" with an empty module and added a "Vala File". But after that I have to set a directory for "Vala SDK". I installed vala in the normal way via package manager and I have binaries in /usr/bin and libraries in /usr/lib etc. Do I need to download an additional sdk or something? If I choose any directory, "/usr/lib" for example, I get an error message "Could not create Vala SDK: /usr/lib/.version ...".

A simple tutorial in your README.md would be great, thanks :)

neumann89 avatar Oct 19 '15 00:10 neumann89

To be honest I installed vala from sources so I assumed the directory structure that is present there. I did not try to use vala installed via apt. I think of you download vala sources, compile and install in into some directory on your own the plugin should work.

I agree though that the plugin should work also with vala downloaded via package manager. Something I will need to work on.

gregorej avatar Oct 27 '15 20:10 gregorej

Ok thank you. It works with downloaded vala sources and setting this as Vala SDK directory.

The next question after this is: How to compile and run the project from IntelliJ? I can compile the project, but in only copies vala files to an "out" directory. In the run configuration dialog I can only choose Java and other installed plugins. Is there already a working configuration?

neumann89 avatar Oct 27 '15 21:10 neumann89

The plugin is in the very early stage of development so compiling and running from Intellij are not supported yet.

gregorej avatar Oct 27 '15 21:10 gregorej

That is one of the potentially intriguing things about CLion support is the cmake integration...

nmelnick avatar Oct 27 '15 21:10 nmelnick

@gregorej let's do this integration with Valder at last ;)

activey avatar Oct 29 '15 09:10 activey

@activey I remember about it. I need to have some more time and also there are some fixes waiting... But you can help if you want :)

gregorej avatar Oct 29 '15 11:10 gregorej

Spare time is a very rare resource lately ;)

activey avatar Oct 29 '15 11:10 activey