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 /* */
.
相关问题
- React Native Inline style for multiple Text in sin
- Eclipse and Mylyn : how to disable grey files in t
- Replacing more than n consecutive values in Pandas
- Installing Pydev for Eclipse throws error
- Error in Scala Compiler: java.lang.AssertionError:
相关文章
- selenium+eclipse 打开网页时报错
- 放在input的text下文本一直出现一个/(即使还没输入任何值)是什么情况
- Call non-static methods on custom Unity Android Pl
- Eclipse failing to open
- Eclipse how can I indent C++ preprocessor macros
- Why is FindBugs ignoring my check for null?
- Eclipse cleanup - what are the “.index” files - ca
- Eclipse plugin to find out unused methods in a cla
try this snippet, that should give you enough hints to do your job: