#74: Add the ability for the editor to extend RDoc-style comments
-----------------------------------------+----------------------------------
         Reporter:  [EMAIL PROTECTED]  |       Owner:  zdennis
             Type:  enhancement          |      Status:  new    
         Priority:  normal               |   Milestone:         
        Component:  Editor               |     Version:         
         Severity:  normal               |    Keywords:         
Ticket_dependency:                       |  
-----------------------------------------+----------------------------------
It would be nice to have the Ruby editor extend RDoc-style comments
 automatically.

 I.e., take the following code (| is the current caret position):

 {{{
   # This is a comment, but I've run out of space on this line so|
   def moo(oink)
     squee(oink)
     return bleat(oink.magnitude)
   end
 }}}

 and when I press enter, turn it into this:

 {{{
   # This is a comment, but I've run out of space on this line so
   # |
   def moo(oink)
     squee(oink)
     return bleat(oink.magnitude)
   end
 }}}

 Eclipse does this for Java and Visual Studio this as well. It'd be nice if
 RDT did it as well.

 (Also, I've been writing documentation for the past few days and have
 gotten tired of Enter+Tab+#+Space for each new line.)

-- 
Ticket URL: <http://rubyeclipse.mktec.com/cgi-bin/trac.py/ticket/74>
RDT (RubyEclipse) <http://rubyeclipse.mktec.com>
Eclipse Ruby Plugin

Reply via email to