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

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: