GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-871

main() method added by New Wizard vs added by content assist

    Details

    • Number of attachments :
      0

      Description

      I am using STS 2.3.2.RELEASE and trying out its groovy support.

      I noticed that if I use New Wizard to create a groovy class with a main method(), it comes as

      static main(args) {
      
      }
      

      But if I create a class with a main() initially and later use content-assist (ctrl-space), then it gets added as

      public static void main(String[] args) {
      	
      }
      

      Little inconsistency, but can it be resolved?

        Issue Links

          Activity

          Andrew Eisenberg made changes -
          Field Original Value New Value
          Link This issue is superceded by GRECLIPSE-872 [ GRECLIPSE-872 ]
          Andrew Eisenberg made changes -
          Labels help-requested
          Andrew Eisenberg made changes -
          Component/s User Interface [ 13163 ]
          Andrew Eisenberg made changes -
          Priority Trivial [ 5 ] Minor [ 4 ]
          Andrew Eisenberg made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Andrew Eisenberg [ werdna ]
          Fix Version/s 2.8.0.Release [ 18618 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Andrew Eisenberg
              Reporter:
              Roshan Dawrani
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: