Posts tagged ‘why to use’

Why to use CodeEditor in Grails Applications?

Currently, There are many perfect IDEs  (Eclipse, IDEA, NetBeans) for groovy/grails project which has code completion, code refactoring, code formatting, syntax coloring and etc. So why developers need a tool like CodeEditor plugin?

  1. It has no setup step. It is a simple grails plugin. You can install it onto any grails application.
  2. It is accessible from web. You can work with CodeEditor in almost every browser.
  3. You don’t need to forward any ports except the HTTP port.
  4. You can edit a file and execute related actions with that file. For example if it is a controller you can reload controller and change the application behavior without reloading the whole application.
  5. You don’t need to download/upload your code to change.
  6. In many production environments accessing the server directly is not possible. CodeEditor enables users to access code without granting any access rights to server.
  7. You can control whole application from CodeEditor menus including reloading and applying current changes. Executing other commands which can be configured in grails-app/services/CodeEditorActionService.groovy.
  8. CodeEditor has code completion support. You can develop your code by the help of CodeEditor code completion suggestions easily.  Currently, only groovy files has code completion support but I am planning to add gsp, javascript and xml code completion features.

In near feature I want to add go to declaration tool, code formatting and simple code refactoring support.

Advertisements

March 31, 2009 at 9:28 pm Leave a comment


My Twitter