We don't officially support Kotlin out of the box, so it's might be worth also 
bothering the Kotlin plugin authors so they see they also have NetBeans users 
and have to support other IDEs too.

I don't believe Compile on Save for Maven projects really executes Maven as it 
would be too slow I guess. It might do something more low level which explains 
why it probably doesn't work for Kotlin projects. This might be a workaround we 
could do on NetBeans side. Please report it on JIRA and reference in it the 
Kotlin-NetBeans plugin issue you also posted.

--emi

-------- Original Message --------
On 13 February 2018 1:15 AM, Mátyás Bene <notabe...@hotmail.com> wrote:

> Dear Netbeans pros,
>
> Assuming I have a maven based KOTLIN project by following the guide here: 
> https://kotlinlang.org/docs/reference/using-maven.html and using the Kotlin 
> plugin for NB.
>
> I am wondering how to enable to Compile On Save in Netbeans 8.2 so that 
> changes in .kt files are picked up and recompiled automatically?
>
> While the FAQ http://wiki.netbeans.org/FaqCompileOnSave states that for maven 
> projects it actually executes the corresponding maven goals (phases?),  it 
> does not really seem like the kotlin-maven-plugin was called.
>
> Any ideas? Or is Netbeans filtering files that actually trigger the CoS 
> feature to those with the '.java' extension?
>
> M.

Reply via email to