Replace selected code from eclipse editor thru plugin comand
        Posted  
        
            by Catalin Adam
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Catalin Adam
        
        
        
        Published on 2009-08-05T13:00:18Z
        Indexed on 
            2010/04/12
            3:03 UTC
        
        
        Read the original article
        Hit count: 459
        
How do I replace the selected section of code (selected by mouse selection) in eclipse editor and replace it with the same code only in /* selected text / through a plugin? I have already designed a plugin to create a button in the toolbar. When I click it, I need it to change the text that is selected and put it into / */
© Stack Overflow or respective owner