-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Expected Behavior
Javadoc comments gets generated above all methods in the file.
Current Behavior
After trying to use "Javadoc Tools: Generate Javadoc comments for open file" nothing happens. Nothing is generated.
Steps to Reproduce
- Open VSCode
- Create and/or open your Java project
- Make sure project/file structure is as it states in the "Current file structure" header below
- Create and/or open your test class
- Create and make sure there is one or more @test annotated method(s)
- Press: Ctrl+Shift+P
- Write javadoc tools: generate javadoc comments for open file
- Press enter
Context (Environment)
OS: Windows 10
VSCode Version: 1.62.1
JDK: AdoptOpenJDK 11.0.9.101 Hotspot
Project Dependencies: JUnit 4.11 [Test scope]
Extension Id: madhavd1.javadoc-tools
Extension version: Latest from Extensions
Extension requirements: All fulfilled
Detailed Description
This issue is the same for any type of generating tool with the extension that I've tested, not just with "gen in open file". Could this be because of project/file structure?
This has been tested in a non-test class and it successfully generates comments. Therefore we can conclude it is isolated to test classes, in this case.
Current file structure:
- src ->
- main ->
- java ->
- io ->
- pewpew ->
- app
- pewpew ->
- io ->
- java ->
- test ->
- java ->
- io ->
- pewpew ->
- app
- pewpew ->
- io ->
- java ->
- main ->
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request