Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add 'compact java file' to templates #8744

Open
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)kind:featureA feature request
@homberghp

Description

@homberghp

Description

From Cay Horstmanns talk I got the idea to add a compact java template file,
so that in an onramp for students you can do

new file > compact-java-file.

This would then create a file along the line of

voidmain(){IO.print("Hello world");}

Having such a file will allow you to run it from the current version (27) of NetBeans IDE and would
nicely line up with the onramping effort in Java and keep the big 🐍 away.

SeeCay Horstmanns talk at JavaOne 2205

Use case/motivation

There are several effort to make the on-ramping of Java easier.
In the language itself, with compact java files, the new IO package, with short methods for printing etc.

Having this in the IDE as well would be a nice thing.

Related issues

Compact files work well in Java 27, in particular for starting student projects.

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)kind:featureA feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp