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.

質問済み 2年前81ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ