本文介绍了如何做多行编辑?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我想在eclipse中编辑多行,但是我找不到任何短片或插件。在Geany我只需按 + + / 我可以添加/编辑多行。 p> 也许这个例子可以解释我的意思: var text =我的名字; var addr =myaddr; var age =myage; 我想将上面的文字编辑为: var my_text =myname; var my_addr =myaddr; var my_age =myage; 上面的文本只是一个简单的例子,但有时我有很多行的字,编辑其前缀。解决方案按 + + A 到 切换块选择(在当前文本编辑器中切换块/列选择),这将允许您在eclipse中垂直写入,然后可以轻松 转到窗口 - >首选项。 查找绑定文本框被红色框包围。 I want to edit multiple lines in eclipse, but I can't find any short cut or Plugin. In Geany I just press ++/ I can add / edit multiple lines.Maybe this example can explain what I mean:var text = "myname";var addr = "myaddr";var age = "myage";I want to edit text above into:var my_text = "myname";var my_addr = "myaddr";var my_age = "myage";The text above is just a simple example, but sometimes I have many lines of words that I have to edit its prefix. 解决方案 Press + + to Toggle block selection (Toggle block / column selection in the current text editor), this will let you write vertically in eclipse, then you can easily do this.Go to Window->Preferences.Find for binding in text box surrounded by red box. 这篇关于如何做多行编辑?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-21 15:05