You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2022/03/16 15:44:00 UTC

[jira] [Created] (NETBEANS-6477) UpToDateStatusProvider is broken for Java, Groovy, Maven hint-related tasks

Svatopluk Dedic created NETBEANS-6477:
-----------------------------------------

             Summary: UpToDateStatusProvider is broken for Java, Groovy, Maven hint-related tasks
                 Key: NETBEANS-6477
                 URL: https://issues.apache.org/jira/browse/NETBEANS-6477
             Project: NetBeans
          Issue Type: Improvement
          Components: editor - Hints &amp; Annotations, groovy - Editor, java - Hints, php - Editor, projects - Maven
            Reporter: Svatopluk Dedic


There is *UpToDateStatusProvider* that ought to report when annotations / decorations for an opened editor are being compujed.

But Java hints and CSL hints (= groovy, php, ...) do not implement this interface properly: it contains a stub, which reports "DONE" always.

Maven implementation was partially broken and I broke it completely transitioning to Parsing API, so it became the same as Java+CSL.

The general idea how to fix that is to provide some SPI / event source from Parsing API that would inform about source(s) being parsed and task(s) being applied on it. Then the Hint infrastructure could convert that to UpToDateStatusProvider that fires PENDING if there are some 'marked' tasks (i.e. by a mixin interface) before the tasks are run and fires DONE after all the tasks finish. 

// cc: [~jlahoda] 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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