Why aren't code lenses appearing in my Java test files in my Cloud9 environment?

0

Hello,

I've created a Cloud9 environment which I would like to use for Java development. I have enabled the "Enhanced support for Java" features, and most of them are working.

I see that the enhanced support features are supposed to include code lenses, which according to the documentation are intended to "facilitate unit testing by allowing you to run and debug specific methods."

The "Run | Debug" popup does appear above my main() function in the src/main/java directory. It does NOT appear above the individual unit tests in my src/main/test directory, however, which means I am unable to use code lenses to run individual unit tests.

I assume there's some sort of set up I need to do to get Cloud9 to recognize my functions annotated with @Test as functions to which it should also add code lenses. I recall, for example, that Cloud9 wasn't performing any linting or autocomplete suggestions until after I ran 'mvn compile' for the first time. Please advise.

posta 2 anni fa81 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande