How to replace the selected code section (selected by mouse selection) in the eclipse editor and replace it with the same code only in /* selected text */ through the plugin? I have already developed a plugin for creating a toolbar button. When I click on it, I need to change the text that is selected and put it in /* */ .
eclipse selected plugins replace text
Catalin adam
source share