Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1783

Support for JEP 330: Launch Single-File Source-Code Programs

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      I've been doing Advent of code and found myself wanting to write, run and debug Single-File Source-Code Programs as defined by JEP 330. See https://openjdk.java.net/jeps/330. I think this feature could be useful to people who know Java, want good IDE support, and want to write scripts without having to resort to a different language. I also think this feature could be useful in an educational setting to quickly get students up and writing their first lines of Java without having to learn about project structure. Catering to these audiences could help with increasing the adoption of Netbeans.

      There's recently been some discussion about changing the default project type in Create new project dialog. Maybe Single-File Source-Code programs could be added there as well?

      Currently you can open and edit individual files but there is no way to run and debug them.

      Attachments

        Activity

          People

            sakeshar Sarvesh Kesharwani
            tofflos Erik
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: