当我使用Cmd+K转到下一个选定单词时,Eclipse会在我浏览的单词副本之前留下这些红色“游标”。 如果我然后编辑我找到的最后一个事件,Eclipse“帮助”编辑我以相同方式导航的所有事件。 这会使我目前没有看到的文件部分出现损坏,这真的很令人愤怒。
我想禁用这个“功能”,但我还不知道该怎么称呼它,所以我不知道如何找到关闭它的设置。 搜索Eclipse首选项的“发生”仅为每个编辑器插件提供了各种版本的“标记出现次数”,在未选中时不会禁用此行为。
编辑:这是一个显示我正在谈论的行为的视频: https : //youtu.be/8xeKRLyGSLg
When I use Cmd+K to go to the next occurrence of the selected word, Eclipse leaves behind these red "cursors" right before the copies of the word that I navigate through. If I then edit the last occurrence that I find, Eclipse "helpfully" edits all the occurrences that I've navigated through in the same way. This leaves corruption in parts of my file that I'm not currently looking at, which is really infuriating.
I want to disable this "feature", but I haven't got a clue what to call it, so I don't know how to find the setting that turns it off. Searching the Eclipse preferences for "occurrence" only gives various versions of "Mark Occurrences" for each editor plugin, which doesn't disable this behavior when unchecked.
EDIT: Here's a video displaying the behavior I'm talking about: https://youtu.be/8xeKRLyGSLg
最满意答案
PyDev并没有真正给出这个功能,它是LiClipse( http://www.liclipse.com/multi_edition_video.html )添加的功能。
使用Ctrl + K完成链接后,如果您不希望多版本发生,可以按ESC键删除这些链接(这样当您编辑一个实例时就不会编辑其他版本)。
我必须说这是关闭的第一个请求...我很确定,因为我只是看了一眼,并没有设置这样做 - 所以,不幸的是,直到下一个版本,你必须要么活着有了它,如果你不想要多版本发生或者使用PyDev的普通Eclipse安装,请记住按ESC,但你也没有其他LiClipse的好处,例如textmate包,垂直缩进指南,主题集成,等等
不过,请注意,理想情况下,我会说你应该习惯它,因为它可以节省时间 - 虽然我会实现设置,以便为下一个版本关闭它,因为它应该是真的在那里;)
This isn't really given by PyDev, it's a feature added by LiClipse (http://www.liclipse.com/multi_edition_video.html).
After the link is done with Ctrl+K, you can press ESC to remove those links if you don't want the multi-edition to happen (so that when you edit one occurrence you don't edit the others).
I must say this is the first request to have that turned off... I'm pretty certain as I just took a look and there's no setting to do that -- so, unfortunately, until the next release, you have to either live with it, remembering to press ESC if you don't want the multi edition to happen or use a plain Eclipse install with PyDev, but you'd also be without other LiClipse benefits, such as textmate bundles, vertical indent guides, theming integration, etc.
Still, note that ideally, I'd say you should get used to it as it can be a real time-saver -- although I'll implement the setting to turn it off for the next release anyways, as it's something that should really be there ;)
更多推荐
发布评论