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.

asked 2 years ago79 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions