Open anazar2001 opened 3 months ago
Where did you trigger the New Java File
?
You can use menu option from explorer or use a shortcut
On Wed, 14 Aug 2024, 13:42 Sheng Chen, @.***> wrote:
Where did you trigger the New Java File?
— Reply to this email directly, view it on GitHub https://github.com/redhat-developer/vscode-java/issues/3725#issuecomment-2288639225, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJXPJ2YI7LGSU2QS5R5RMLZRNGEBAVCNFSM6AAAAABLSXFHMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBYGYZTSMRSGU . You are receiving this because you authored the thread.Message ID: @.***>
New Java File -> Class/Interface option defaults file name to public class Main {.java
[provide a description of the issue]
Environment
Steps To Reproduce
[Please attach a sample project reproducing the error] Please attach logs
Current Result
Class file name includes the first class line, not just a class name
Expected Result
Expect only file name like Main.java
Additional Informations