You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/03/20 08:13:00 UTC

[GitHub] [netbeans] sdedic commented on pull request #2816: [NETBEANS-5430] Implemened ActionProvider.COMMAND_PRIME for gradle

sdedic commented on pull request #2816:
URL: https://github.com/apache/netbeans/pull/2816#issuecomment-803270155


   > How this one relates to #2765 ?
   
   It does not.  
   This action serves a different purpose. While it is desirable that e.g. Project is not reloaded again needlesly, or that is not marked as "having problems" then display an empty problem window (yes, happens, but I delayed investigation until after e.g. #2747 happens since it may change a lot) - this action allows external control of when the "priming" happens. IMHO there will be always a concept of 'first build'  in Gradle as it is there in Maven (or would be in Ivy), at least download necessary binary depdencies. Withoutt that step, many IDE functions are practically useless. This is a separate (reduced) action in Maven, distinct from Build and I believe it's may be special in Gradle too.
   
   Having a separate action allows an external module, like LSP to change the workflow. In this case, our LSP client user base has different workflow habits, so we are trying to satisfy them. Using this action, LSP users can be happy (priming build can initiated e.g. when a project loads) and NetBeans users can be happy too (nothing is changed). With a possibility to add Project UI core setting "Run priming build after open".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists